From: storm@cua.dk (Kim F. Storm)
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: defcustom :type to use for a key sequence?
Date: Tue, 20 Dec 2005 16:06:35 +0100 [thread overview]
Message-ID: <m3r7873j0k.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICEEFHDAAA.drew.adams@oracle.com> (Drew Adams's message of "Thu, 15 Dec 2005 16:51:08 -0800")
"Drew Adams" <drew.adams@oracle.com> writes:
> Obviously, I'm not real clear on `kbd'. I don't find the Elisp manual too
> helpful on that either.
True.
> If the external string (print) representation were used, as I think you
> suggest, then users would need to know the various string representations.
> That sounds like a good way to go. However, IMO, the presentation in the
> Elisp manual would need to be a bit better, if we start expecting users to
> use things like "<S-tab>" vs "S-TAB" to define bindings.
With the patch I just sent, you can customize the-key by pressing C-q
followed by the actual key chord. So if you press shift+tab, it
inserts "the right thing" whether <S-tab> or "S-TAB" is needed.
>
> Also, would the Emacs (not just Elisp) manual then also need to describe the
> string (print) representations? Maybe it's normal that only the Elisp manual
> describes key-binding syntax, but if we expect Customize users to specify
> key sequences using string (print) representations, then they will need to
> know the syntax.
They just need to know about C-q ...
> I'd like to see a good, clear description of how to specify any and all
> bindings with `kbd'.
Me too... Let's hope someone volounteers to write it!
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2005-12-20 15:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-03 19:49 defcustom :type to use for a key sequence? Drew Adams
2005-11-05 0:29 ` Drew Adams
2005-12-14 16:44 ` Drew Adams
2005-12-15 9:34 ` Kim F. Storm
2005-12-15 13:13 ` Lennart Borgman
2005-12-15 15:11 ` Kim F. Storm
2005-12-15 16:05 ` Lennart Borgman
2005-12-15 22:47 ` Kim F. Storm
2005-12-15 22:54 ` Lennart Borgman
2005-12-15 23:49 ` Kim F. Storm
2005-12-15 23:55 ` Lennart Borgman
2005-12-16 17:46 ` Richard M. Stallman
2005-12-20 14:53 ` Kim F. Storm
2005-12-21 2:58 ` Richard M. Stallman
2005-12-21 8:31 ` David Kastrup
2005-12-16 0:51 ` Drew Adams
2005-12-20 15:06 ` Kim F. Storm [this message]
2005-12-20 17:32 ` Drew Adams
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=m3r7873j0k.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=emacs-devel@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.