GNU bug report logs -
#7803
23.1; Need better definition of vector notation in define-key
Previous Next
Reported by: <cppljevans <at> suddenlink.net>
Date: Fri, 7 Jan 2011 21:12:02 UTC
Severity: minor
Found in version 23.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
On 01/07/11 17:09, Andreas Schwab wrote:
> <cppljevans <at> suddenlink.net> writes:
>
>> however, there's no explanation of what t in `[t]' can be.
>
> It is the symbol `t'.
>
>> Also, the phrase, 'default binding', implies there's a non-default
>> binding.
>
> The term `default binding' is explained in the same paragraph.
>
Ah, so when it says:
If KEY is `[t]', this sets the default binding in KEYMAP.
it means:
If the call to define-key is of the form:
(define-key KEYMAP [T] BINDING)
then this sets the default binding in KEYMAP to BINDING.
which, I guess means when the KEY argument is *not* in the form of
a vector, then it sets the non-default binding. OOPS, wait, that
doesn't make sense to me eithe because a default and non-default
bindings would mean pressing KEY or the event represented by KEY
has at least 2 meansing.
So, the paragraph is still unclear to me.
What am I missing?
-Larry
This bug report was last modified 13 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.