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: Lennart Borgman
Subject: Re: defcustom :type to use for a key sequence?
Date: Thu, 15 Dec 2005 23:54:16 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Kim F. Storm wrote:

Lennart Borgman <address@hidden> writes:

Kim F. Storm wrote:

Lennart Borgman <address@hidden> writes:



IMO a sexp is better since it is more flexible.
Really? Can you please be more specific.
What type of event cannot be expressed via the kbd macro?


I do not know. That was not what I meant. I just meant that a string
can be entered like for example "\C-g" when you use :type 'sexp.

With my suggestion, you just write C-g -- much simpler and equally flexible.

A user must know a lot about internal representation -- with my suggestion,
he just has to do C-h c to learn how to write the keys he's interested in
and copy the output directly to the field.
I am beginning to see you point now ;-) -- yes, it is nice. Though the doc string for kbd should maybe tell that the output from C-h c is compatible with it?




reply via email to

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