From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: customizing key definitions with Customize Date: Tue, 13 May 2008 21:05:33 +0200 Message-ID: <857idy2feq.fsf@lola.goethe.zz> References: <000301c8b39e$ded16a50$0200a8c0@us.oracle.com> <003701c8b438$9d6e9f20$0200a8c0@us.oracle.com> <87r6c75brc.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210805390 20199 80.91.229.12 (14 May 2008 22:49:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 22:49:50 +0000 (UTC) Cc: Juri Linkov , rms@gnu.org, Drew Adams , emacs-devel@gnu.org To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 15 00:50:24 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwPna-0000Qf-Tc for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 00:50:15 +0200 Original-Received: from localhost ([127.0.0.1]:34482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwPmr-0006Kc-Jg for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 18:49:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwPmn-0006KT-Cu for emacs-devel@gnu.org; Wed, 14 May 2008 18:49:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwPml-0006Jp-C4 for emacs-devel@gnu.org; Wed, 14 May 2008 18:49:24 -0400 Original-Received: from [199.232.76.173] (port=60818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwPml-0006Jh-1o for emacs-devel@gnu.org; Wed, 14 May 2008 18:49:23 -0400 Original-Received: from mail-in-16.arcor-online.net ([151.189.21.56]:47579) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JwPmg-0007DS-SL; Wed, 14 May 2008 18:49:19 -0400 Original-Received: from mail-in-10-z2.arcor-online.net (mail-in-10-z2.arcor-online.net [151.189.8.27]) by mail-in-16.arcor-online.net (Postfix) with ESMTP id 8FF4A1F743A; Thu, 15 May 2008 00:49:17 +0200 (CEST) Original-Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [151.189.21.56]) by mail-in-10-z2.arcor-online.net (Postfix) with ESMTP id 7344023D395; Thu, 15 May 2008 00:49:17 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-024-118.pools.arcor-ip.net [84.61.24.118]) by mail-in-16.arcor-online.net (Postfix) with ESMTP id 58033236E43; Thu, 15 May 2008 00:49:17 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 768431C3B772; Tue, 13 May 2008 21:05:33 +0200 (CEST) In-Reply-To: (David Reitter's message of "Tue, 13 May 2008 16:07:32 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/7123/Wed May 14 21:03:46 2008 on mail-in-16.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97164 Archived-At: David Reitter writes: > On 13 May 2008, at 01:03, Juri Linkov wrote: >> >> '(emacs-lisp-mode-map (([tab] 'lisp-indent-or-complete) ...)) >> ...) >> >> that will override the default bindings in the corresponding keymaps. > > ... and one presumably wouldn't just copy the value into emacs-lisp- > mode-map, but have every single binding override its corresponding > default, while inheriting the remaining defaults. Overriding is automatic by having the customized bindings appear at the front. The main question is where to store the customized value and how to make it appear at the front of the mode map once it gets loaded. I think we have a customization type "hook" which might provide reasonable implementation ideas. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum