From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Customizing key bindings (was: Re: [CVS] f7, f8 bound..) Date: Wed, 11 Sep 2002 14:03:24 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200209112003.g8BK3Ot20567@wijiji.santafe.edu> References: <200208271621.g7RGLNm30516@rum.cs.yale.edu> <874rdfaytt.fsf@pot.cnuce.cnr.it> <5xvg5sh06u.fsf@kfs2.cua.dk> <20020830235528.GA13207@gnu.org> <87ofbji88u.fsf@emacswiki.org> <87sn0scb0b.fsf@emacswiki.org> <87bs7ama8g.fsf@emacswiki.org> <87fzwhiuqa.fsf@emacswiki.org> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031776566 30993 127.0.0.1 (11 Sep 2002 20:36:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2002 20:36:06 +0000 (UTC) Cc: alex@emacswiki.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17pEDV-00083b-00 for ; Wed, 11 Sep 2002 22:36:05 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17pEoZ-00064C-00 for ; Wed, 11 Sep 2002 23:14:23 +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 17pEDc-00041S-00; Wed, 11 Sep 2002 16:36:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17pE6p-0002uU-00 for emacs-devel@gnu.org; Wed, 11 Sep 2002 16:29:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17pE6h-0002sh-00 for emacs-devel@gnu.org; Wed, 11 Sep 2002 16:29:09 -0400 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17pE6h-0002sM-00; Wed, 11 Sep 2002 16:29:03 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by gnudist.gnu.org with esmtp (Exim 4.10) id 17pE6e-0004o4-00; Wed, 11 Sep 2002 16:29:01 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g8BK3x513470; Wed, 11 Sep 2002 14:03:59 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g8BK3Ot20567; Wed, 11 Sep 2002 14:03:24 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: abraham@dina.kvl.dk In-reply-to: (message from Per Abrahamsen on Wed, 11 Sep 2002 10:49:41 +0200) 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:7854 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7854 > I don't quite understand the reason for this. Can you explain? And > what is the important part -- that (defkeymap ...) expand into (progn > (defvar ...) (custom-declare-keymap ...))? An alternative would be to recognize defkeymap the same places defvar and defcustom are recognized. That is a more complex and less modular solution. It's better to make it generate defvar.