🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Prabhav G Morje Mon, 28 Dec 1992 07:24
Help needed: Customising Emacs
#3285
Author: Prabhav G Morje
Date: Mon, 28 Dec 1992 07:24
11 lines
875 bytes
	I am trying to modify my .emacs file to get some redefine some
keys. I succeed in redefining 'ESC j' by saying
(global-set-key "\ej" 'save-buffer)

but there are many keys which send signals like e.g. 'ESC O p'.
Everything that I have tried for such keys like "\eOp" or "\eO-p" fails.

Any pointers will be greatly appreciated.

- Prabhav
Re: Help needed: Customising Emacs
#3295
Author: Allen M. Cohen
Date: Tue, 29 Dec 1992 19:07
16 lines
1302 bytes
In article <1hma42INN17l@function.mps.ohio-state.edu> morje@function.mps.ohio-state.edu (Prabhav G Morje) writes:
>
>	I am trying to modify my .emacs file to get some redefine some
>keys. I succeed in redefining 'ESC j' by saying
>(global-set-key "\ej" 'save-buffer)
>
>but there are many keys which send signals like e.g. 'ESC O p'.
>Everything that I have tried for such keys like "\eOp" or "\eO-p" fails.
>
E.G.:  This works for me:
(global-set-key "\M-OP" 'scroll-down)
-- 
<> Allen M. Cohen -- GTE Govt Sys 31717 LaTienda Dr Westlake Vlg, Ca. 91358 <>
<> 1853 Stonesgate St.            Internet:  amc@IIPO.GTEGSC.COM            <>
<> Westlake Village, Ca. 91361    Voice: (818) 706-6869 FAX: (818) 706-5050 <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Re: Help needed: Customising Emacs
#3633
Author: Dale DePriest
Date: Mon, 11 Jan 1993 21:37
12 lines
800 bytes
The problem is you have to unset the original meaning of \eO
first.

(global-unset-key "\eO")

then (global-set-key "\eOp" 'lpr-buffer )

will work.
--
    _      _     Dale DePriest  		San Jose, California
   /`) _  //     daled@Cadence.COM		voice: (408) 428-5249
 o/_/ (_(_X_(`	 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads