[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] LaTeX-default-options ignored (was Re: 184.108.40.2067-07-25; TeX
[AUCTeX] LaTeX-default-options ignored (was Re: 220.127.116.117-07-25; TeX-search-files-by-type: No TeX trees available; configure ‘TeX-tree-roots’ error)
Tue, 12 Dec 2017 00:13:22 +0900
Hi Sivaram and all,
>>>>> Sivaram Neelakantan <address@hidden> writes:
> Though it didn't seem to honour this line
> (setq LaTeX-default-options "a4paper,12pt,draft")
> A C-c C-e had a default set by (setq LaTeX-default-style "scrartcl")
> but the options part didn't use the a4paper part
Did that problem begin to occur with the new release? I guess that the
behavior is the same as before. I suppose that this would be a separate
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?