Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!diku!pierre From: pierre@diku.dk (Christian Schytt) Newsgroups: comp.editors Subject: Re: Mapping ESC O P in gnu emacs Message-ID: <1991Apr21.121814.2303@odin.diku.dk> Date: 21 Apr 91 12:18:14 GMT References: <1991Apr3.193519.7114@novell.com> Sender: pierre@rimfaxe.diku.dk Organization: Department of Computer Science, U of Copenhagen Lines: 27 tporczyk@na.excelan.com (Tony Porczyk) writes: >I am a new gnu emacs user, and, even though I like it a lot, I am >having problems mapping some keys. How can one remap ESC O P to >'help-for-help ? I tried every possible syntax, and it didn't work. >The gnu emacs manual that I have is as helpful in writing the init >file as a punch in the nose. I have no problem defining it using M-x >[global-set-key] command - that works like a charm... What am I doing >wrong? I'm not quite sure what it is that you are doing! My suggestion is to edit the ".emacs"-file in the following way. Insert a line - (global-set-key "\M-OP" 'help-for-help) - that's all... The "\M" is for ESC - remember to write the letter "O" capitalized. -> regards Christian (pierre@freja). "it's not a bug - it's a feature..." -- -> mvh. Christian (pierre@freja). "it's not a bug - it's a feature..."