bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: describe-key doesn't report keypad key names correctly


From: Stefan Monnier
Subject: Re: describe-key doesn't report keypad key names correctly
Date: 02 Jun 2001 10:24:53 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104

>>>>> "Dan" == Dan Jacobson <address@hidden> writes:
> Type C-h k kp-insert C-h k insert.
> Notice in the *Help* window it says
> "insert runs the command overwrite-mode"
> for both of them when it should say
> "kp-insert runs the command overwrite-mode" for the first one.

> This also affects describe-key-briefly and the prompt of
> global-set-key, but not view-lossage.

> OK, if view-lossage can differentiate two different keys, why can't
> the rest of emacs?  [the key labeled "insert" and the key on the
> numeric keypad labeled "0 ins".]

Wrong question.  The rest of Emacs can differentiate just fine.

        (global-set-key [kp-insert] 'foobar)


-- Stefan

PS: `kp-insert' gets turned into `insert' if there is no binding
    for `kp-insert'.  Check out `function-key-map'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]