🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87684

function-key-map is not recursive

#87684
From: Ilya Zakharevich
Date: Fri, 09 Sep 1994 23:23
25 lines
1487 bytes
In GNU Emacs 19.25.1 of Thu Jun 30 1994 on mathserv (sparc-sun-solaris2.3)

Example:
(define-key function-key-map  "\C-x\C-a1" "\C-x\C-a2")
"2"
(define-key function-key-map  "\C-x\C-a2" [left])
[left]
(read-key-sequence "") ; C-xC-a2
[left]
(read-key-sequence "") ; C-xC-a1
"2"

i would expect to get [left] as an answer.

Why this is bad? I redefine kp-7 as 7 (or is it the standard, I do not
remember), and VT100 redefined \eOw as kp-7. However, \eOw does not
work as 7, moreover, on C-h c ESC O w
it answers `kp-7 is undefined', that is not the complete truth,
since under X it recognizes the key that sends this code.

Confusion is amplified by the fact that documentation describes
function-key-map as transitive (or maybe my reading is wrong?).

Best regards,
Ilya
Technical Details
Message-ID: <199409092321.TAA28762@math.mps.ohio-state.edu>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!purdue!lerc.nasa.gov!magnus.acs.ohio-state.edu!cis.ohio-state.edu!math.ohio-state.edu!ilya

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,a11e31d1921b12fb,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-10 15:54:34 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!purdue!lerc.nasa.gov!magnus.acs.ohio-state.edu!cis.ohio-state.edu!math.ohio-state.edu!ilya
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Newsgroups: gnu.emacs.bug
Subject: function-key-map is not recursive
Date: 9 Sep 1994 19:23:18 -0400
Organization: GNUs Not Usenet
Lines: 27
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <199409092321.TAA28762@math.mps.ohio-state.edu>