defcustoms in style/*.el

Reiner Steib <[email protected]>
Newsgroups gmane.emacs.auc-tex
Organization Dept. of Theoretical Physics, University of Ulm
Message-ID <[email protected]>
Hi,

was have some defcustoms in style/*.el:

,----[ grep -nH -e '(defcustom' *.el ]
| amsmath.el:134:(defcustom LaTeX-amsmath-label LaTeX-equation-label
| beamer.el:24:(defcustom LaTeX-beamer-item-overlay-flag t
| csquotes.el:33:(defcustom LaTeX-csquotes-quote-after-quote nil
| csquotes.el:37:(defcustom LaTeX-csquotes-open-quote ""
| csquotes.el:45:(defcustom LaTeX-csquotes-close-quote ""
| emp.el:43:(defcustom LaTeX-write18-enabled-p t
`----

My feeling is, that this should better be placed in tex.el or latex.el
(as I did for when introducing defcustoms in style/graphicx.el and
style/beamer.el).  I think it is better to have those variables
available [1,2] after loading AUCTeX, no matter if a beamer, amsmath
or ... is used in this Emacs session.

An alternative approach would be to collect those defcustoms in a
separate file, say (la)tex-style.el, and require this file somewhere.

WDYT?

Bye, Reiner.

[1] E.g. with `M-x customize-group RET LaTeX-macro RET'

[2] For the defvars, I don't find it necessary.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.