From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: (define-key MAP [t] ...)
Date: Sat, 11 Jan 2003 17:39:00 -0600 (CST) [thread overview]
Message-ID: <200301112339.RAA28477@eel.dms.auburn.edu> (raw)
In-Reply-To: <Pine.LNX.3.96.1030111210442.178C-100000@acm.acm> (message from Alan Mackenzie on Sat, 11 Jan 2003 21:14:41 +0000 (GMT))
I mean the text:
`(t . BINDING)'
This specifies a "default key binding"; any event not bound by
other elements of the keymap is given BINDING as its binding.
Default bindings allow a keymap to bind all possible event types
without having to enumerate all of them. A keymap that has a
default binding completely masks any lower-precedence keymap.
in the "Format of keymaps" section. I noticed though that I made
myself a note saying: "Use [t] for `key' to specify the default
binding" in the define-key definition of my own copy of the Elisp
manual. Since I felt the need to remind myself of that using a note
and you seem confused by it, you are probably right that adding a
small sentence to that effect in the define-key documentation might be
useful.
Sincerely,
Luc.
prev parent reply other threads:[~2003-01-11 23:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-11 16:32 None Luc Teirlinck
2003-01-11 21:14 ` your mail Alan Mackenzie
2003-01-11 23:39 ` Luc Teirlinck [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301112339.RAA28477@eel.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).