From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: [CVS] f7, f8 bound.. Date: Mon, 02 Sep 2002 13:05:00 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200209021705.g82H50d07442@rum.cs.yale.edu> 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> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030986314 18843 127.0.0.1 (2 Sep 2002 17:05:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2002 17:05:14 +0000 (UTC) Cc: 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 17ludV-0004tn-00 for ; Mon, 02 Sep 2002 19:05:13 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17lvBo-0003hd-00 for ; Mon, 02 Sep 2002 19:40:40 +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 17luf1-0006tz-00; Mon, 02 Sep 2002 13:06:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17ludO-0006h3-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 13:05:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17ludM-0006gW-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 13:05:05 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17ludM-0006gS-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 13:05:04 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g82H50d07442; Mon, 2 Sep 2002 13:05:00 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Per Abrahamsen 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:7337 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7337 > Per Abrahamsen writes: > > > It already handles all global bindings. Just type [ins] and add a new > > binding. > > Oops, no, it doesn't, as pressing [del] will not undo the binding. I think we really want something like (defcustom global-map "blabla" :get 'custom-keymap-to-alist :set 'custom-update-keymap-from-alist) I think it's important that the defcustom declares `global-map' rather than some new pseudo variable. And most likely, it'll be important to do the diff-list kind of trick so that users can enter (and save) additions and removals rather than editing/saving the whole keymap which will quickly lead to undesired effects when upgrading (where the user won't ses the new bindings). Stefan