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: Thu, 15 Dec 2005 23:47:31 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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