emacs-devel
[Top][All Lists]
Advanced

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

Re: defcustom :type to use for a key sequence?


From: Kim F. Storm
Subject: Re: defcustom :type to use for a key sequence?
Date: Tue, 20 Dec 2005 16:06:35 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <address@hidden> 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 <address@hidden> http://www.cua.dk





reply via email to

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