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

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

bug#7803: 23.1; Need better definition of vector notation in define-key


From: Larry Evans
Subject: bug#7803: 23.1; Need better definition of vector notation in define-key
Date: Fri, 07 Jan 2011 18:47:28 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6

On 01/07/11 17:09, Andreas Schwab wrote:
> <cppljevans@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






reply via email to

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