Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!orstcs!mist!jasmerb From: jasmerb@mist.cs.orst.edu (Bryce Jasmer) Newsgroups: comp.sys.next Subject: Re: Alternate as a Meta key in emacs?? Message-ID: <16228@orstcs.CS.ORST.EDU> Date: 25 Feb 90 02:27:25 GMT References: <23460001@pnl-geo.UUCP> <1990Feb25.001112.17746@athena.mit.edu> Sender: usenet@orstcs.CS.ORST.EDU Reply-To: jasmerb@mist.CS.ORST.EDU (Bryce Jasmer) Organization: Oregon State Univ. -- Computer Science Lines: 29 In article <1990Feb25.001112.17746@athena.mit.edu> erikkay@podge.MIT.EDU (Erik Kay) writes: >> How does one configure emacs to use the Alternate key as a meta-key? >I'd appreicate some info on this as well. Also, is there a way to define >the arrow keys as: > >left: ^b >right: ^f >up: ^p >down: ^n I'm not sure I understand what you want Erik. The way that Emacs comes on a NeXT is set so that the arrow keys (ESC O A, ESC O B, ESC O C, and ESC O D) are bound to go up a line, down a line, right a character, and left a character by default. I don't think it is possible to make the arrow keys generate a ^b, ^f, ^p, or ^n. I have rebound the up and down arrow keys to do something else because I rarely reach for the arrow keys to move around (arrow keys are for wimps :-) You can do this by doing a "M-x global-set-key RET ESC O B shrink-window" or something like that (where M-x means Meta x or ESC x and RET means hitting the return key.) To do this in your .emacs file you should have a line like this: (define-key global-map "\M-OB" 'shrink-window) As for using the Alternate key for Meta, I know nothing about it. Sorry. Bryce Jasmer jasmerb@cs.orst.edu