[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] LaTeX-default-options ignored (was Re: 18.104.22.1687-07-25;
Re: [AUCTeX] LaTeX-default-options ignored (was Re: 22.214.171.1247-07-25; TeX-search-files-by-type: No TeX trees available; configure ‘TeX-tree-roots’ error)
Wed, 20 Dec 2017 01:34:03 +0900
Hi Sivaram and all,
>>>>> Ikumi Keita <address@hidden> writes:
> I looked into the current implemetation of `TeX-arg-document' and found
> that it consults `LaTeX-default-options' only when the selected class,
> e.g. "scrartcl", has the respective `LaTeX-XXXX-class-options' variable
> set, usually via the respective style file, e.g. scrartcl.el.
> I feel this situation is a bit awkward and am inclined to change
> `TeX-arg-document' to reflect `LaTeX-default-options' even when the
> respective `LaTeX-XXXX-class-options' doesn't have a meaningful value.
> Does anyone find difficulties with it?
I committed a change according to the above idea in the git repository.
Sivaram, could you give it a try? I confirmed that
(setq LaTeX-default-options "a4paper,12pt,draft")
has the expected effect on my side.