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: Drew Adams
Subject: RE: defcustom :type to use for a key sequence?
Date: Tue, 20 Dec 2005 09:32:25 -0800

    > 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.

That would be very good (natural). This should be mentioned in the manual
and in the Customize UI somehow.

    > 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!

Thanks for working on this, Kim. I haven't tried it yet, but it sounds
great.





reply via email to

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