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

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

RE: map-keymap doc not clear


From: Drew Adams
Subject: RE: map-keymap doc not clear
Date: Mon, 16 Jan 2006 10:47:59 -0800

    > 1. It's not clear to me what is meant by "the event" and "its
    >    binding". Aren't we talking here about a key sequence and
    >    its binding in KEYMAP?

    The "event" is a "key" (not a key sequence: just one key).
    Its binding is either a command or another map (if the key is a prefix
    key).

1. I'm only saying that the doc is unclear to me. If you think it's clear,
leave it as is. My impression is that the doc generally speaks of, say,
`C-k' as a "key sequence" not as an "event".

FWIW - Elisp manual page "Keymap Terminology" says that "key" is short for
"key sequence", which is "a sequence of input events". In particular, "a
sequence of one event is always a key sequence".


2. I still have the question about whether FUNCTION is called for each
binding or each key sequence.





reply via email to

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