unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Drew Adams <drew.adams@oracle.com>, Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: defcustom :type to use for a key sequence?
Date: Thu, 15 Dec 2005 23:54:16 +0100	[thread overview]
Message-ID: <43A1F418.7050002@student.lu.se> (raw)
In-Reply-To: <m3wti6hta4.fsf@kfs-l.imdomain.dk>

Kim F. Storm wrote:

>Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
>
>  
>
>>Kim F. Storm wrote:
>>
>>    
>>
>>>Lennart Borgman <lennart.borgman.073@student.lu.se> 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	other threads:[~2005-12-15 22:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DNEMKBNJBGPAOPIJOOICIEGFCOAA.drew.adams@oracle.com>
2005-12-14 16:44 ` defcustom :type to use for a key sequence? 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43A1F418.7050002@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=drew.adams@oracle.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).