From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: [CVS] f7, f8 bound.. Date: Mon, 02 Sep 2002 19:54:39 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: 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> <200209021705.g82H50d07442@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 1030989254 26527 127.0.0.1 (2 Sep 2002 17:54:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2002 17:54:14 +0000 (UTC) Cc: Per Abrahamsen , 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 17lvOv-0006tk-00 for ; Mon, 02 Sep 2002 19:54: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 17lvxF-0004qz-00 for ; Mon, 02 Sep 2002 20:29:41 +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 17lvQR-000321-00; Mon, 02 Sep 2002 13:55:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17lvPY-00031O-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 13:54:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17lvPW-00031C-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 13:54:52 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lvPW-000317-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 13:54:50 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g82Hsl801535; Mon, 2 Sep 2002 19:54:47 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id TAA13754; Mon, 2 Sep 2002 19:54:42 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 82C413AE32; Mon, 2 Sep 2002 19:54:39 +0200 (CEST) Original-To: "Stefan Monnier" In-Reply-To: <200209021705.g82H50d07442@rum.cs.yale.edu> ("Stefan Monnier"'s message of "Mon, 02 Sep 2002 13:05:00 -0400") Original-Lines: 23 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) 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:7341 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7341 "Stefan Monnier" writes: > 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). Another approach could be to have Emacs look for keybindings in global-user-map before looking in global-map. The default value for global-user-map would be nil (or whatever the value is for an empty keymap). Then the keymap can just be set directly, and the diff-list trick is not necessary. Btw, what is the plan about the diff-list trick? It seems that Customize could be augmented to implement this, or numerous places in Emacs could be changed so that the diff-list trick is not needed: for each foo-hook, introduce another foo-user-hook variable defaulting to nil. Similar for other variables which are lists, such as load-path. kai -- A large number of young women don't trust men with beards. (BFBS Radio)