home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / emacs / help / 5320 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.6 KB  |  32 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!mcsun!sunic!uts!kubipdal
  3. From: kubipdal@uts.uni-c.dk (Peter Dalg}rd)
  4. Subject: Re: IMPOSSIBLE hacks? or just very hard to do?
  5. Organization: UNI-C, Danish Computing Centre for Research and Education
  6. Date: Mon, 11 Jan 1993 20:55:11 GMT
  7. Message-ID: <1993Jan11.205511.9962@uts.uni-c.dk>
  8. References: <KPC.93Jan9095536@zog.arc.nasa.gov> <DSG.93Jan11105310@blackbird.mitre.org>
  9. Lines: 21
  10.  
  11. In <DSG.93Jan11105310@blackbird.mitre.org> dsg@blackbird.mitre.org (David S. Goldberg) writes:
  12.  
  13. >Maybe that's OK in your environment, but maybe it's not.  The ESC for
  14. >Meta hack is great because alot of terminals don't have a Meta key and
  15. >so it's convenient to sort of equate an ESC prefix with the Meta key.
  16. >But they aren't exactly the same - if you build epoch with the
  17. >EIGHTBIT_KEYBOARD defined, you lose key definitions defined as "M-",
  18. >but using "\e" as a prefix works fine.  I don't know (and have no way
  19. >of checking) if that is only an epoch issue, though.
  20.  
  21. Curious coincidence. Earlier today I had to do a replace-string of \M-
  22. to \e in some contributed .el files. The reason was that I had 
  23. meta-prefix-char set to C-] so that I could remap e.g. oslash (M-x) to 
  24. meta-self-insert-char without touching ESC x (this is part of a local
  25. hack of latin1-mode, but I hope you get the idea), so now M-x means "oslash
  26. or C-] x", which I definitely don't want. I think that for this kind of
  27. reason, it is preferable to use the \e notation. Most but not all files
  28. in $EMACSHOME/lisp do that (gdb.el doesn't, e.g.), so one might get the
  29. idea that someone else has thought the same before.
  30.  
  31.     Peter Dalgaard
  32.