[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting more info on a variable in Customize buffers

From: Stefan
Subject: Re: Getting more info on a variable in Customize buffers
Date: Sun, 02 Jan 2005 19:35:44 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

> - 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]