From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: [CVS] f7, f8 bound.. Date: Fri, 06 Sep 2002 12:07:51 +0200 Organization: The Church of Emacs Sender: emacs-devel-admin@gnu.org Message-ID: References: <87ofbji88u.fsf@emacswiki.org> <200209021705.g82H50d07442@rum.cs.yale.edu> <200209022324.g82NOoO08761@rum.cs.yale.edu> <20020903130247.GA6318@gnu.org> <20020903173120.GA29981@gnu.org> <87ptvttnyo.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 1031306913 25687 127.0.0.1 (6 Sep 2002 10:08:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2002 10:08:33 +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 17nG2S-0006gA-00 for ; Fri, 06 Sep 2002 12:08:32 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17nGcZ-00044C-00 for ; Fri, 06 Sep 2002 12:45:51 +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 17nG46-0003Nd-00; Fri, 06 Sep 2002 06:10:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17nG1x-00039A-00 for emacs-devel@gnu.org; Fri, 06 Sep 2002 06:08:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17nG1v-00038G-00 for emacs-devel@gnu.org; Fri, 06 Sep 2002 06:08:00 -0400 Original-Received: from sheridan.dina.kvl.dk ([130.225.40.227]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17nG1r-00037g-00; Fri, 06 Sep 2002 06:07:55 -0400 Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA25060; Fri, 6 Sep 2002 12:07:54 +0200 Original-Received: (from abraham@localhost) by zuse.dina.kvl.dk (8.9.3+Sun/8.9.3) id MAA03319; Fri, 6 Sep 2002 12:07:51 +0200 (MEST) X-Authentication-Warning: zuse.dina.kvl.dk: abraham set sender to abraham@dina.kvl.dk using -f Original-To: Miles Bader X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: (Miles Bader's message of "06 Sep 2002 10:16:35 +0900") Original-Lines: 29 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) 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:7612 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7612 Miles Bader writes: > Per Abrahamsen writes: > >> With your code, the rules are simle: If you change a keymap with >> customize, all other changes are lost. With such a simple rule, the >> rest of the world can comply. > > That's obviously a simple rule, but it's also silly and bad; if that's > what the current code does, then it's not usable. Why "not usable"? It seems a lot better than what we have now, which is nothing. Well, it is not usable for the global map, too many packages write to that, but packages writing directly to mode maps aren't that common. For the global map, maybe we can get dispensation to use two keymaps. > Your two variable solution has a similar problem, BTW -- if > e.g. `custom-global-map' overrides `global-map', and someone has bound a > key via custom, and tries to re-bind it using `M-x global-set-key' -- > then his new binding will be effectively ignored! True, I haven't though of using non-customize functions interactively. They would have had to be modified in order to make the two keymap solution a 100% solution. I believe there are very few of those commands. This is similar to how Stefan made the global minor mode function customize aware.