🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189675

binding keys in .emacs

#189675
From: gaston
Date: Sun, 09 Dec 1990 05:56
23 lines
1483 bytes
This is really wierd.

I have the following in my .emacs file:

(define-key esc-map "OA" 'kill-line)
(define-key esc-map "OB" 'newline-and-indent)
(define-key esc-map "OC" 'universial-argument)
(define-key esc-map "OD" 'help-command)

Its an attempt to fix a problem with my terminal. Anyway, after
gnu-emacs comes up, everything else I have in my .emacs worked fine, but
these key bindings got lost somewhere. 

So I stripped down my .emacs file to just these four lines. Still no 
luck. I did find out, however, that if I evaluate these lines 
once inside emacs, the bindings take effect just fine. Also, if
I "load-file .emacs" once inside, the bindings will also now be there.

Is there something happining after .emacs is loaded that erases these 
bindings? I have other bindings in my .emacs which work fine.

[GASTON]
Technical Details
Message-ID: <1990Dec9.005608.42@drycas.club.cc.cmu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!usc!rutgers!rochester!pt.cs.cmu.edu!drycas.club.cc.cmu.edu!gaston

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,8357e38831273317,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-12-08 21:56:08 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!usc!rutgers!rochester!pt.cs.cmu.edu!drycas.club.cc.cmu.edu!gaston
From: gaston@drycas.club.cc.cmu.edu
Newsgroups: gnu.emacs.help
Subject: binding keys in .emacs
Message-ID: <1990Dec9.005608.42@drycas.club.cc.cmu.edu>
Date: 9 Dec 90 05:56:08 GMT
Organization: Computer Club, Carnegie-Mellon University
Lines: 23
Posted: Sun Dec  9 06:56:08 1990