From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Getting more info on a variable in Customize buffers Date: Tue, 04 Jan 2005 15:39:44 -0500 Message-ID: <871xd1kk9t.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104871240 32477 80.91.229.6 (4 Jan 2005 20:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2005 20:40:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 21:40:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ClvTb-0006eg-00 for ; Tue, 04 Jan 2005 21:40:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Clveo-000244-UT for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2005 15:51:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ClveY-00023r-1G for emacs-devel@gnu.org; Tue, 04 Jan 2005 15:51:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ClveX-00023R-7p for emacs-devel@gnu.org; Tue, 04 Jan 2005 15:51:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClveW-00023N-VD for emacs-devel@gnu.org; Tue, 04 Jan 2005 15:51:41 -0500 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ClvSz-0006tq-IW; Tue, 04 Jan 2005 15:39:45 -0500 Original-Received: from alfajor ([67.71.119.166]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050104203945.XLXG19622.tomts10-srv.bellnexxia.net@alfajor>; Tue, 4 Jan 2005 15:39:45 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 7B8C9D731F; Tue, 4 Jan 2005 15:39:44 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 04 Jan 2005 14:54:47 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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: main.gmane.org gmane.emacs.devel:31841 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31841 > (defkeymap foo-map > '((X1 Y1) > (X2 Y2) > (X3 Y3) > (X4 Y4))) > with some additional options like :inherit and :suppress. What it does > w.r.t Custom can then be adjusted as you please and improved over time. > defkeymap appears to be just an abbreviation. You could argue for > it as an abbreviation, but I don't see how it would have any effect > on what we can or can't easily do with Customize. > How would replacing the defvar with defkeymap affect Custom's handling > of this? There are two benefits: 1 - abbreviation, as well as a more declarative code. 2 - future updates to the definition of `defkeymap', for example to record all the keymaps defined, or to use the future keymap-support for Custom, or to make it easier for the user to define a binding in her .emacs for a keymap which will be loaded later, ... -- Stefan