From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: Getting more info on a variable in Customize buffers Date: Sun, 02 Jan 2005 19:35:44 -0500 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104712652 17617 80.91.229.6 (3 Jan 2005 00:37:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2005 00:37:32 +0000 (UTC) Cc: Reiner Steib , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 03 01:37:20 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 1ClGDo-0001Oe-00 for ; Mon, 03 Jan 2005 01:37:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClGOw-0002G3-4l for ged-emacs-devel@m.gmane.org; Sun, 02 Jan 2005 19:48:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ClGOl-0002Ff-Ez for emacs-devel@gnu.org; Sun, 02 Jan 2005 19:48:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ClGOj-0002Eh-OA for emacs-devel@gnu.org; Sun, 02 Jan 2005 19:48:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClGOj-0002Ee-LB for emacs-devel@gnu.org; Sun, 02 Jan 2005 19:48:37 -0500 Original-Received: from [206.47.199.165] (helo=simmts7-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ClGCH-0001Nk-IU for emacs-devel@gnu.org; Sun, 02 Jan 2005 19:35:45 -0500 Original-Received: from empanada.home ([67.71.119.166]) by simmts7-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050103003545.BNJD1621.simmts7-srv.bellnexxia.net@empanada.home>; Sun, 2 Jan 2005 19:35:45 -0500 Original-Received: by empanada.home (Postfix, from userid 502) id E6B2F3CD46C; Sun, 2 Jan 2005 19:35:44 -0500 (EST) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Sun, 2 Jan 2005 15:52:53 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) 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:31710 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31710 > - You need to load `cus-edit.el' to see this variable (not a > great problem, but it would be good to have it autoloaded). Most variables are only visible once the corresponding package is loaded. That's normal. > What about 1) having click-a-name-to-toggle-its-display-type, as I just > mentioned, and 2) display a message in the echo area when you do this, > saying that you can use `custom-unlispify-tag-names' to set the custom > display type globally. Finding this (oddly named) option would then be > fairly easy and common. The problem is that custom's "variables" aren't the same as Elisp variables. They look very much alike, and they usually are exactly the same, but that's not always the case. The :get, :set, and :init thingies allow you to define a custom setting "foo-bar" which controls "toto" rather than the variable "foo-bar". If you care about the variable names, I recommend you just skip custom altogether and write elisp code in your .emacs. It'll be cleaner and easier to understand. Stefan