From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b3df91c5d77c33bb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-31 11:29:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Emacs Language Sensitive Editing Date: 31 Oct 2001 14:00:41 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <9rodvs$2kh$1@infosun2.rus.uni-stuttgart.de> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1004554913 5828 128.183.220.71 (31 Oct 2001 19:01:52 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 31 Oct 2001 19:01:52 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:15499 Date: 2001-10-31T19:01:52+00:00 List-Id: Peter Hermann writes: > unfortunately, I never familiarized with emacs > in spite of a number of initial attempts: > The major obstacle are those unspeakable special keystroke sequences > which I can not map on my different keyboard brands (PC, DEC, SGI, Sun). Actually, the default Emacs keystrokes only require the control key and the ASCII keys. They were specifically designed to not require modification on _any_ system; they work over telnet, for example. However, most people prefer to use the "meta" or "alt" keystrokes, instead of the equivalent control keystrokes, because they require fewer motions. If you do that, you do have to learn how to configure your computer to generate the keycodes Emacs expects when you hit a key. Sometimes you can do this within Emacs, sometimes you must use OS or Windowing system commands. I have a complete set of function key bindings that I carry with me to each machine that I use Emacs on. It can take a couple hours to figure out how to adapt it to the new keyboard/Windowing/OS. Then I'm up and running, with nothing more to learn. You can see my Emacs setup at http://users.erols.com/leakstan/Stephe/emacs/index.html . But most of the time I'm using my Windows PC on my desk, with an X window open on another system, running Emacs there. So the keyboard handling is always the same; makes it easier. When I actually have to type on a Sun keyboard, my fingers get confused! I long for the day when all computers will have infrared interfaces to keyboards, and I can carry mine around with me :). > I wonder how people are using their specific keyboards. (e.g. where > is "The Meta Key", where the ESC, gold, etc. etc.) Advice is > welcome. The easiest way to find out what keycodes each key emits is to start Emacs, hit the key, and then hit C-h l. This shows the last hundred or so keystrokes, in terms that Emacs understands. You can also use C-h k to see the definition of a particular key. -- -- Stephe