🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8227

Re: MicroEMACS

#8227
From: Larry A. Shurr
Date: Thu, 05 Jan 1989 18:33
47 lines
3119 bytes
In article <14312@srcsip.UUCP> rogers@orion.UUCP (Brynn Rogers) writes:
>I have downloaded MicroEMACS ver 3.9 from the simtel archive,
>but It makes me hit ESC then X for M-X.  
>I would much rather hit the ALT and X at the same time, like on unix
>(on a SUN the LEFT and RIGHT keys are the same as the ALT key)

>If someone can tell me how to fix the alt key or tell me of a better
>emacs for IBM PC compatables, I would greatly appriciate it.

Personally, I think that MicroEMACS is the best PC emacs (among the
freebies, at least - I have never even tried any of the pay-for PC
emacses (emacsi?), one of these MAY be better - they had better be
at those prices).  NOTE: by way of disclaimer, waiver, and cowardice 
in the face of an overwhelming flame threat, I want to say that I 
regard editor preference as a personal matter and that there is no 
need for us to agree on this issue or for one or the other of us to 
be 'right' and the other 'wrong'.  If anyone out there has anything 
useful or helpful to say, by all means, please send mail.  I will not,
however, debate the issue and all flames will be sent down the cloaca. 

To accomplish something similar to what you want, I have simply used a 
series of "bind-to-key" commands in my emacs.rc file.  For example, to 
bind ALT-X to behave the same as Meta-X, I use the command "bind-to-key 
execute-named-command FN-" in emacs.rc.  Similarly, I bind ALT-O to 
behave the same as Meta-O using "bind-to-key next-window FN^X".

The FN notation is regrettably rather cumbersome.  I find out what FN
to use by binding the key interactively first since emacs displays the
complete command including the appropriate FN code.  Sometimes the
result is a non-keyboard character such as an "a-umlaut".  For these,
you have to look up the decimal code for that character and then press-
and-hold ALT while you enter the code as three decimal digits USING THE
NUMERIC KEYPAD KEYS when you enter the bind-to-key command into your
emacs.rc file using your editor (MicroEMACS, of course).

This is NOT a generalized solution in which all ALT-<key> combinations
are automatically interpreted as Meta-<key>.  To accomplish that, you
would have to modify the keyboard input routine.  I was considering
doing this, but I found that the "bind-to-key approach" was adequate
for my purposes.

regards, Larry
-- 
Signed: Larry A. Shurr (att!cbnews!cbema!shurr or osu-cis!apr!las)
Notice: 'R'eply probably won't reach me - try above addresses, OK?  Thanks.
Clever signature, Wonderful wit, Outdo the others, Be a big hit! - Burma Shave
(With apologies to the real thing.  Above represents my views only.)
Technical Details
Message-ID: <2907@cbnews.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!nrl-cmf!ukma!tut.cis.ohio-state.edu!osu-cis!att!cbnews!shurr
References: <14312@srcsip.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!nrl-cmf!ukma!tut.cis.ohio-state.edu!osu-cis!att!cbnews!shurr
From: shurr@cbnews.ATT.COM (Larry A. Shurr)
Newsgroups: comp.emacs
Subject: Re: MicroEMACS
Message-ID: <2907@cbnews.ATT.COM>
Date: 5 Jan 89 18:33:27 GMT
References: <14312@srcsip.UUCP>
Reply-To: shurr@cbnews.ATT.COM (Larry A. Shurr)
Organization: AT&T Bell Laboratories (actually an AGS consultant)
Lines: 47