From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: customizing key definitions with Customize Date: Tue, 13 May 2008 10:59:27 -0400 Message-ID: References: <000301c8b39e$ded16a50$0200a8c0@us.oracle.com> <003701c8b438$9d6e9f20$0200a8c0@us.oracle.com> <87r6c75brc.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1210690887 31344 80.91.229.12 (13 May 2008 15:01:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2008 15:01:27 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 13 17:01:55 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 1Jvw0C-0008Tn-OX for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 17:01:17 +0200 Original-Received: from localhost ([127.0.0.1]:50291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvvzT-0007P4-SE for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 11:00:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvvzP-0007Od-Cj for emacs-devel@gnu.org; Tue, 13 May 2008 11:00:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvvzO-0007Ng-2H for emacs-devel@gnu.org; Tue, 13 May 2008 11:00:27 -0400 Original-Received: from [199.232.76.173] (port=53770 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvvzN-0007Nb-Ql for emacs-devel@gnu.org; Tue, 13 May 2008 11:00:25 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45801) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvvzN-000333-Gz for emacs-devel@gnu.org; Tue, 13 May 2008 11:00:25 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JvvyR-0005wy-MC; Tue, 13 May 2008 10:59:27 -0400 In-reply-to: <87r6c75brc.fsf@jurta.org> (message from Juri Linkov on Tue, 13 May 2008 03:03:18 +0300) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97086 Archived-At: Another alternative is to make keybindings first-class entities for Customize like faces with their `defface' definition. So customized and saved settings in a customization file would be like: (custom-set-keybindings ;; custom-set-keybindings was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(emacs-lisp-mode-map (([tab] 'lisp-indent-or-complete) ...)) ...) That looks clean and useful to me.