From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Customizing key bindings (was: Re: [CVS] f7, f8 bound..) Date: 07 Sep 2002 00:30:53 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xit1i699e.fsf@kfs2.cua.dk> References: <200208271621.g7RGLNm30516@rum.cs.yale.edu> <5xhehfe3aj.fsf@kfs2.cua.dk> <874rdfaytt.fsf@pot.cnuce.cnr.it> <5xvg5sh06u.fsf@kfs2.cua.dk> <20020830235528.GA13207@gnu.org> <87ofbji88u.fsf@emacswiki.org> <87sn0scb0b.fsf@emacswiki.org> <87bs7er99v.fsf@emacswiki.org> <877ki2r8nr.fsf@emacswiki.org> <87y9aipop2.fsf@emacswiki.org> <200209041511.g84FBMi19168@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031349233 16383 127.0.0.1 (6 Sep 2002 21:53:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2002 21:53:53 +0000 (UTC) Cc: abraham@dina.kvl.dk, monnier+gnu/emacs@rum.cs.yale.edu, alex@emacswiki.org, emacs-devel@gnu.org Return-path: Original-Received: from hermes.netfonds.no ([80.91.224.195]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17nR0j-0003Jz-01 for ; Fri, 06 Sep 2002 23:51:48 +0200 Original-Received: from mail-relay.eunet.no (mail-relay.eunet.no [193.71.71.242]) by hermes.netfonds.no (8.12.1/8.12.1) with ESMTP id g86LWH9e001126 for ; Fri, 6 Sep 2002 23:32:17 +0200 (CEST) Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by mail-relay.eunet.no (8.12.2/8.12.2/GN) with ESMTP id g86LWHRb047935 for ; Fri, 6 Sep 2002 23:32:17 +0200 (CEST) (envelope-from emacs-devel-admin@gnu.org) Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17nRGn-0003WT-00 for ; Sat, 07 Sep 2002 00:08:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17nQi3-0006yI-00; Fri, 06 Sep 2002 17:32:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17nQgg-0006vG-00 for emacs-devel@gnu.org; Fri, 06 Sep 2002 17:30:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17nQge-0006uw-00 for emacs-devel@gnu.org; Fri, 06 Sep 2002 17:30:46 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17nQge-0006uS-00; Fri, 06 Sep 2002 17:30:44 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id A57DE7C013; Fri, 6 Sep 2002 21:30:35 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7638 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7638 Richard Stallman writes: > It would probably make more sense to use the read-kbd-macro > format though, as that is what the code use internally, and that is > what it saves to to .emacs. > > That would be inconsistent with define-key, so I don't want to do that. I agree. The natural format for the key bindings is what is accepted by define-key. However, (kbd "...") should be accepted too, and probably be the default format [as it is easier to write than a string or vector] for the format used in the Customization of the binding. -- Kim F. Storm http://www.cua.dk