🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2126

Re: IMPOSSIBLE hacks? or just very hard to do?

#2126
From: Peter Dalg}rd
Date: Mon, 11 Jan 1993 20:55
21 lines
1666 bytes
In <DSG.93Jan11105310@blackbird.mitre.org> dsg@blackbird.mitre.org (David S. Goldberg) writes:

>Maybe that's OK in your environment, but maybe it's not.  The ESC for
>Meta hack is great because alot of terminals don't have a Meta key and
>so it's convenient to sort of equate an ESC prefix with the Meta key.
>But they aren't exactly the same - if you build epoch with the
>EIGHTBIT_KEYBOARD defined, you lose key definitions defined as "M-",
>but using "\e" as a prefix works fine.  I don't know (and have no way
>of checking) if that is only an epoch issue, though.

Curious coincidence. Earlier today I had to do a replace-string of \M-
to \e in some contributed .el files. The reason was that I had 
meta-prefix-char set to C-] so that I could remap e.g. oslash (M-x) to 
meta-self-insert-char without touching ESC x (this is part of a local
hack of latin1-mode, but I hope you get the idea), so now M-x means "oslash
or C-] x", which I definitely don't want. I think that for this kind of
reason, it is preferable to use the \e notation. Most but not all files
in $EMACSHOME/lisp do that (gdb.el doesn't, e.g.), so one might get the
idea that someone else has thought the same before.

	Peter Dalgaard
Technical Details
Message-ID: <1993Jan11.205511.9962@uts.uni-c.dk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!uts!kubipdal
References: <KPC.93Jan9095536@zog.arc.nasa.gov> <DSG.93Jan11105310@blackbird.mitre.org>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!uts!kubipdal
From: kubipdal@uts.uni-c.dk (Peter Dalg}rd)
Subject: Re: IMPOSSIBLE hacks? or just very hard to do?
Organization: UNI-C, Danish Computing Centre for Research and Education
Date: Mon, 11 Jan 1993 20:55:11 GMT
Message-ID: <1993Jan11.205511.9962@uts.uni-c.dk>
References: <KPC.93Jan9095536@zog.arc.nasa.gov> <DSG.93Jan11105310@blackbird.mitre.org>
Lines: 21