From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [CVS] f7, f8 bound.. Date: Fri, 6 Sep 2002 18:21:13 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <20020906222113.GC7270@gnu.org> References: <20020903130247.GA6318@gnu.org> <20020903173120.GA29981@gnu.org> <87ptvttnyo.fsf@emacswiki.org> <200209061736.g86HaDi00352@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 1031363982 18541 127.0.0.1 (7 Sep 2002 01:59:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Sep 2002 01:59:42 +0000 (UTC) Cc: Per Abrahamsen , 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 17nUVD-0001pj-00 for ; Sat, 07 Sep 2002 03:35:11 +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 g86MO19e028180 for ; Sat, 7 Sep 2002 00:24:01 +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 g86MO1Rb058314 for ; Sat, 7 Sep 2002 00:24:01 +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 17nS4s-0004nc-00 for ; Sat, 07 Sep 2002 00:59:50 +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 17nRWB-0001W2-00; Fri, 06 Sep 2002 18:23:59 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17nRTY-0001M0-00 for emacs-devel@gnu.org; Fri, 06 Sep 2002 18:21:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17nRTW-0001L8-00 for emacs-devel@gnu.org; Fri, 06 Sep 2002 18:21:15 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17nRTV-0001Ku-00 for emacs-devel@gnu.org; Fri, 06 Sep 2002 18:21:13 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.10) id 17nRTV-0002I1-00; Fri, 06 Sep 2002 18:21:13 -0400 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: <200209061736.g86HaDi00352@rum.cs.yale.edu> User-Agent: Mutt/1.3.28i Blat: Foop 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:7658 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7658 On Fri, Sep 06, 2002 at 01:36:13PM -0400, Stefan Monnier wrote: > > With your code, the rules are simle: If you change a keymap with > > customize, all other changes are lost. > > This doesn't have to be the case. The custom info can simply keep track of > "what the user added with custom" and "what the user removed with custom" > and custom-set-variable would simply take the current map and add/remove > the corresponding entries. So changes made outside of custom would only be > clobbered if they conflict, which I think is not too confusing and even > somewhat intuitive. I completely agree: this is the way we should do it. -Miles -- P.S. All information contained in the above letter is false, for reasons of military security.