I sometimes explore customisable variables in
Custom-mode to get a structured overview, before manually setting them with
setq-default in my
.emacs. Can I make
Custom-mode show the Lisp names of the variables/faces in addition to the having access to the TUI widgets?
It looks like these:
can be set to
edit for widgets and
lisp for lisp names. However:
- You cannot show both. In particular, choices are not listed in
lispmode, and choices are often not listed in the description, and
xref-find-definitionsfails to go to the source.
- They do not take priority over
:custom-form. In practice this doesn't seem likely to be an issue. My Emacs Lisp is not great, but maybe adding advice to e.g.
custom-variable-value-createcan override this.