From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: customizing key definitions with Customize Date: Sun, 11 May 2008 16:19:44 -0700 Message-ID: <001601c8b3bd$7fb4df10$0200a8c0@us.oracle.com> References: <000301c8b39e$ded16a50$0200a8c0@us.oracle.com><48276D10.6070701@gmail.com><001201c8b3b6$5aa2af10$0200a8c0@us.oracle.com><482775D8.20704@gmail.com><001501c8b3bb$0e33c830$0200a8c0@us.oracle.com> <48277CB7.9080003@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210548016 30960 80.91.229.12 (11 May 2008 23:20:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2008 23:20:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Lennart Borgman \(gmail\)'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 12 01:20:52 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 1JvKqX-0004IQ-A1 for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 01:20:49 +0200 Original-Received: from localhost ([127.0.0.1]:51159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvKpo-000275-Fa for ged-emacs-devel@m.gmane.org; Sun, 11 May 2008 19:20:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvKpk-00026n-24 for emacs-devel@gnu.org; Sun, 11 May 2008 19:20:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvKph-00026b-KT for emacs-devel@gnu.org; Sun, 11 May 2008 19:19:58 -0400 Original-Received: from [199.232.76.173] (port=45575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvKph-00026Y-Du for emacs-devel@gnu.org; Sun, 11 May 2008 19:19:57 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:33644) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JvKph-0004g0-35 for emacs-devel@gnu.org; Sun, 11 May 2008 19:19:57 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m4BNJr2r023925; Sun, 11 May 2008 17:19:54 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m4BJrjO3010494; Sun, 11 May 2008 17:19:53 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3669909191210547985; Sun, 11 May 2008 16:19:45 -0700 Original-Received: from dradamslap1 (/24.5.171.3) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 May 2008 16:19:45 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48277CB7.9080003@gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AcizvKfFH4M19IjAT66jvzHzVPZ27wAAE4xg X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:96993 Archived-At: > >> Some more bits are needed of course to make it useful: > >> adding, disabling etc. > > > > If you mean adding and deleting key definitions (bindings), > > then that is already there - you just click INS or DEL, > > as usual. If you mean something else, what? > > Yes, you are right, INS and DEL are already there. > > I also thought that it might be good to be able to disable a single > keybinding. Otherwise one would have to revert all the keybindings to > find out what the default was for that binding. > > But I think this last point need some more thought. If the option being customized is a set (`repeat') of key definitions (bindings), then that is the unit of reverting, IIUC. Only the object of customization can be reverted to its default value, just as only that object can be set or saved. Pieces of the object are not individually subject to these operations. To be able to set, save, or revert a single key description, it would need to have its own defcustom. AFAIK.