From: Larry Evans <cppljevans@suddenlink.net>
To: bug-gnu-emacs@gnu.org
Subject: bug#7803: 23.1; Need better definition of vector notation in define-key
Date: Fri, 07 Jan 2011 18:47:28 -0600 [thread overview]
Message-ID: <ig8c71$9gc$1@dough.gmane.org> (raw)
In-Reply-To: <m2tyhk9uqi.fsf@igel.home>
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
next prev parent reply other threads:[~2011-01-08 0:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 21:12 bug#7803: 23.1; Need better definition of vector notation in define-key cppljevans
2011-01-07 23:09 ` Andreas Schwab
2011-01-08 0:47 ` Larry Evans [this message]
2011-01-08 1:50 ` Glenn Morris
2011-01-08 3:08 ` Larry Evans
2011-01-10 23:34 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ig8c71$9gc$1@dough.gmane.org' \
--to=cppljevans@suddenlink.net \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.