GNU bug report logs -
#24951
11.89.7; TeX-command-extra-options takes only last option into account.
Previous Next
Reported by: Ernst Reissner <rei3ner <at> arcor.de>
Date: Wed, 16 Nov 2016 04:11:02 UTC
Severity: normal
Found in version 11.89.7
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24951 in the body.
You can then email your comments to 24951 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Wed, 16 Nov 2016 04:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ernst Reissner <rei3ner <at> arcor.de>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Wed, 16 Nov 2016 04:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.
Be sure to consult the FAQ section in the manual before submitting
a bug report. In addition check if the bug is reproducable with an
up-to-date version of AUCTeX. So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.
If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.
Your report will be posted for the auctex package at the GNU bug
tracker. Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex
to browse existing AUCTeX bugs.
------------------------------------------------------------------------
I set in my latex main file:
%%% TeX-command-extra-options: "-src-specials -recorder -shell-escape"
Nevertheless, when running the pdflatex compiler,
the only option I receive is -shell-escape, the last one.
Emacs : GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.16.7)
of 2016-08-05 on lamb17
Package: 11.89.7
current state:
==============
(setq
AUCTeX-date "2016-11-12"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("~/.emacs.d/auctex"
"/home/ernst/.emacs.d/elpa/auctex-11.89.7/style"
"/home/ernst/.emacs.d/auctex/auto"
"/home/ernst/.emacs.d/auctex/style" "auto" "style")
TeX-auto-save t
TeX-parse-self t
TeX-master t
TeX-command-list '(("TeX"
"%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil
(plain-tex-mode ams-tex-mode texinfo-mode) :help
"Run plain TeX")
("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo %(extraopts) --html %t"
TeX-run-compile nil (texinfo-mode) :help
"Run Makeinfo with HTML output")
("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t"
TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
("ConTeXt"
"%(cntxcom) --once --texutil %(extraopts) %(execopts)%t"
TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t"
TeX-run-TeX nil (context-mode) :help
"Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
"Run BibTeX")
("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
("View" "%V" TeX-run-discard-or-function t t :help
"Run Viewer")
("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help
"View the printer queue" :visible TeX-queue-command)
("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help
"Generate PostScript file")
("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help
"Convert DVI file to PostScript")
("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help
"Convert DVI file to PDF with dvipdfmx")
("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help
"Convert PostScript file to PDF")
("Index" "makeindex %s" TeX-run-index nil t :help
"Run makeindex to create index file")
("Xindy" "texindy %s" TeX-run-command nil t :help
"Run xindy to create index file")
("Makeglossaries" "makeglossaries %s" TeX-run-glossary nil
t :help "Run makeglossaries to create glossary file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
:help "Check LaTeX file for correctness")
("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode)
:help "Check LaTeX file for common mistakes")
("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
t :help "Spell-check the document")
("Clean" "TeX-clean" TeX-run-function nil t :help
"Delete generated intermediate files")
("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
"Delete generated intermediate and output files")
("Other" "" TeX-run-command t t :help
"Run an arbitrary command")
)
)
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Wed, 16 Nov 2016 18:23:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24951 <at> debbugs.gnu.org (full text, mbox):
Hi Ernst,
2016-11-16 5:44 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
> I set in my latex main file:
>
> %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape"
>
> Nevertheless, when running the pdflatex compiler,
> the only option I receive is -shell-escape, the last one.
Does this happen only for one document or every documents? I mean, in
every documents do you always have "-shell-escape" in the command use
to compile the document, irrespective of the value of
`TeX-command-extra-options'? In addition, what's the value of
`LaTeX-command-style' option for you?
Bye,
Mosè
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Fri, 18 Nov 2016 18:52:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 24951 <at> debbugs.gnu.org (full text, mbox):
Hi Ernst,
please don't write privately to me but push the "Reply all" button in
order to send your message also to the bug tracker. Using the "Reply
all" button is a good habit in mailing lists ;-)
2016-11-18 20:24 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
> Hi Mosè,
>> 2016-11-16 5:44 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
>>> I set in my latex main file:
>>>
>>> %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape"
>>>
>>> Nevertheless, when running the pdflatex compiler,
>>> the only option I receive is -shell-escape, the last one.
>> Does this happen only for one document or every documents? I mean, in
>> every documents do you always have "-shell-escape" in the command use
>> to compile the document, irrespective of the value of
>> `TeX-command-extra-options'? In addition, what's the value of
>> `LaTeX-command-style' option for you?
> The command has option - shell-escape only if I specify this in
> TeX-command-extra-options.
> This is completely ok.
> The problem is only, that if I specify more options, say in addition
> -recorder,
> then still *only* -shell-escape appears.
>
> I now removed the line TeX-command-extra-option.
> When I restart emacs and load the tex-file, then of course, it does not
> ask again on whether I accept -shell-escape,
> but still it run latex with shell escape:
>
> Running `LaTeX' on `manualLatexMavenPlugin' with ``pdflatex
> -file-line-error -shell-escape --synctex=1 -interaction=nonstopmode
> "\input" manualLatexMavenPlugin.tex''
> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014)
> (preloaded format=pdflatex)
> \write18 enabled.
> entering extended mode
So, whatever the value of `TeX-command-extra-options' the command
executed is always the same?
> This is crazy, right?
No, because if guess correctly, I suspect you customized
`LaTeX-command-style'. What's the value of this option?
Bye,
Mosè
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Tue, 29 Nov 2016 20:36:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 24951 <at> debbugs.gnu.org (full text, mbox):
Hi Mosè,
I did what you asked for....
> Hi Ernst,
>
> please don't write privately to me but push the "Reply all" button in
> order to send your message also to the bug tracker. Using the "Reply
> all" button is a good habit in mailing lists ;-)
>
> 2016-11-18 20:24 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
>> Hi Mosè,
>>> 2016-11-16 5:44 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
>>>> I set in my latex main file:
>>>>
>>>> %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape"
>>>>
>>>> Nevertheless, when running the pdflatex compiler,
>>>> the only option I receive is -shell-escape, the last one.
>>> Does this happen only for one document or every documents? I mean, in
>>> every documents do you always have "-shell-escape" in the command use
>>> to compile the document, irrespective of the value of
>>> `TeX-command-extra-options'? In addition, what's the value of
>>> `LaTeX-command-style' option for you?
>> The command has option - shell-escape only if I specify this in
>> TeX-command-extra-options.
>> This is completely ok.
>> The problem is only, that if I specify more options, say in addition
>> -recorder,
>> then still *only* -shell-escape appears.
>>
>> I now removed the line TeX-command-extra-option.
>> When I restart emacs and load the tex-file, then of course, it does not
>> ask again on whether I accept -shell-escape,
>> but still it run latex with shell escape:
>>
>> Running `LaTeX' on `manualLatexMavenPlugin' with ``pdflatex
>> -file-line-error -shell-escape --synctex=1 -interaction=nonstopmode
>> "\input" manualLatexMavenPlugin.tex''
>> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014)
>> (preloaded format=pdflatex)
>> \write18 enabled.
>> entering extended mode
> So, whatever the value of `TeX-command-extra-options' the command
> executed is always the same?
>
>> This is crazy, right?
> No, because if guess correctly, I suspect you customized
> `LaTeX-command-style'. What's the value of this option?
I find:
Hide Latex Command Style:
INS DEL Regexp:
Style: %(PDF)%(latex) %(file-line-error) %(extraopts)
%S%(PDFout)
INS
State : STANDARD.
List of style options and LaTeX commands. Hide...
UPDATE:
My main file ends with
%%% Local Variables:
%%% mode: latex
%%% TeX-command-extra-options: "-src-specials -recorder -shell-escape"
%%% TeX-master: t
%%% End:
and now the log file shows:
Running `LaTeX' on `manualLatexMavenPlugin' with ``pdflatex
-file-line-error -src-specials -recorder-shell-escape --synctex=1
-interaction=nonstopmode "\input" manualLatexMavenPlugin.tex''
pdflatex: unrecognized option '-recorder-shell-escape'
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014)
(preloaded format=pdflatex)
restricted \write18 enabled.
Source specials enabled.
entering extended mode
So the blank between -recorder and -shell-escape seems to be ignored.
How can this be?
And how to explain that the behavior changed???
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Tue, 29 Nov 2016 21:57:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 24951 <at> debbugs.gnu.org (full text, mbox):
Ernst Reissner <rei3ner <at> arcor.de> writes:
>> No, because if guess correctly, I suspect you customized
>> `LaTeX-command-style'. What's the value of this option?
> I find:
>
> Hide Latex Command Style:
> INS DEL Regexp:
> Style: %(PDF)%(latex) %(file-line-error) %(extraopts)
> %S%(PDFout)
> INS
> State : STANDARD.
> List of style options and LaTeX commands. Hide...
>
>
> UPDATE:
> My main file ends with
>
> %%% Local Variables:
> %%% mode: latex
> %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape"
> %%% TeX-master: t
> %%% End:
Does it help if you pass the extra options as a list? I.e.:
%%% TeX-command-extra-options: '("-src-specials -recorder -shell-escape")
If yes, we only have to find out why ;-)
Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Wed, 30 Nov 2016 01:14:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 24951 <at> debbugs.gnu.org (full text, mbox):
Hi Ernst,
2016-11-29 22:38 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
> So the blank between -recorder and -shell-escape seems to be ignored.
> How can this be?
> And how to explain that the behavior changed???
No idea, really, above all the fact that you're experiencing a
different problem now without having changed anything, I guess. Do
you have customizations related to AUCTeX in your init file?
Bye,
Mosè
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Wed, 30 Nov 2016 23:38:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 24951 <at> debbugs.gnu.org (full text, mbox):
Hi Ernst,
do you have `TeX-auto-save' and `TeX-parse-self' variables set to
non-nil? If so, try this: delete the autogenerated file (the file in
the "auto/" subdirectoy and with the same basename of your master file
and ".el" extension), then restart Emacs and reparse the LaTeX file
with C-c C-n. Does this solve your issue?
Bye,
Mosè
2016-11-30 2:12 GMT+01:00 Mosè Giordano <mose <at> gnu.org>:
> Hi Ernst,
>
> 2016-11-29 22:38 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
>> So the blank between -recorder and -shell-escape seems to be ignored.
>> How can this be?
>> And how to explain that the behavior changed???
>
> No idea, really, above all the fact that you're experiencing a
> different problem now without having changed anything, I guess. Do
> you have customizations related to AUCTeX in your init file?
>
> Bye,
> Mosè
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#24951
; Package
auctex
.
(Tue, 05 Mar 2024 20:21:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 24951 <at> debbugs.gnu.org (full text, mbox):
Mosè Giordano <mose <at> gnu.org> writes:
> Hi Ernst,
>
> do you have `TeX-auto-save' and `TeX-parse-self' variables set to
> non-nil? If so, try this: delete the autogenerated file (the file in
> the "auto/" subdirectoy and with the same basename of your master file
> and ".el" extension), then restart Emacs and reparse the LaTeX file
> with C-c C-n. Does this solve your issue?
>
> Bye,
> Mosè
>
> 2016-11-30 2:12 GMT+01:00 Mosè Giordano <mose <at> gnu.org>:
>> Hi Ernst,
>>
>> 2016-11-29 22:38 GMT+01:00 Ernst Reissner <rei3ner <at> arcor.de>:
>>> So the blank between -recorder and -shell-escape seems to be ignored.
>>> How can this be?
>>> And how to explain that the behavior changed???
>>
>> No idea, really, above all the fact that you're experiencing a
>> different problem now without having changed anything, I guess. Do
>> you have customizations related to AUCTeX in your init file?
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
No further comments, therefore I'm closing this report.
Best, Arash
bug closed, send any further explanations to
24951 <at> debbugs.gnu.org and Ernst Reissner <rei3ner <at> arcor.de>
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 05 Mar 2024 20:22:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 03 Apr 2024 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 37 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.