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: Richard M. Stallman
Subject: Re: map-keymap doc not clear
Date: Mon, 16 Jan 2006 22:25:53 -0500

    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?

A single keymap has bindings for single events.
The way a key sequence is bound is that each event leads
you to another one.

    2. Is FUNCTION really called once for each binding in KEYMAP, or is it
    called once for each key sequence in KEYMAP?

Once for each binding.

Does this replacement make it clear?

       doc: /* Call FUNCTION once for each binding in KEYMAP.
FUNCTION is called with two arguments: the event that is bound, and
the definition it is bound to.




reply via email to

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