From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: defcustom :type to use for a key sequence? Date: Thu, 15 Dec 2005 23:54:16 +0100 Message-ID: <43A1F418.7050002@student.lu.se> References: <43A16BDF.6020608@student.lu.se> <43A1943C.804@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134687569 1388 80.91.229.2 (15 Dec 2005 22:59:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 22:59:29 +0000 (UTC) Cc: Drew Adams , Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 23:59:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1En21v-0000vh-IH for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2005 23:56:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1En22a-0003CI-Ar for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2005 17:57:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1En20G-0002P8-8X for emacs-devel@gnu.org; Thu, 15 Dec 2005 17:55:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1En20A-0002Nr-Dc for emacs-devel@gnu.org; Thu, 15 Dec 2005 17:55:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1En20A-0002Ni-AO for emacs-devel@gnu.org; Thu, 15 Dec 2005 17:55:06 -0500 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1En22T-0006zW-VH for emacs-devel@gnu.org; Thu, 15 Dec 2005 17:57:30 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.069.1) id 43A1777B00027467; Thu, 15 Dec 2005 23:54:16 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: "Kim F. Storm" In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47827 Archived-At: Kim F. Storm wrote: >Lennart Borgman writes: > > > >>Kim F. Storm wrote: >> >> >> >>>Lennart Borgman 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?