Post by Ben BacarissePost by M. R.P.I am wanting to learn how to change variables in emacs for
customizing but where and how do I see a list of variables that can
be changed? Where is their a list of variables?
There a great deal of them -- far too many for any list to make much
sense.
And there are two types -- those whose values can be changed via the
customize interface, and those that can't. The latter often work at
a lower level and I try to avoid fiddling with them unless it's the
only way to get what I want.
You can change customizable variables outside the interface provided,
but the customize interface gives you access to some helpful hints
and some extra documentation.
I also find the Customize facility useful for getting overview
of variables related to a specific package or function, but
I still prefer a readable (and occasionally commented) ~/.emacs
file over an autogenerated list of customized (key . value) pairs.
At some point, its "overview function," however, was affected
by the code being changed to only show variable values when
explicitly requested by the user; like, e. g.:
Show Value Sql Postgres Program
Command to start psql by Postgres. More
Versus the former:
Hide Sql Postgres Program: psql
[ State ]: STANDARD.
Command to start psql by Postgres. More
Which I've fixed with the following code run from my ~/.emacs:
;;; cus-edit: Tools for customizing Emacs and Lisp packages
(eval-after-load 'cus-edit
'(progn
;; This is to show the values back (reverting e30bb2f10554.)
(widget-put (get 'custom-variable 'widget-type)
:hidden-states nil)))
(I also have set custom-file to '/non/existent and redefine the
custom-save-all function to no-op in the progn above, so I don't
get any of my settings spilled over by accident to a
custom-set-variables form, or whole new file altogether I may
easily forget about.)
[...]
--
FSF associate member #7257 http://am-1.org/~ivan/