GNU bug report logs -
#40001
tex-start-options-string not updated in texinfo.el
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40001 in the body.
You can then email your comments to 40001 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40001
; Package
emacs
.
(Mon, 09 Mar 2020 17:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Ernest N. Mamikonyan" <Ernest.Mamikonyan <at> sig.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 09 Mar 2020 17:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
It seems that 'tex-start-options-string' was not updated to
'tex-start-options' in texinfo.el after the change in version 22.
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 438cb7798a..3898a3ba04 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -1002,9 +1002,9 @@ texinfo-tex-buffer
(interactive)
(require 'tex-mode)
(let ((tex-command texinfo-texi2dvi-command)
- ;; Disable tex-start-options-string. texi2dvi would not
- ;; understand anything specified here.
- (tex-start-options-string ""))
+ ;; Disable tex-start-options. texi2dvi would not understand
+ ;; anything specified here.
+ (tex-start-options ""))
(tex-buffer)))
(defun texinfo-texindex ()
Best,
--
Ernie
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40001
; Package
emacs
.
(Fri, 13 Mar 2020 13:55:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 40001 <at> debbugs.gnu.org (full text, mbox):
> From: "Ernest N. Mamikonyan" <Ernest.Mamikonyan <at> sig.com>
> Date: Mon, 09 Mar 2020 13:26:44 -0400
>
> It seems that 'tex-start-options-string' was not updated to
> 'tex-start-options' in texinfo.el after the change in version 22.
>
> diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
> index 438cb7798a..3898a3ba04 100644
> --- a/lisp/textmodes/texinfo.el
> +++ b/lisp/textmodes/texinfo.el
> @@ -1002,9 +1002,9 @@ texinfo-tex-buffer
> (interactive)
> (require 'tex-mode)
> (let ((tex-command texinfo-texi2dvi-command)
> - ;; Disable tex-start-options-string. texi2dvi would not
> - ;; understand anything specified here.
> - (tex-start-options-string ""))
> + ;; Disable tex-start-options. texi2dvi would not understand
> + ;; anything specified here.
> + (tex-start-options ""))
> (tex-buffer)))
Should we also bind tex-start-commands to some value (an empty
string)? If not, why not?
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40001
; Package
emacs
.
(Fri, 13 Mar 2020 14:46:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 40001 <at> debbugs.gnu.org (full text, mbox):
On Fri, Mar 13 2020, Eli Zaretskii wrote:
>> From: "Ernest N. Mamikonyan" <Ernest.Mamikonyan <at> sig.com>
>> Date: Mon, 09 Mar 2020 13:26:44 -0400
>>
>> It seems that 'tex-start-options-string' was not updated to
>> 'tex-start-options' in texinfo.el after the change in version 22.
>>
>> diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
>> index 438cb7798a..3898a3ba04 100644
>> --- a/lisp/textmodes/texinfo.el
>> +++ b/lisp/textmodes/texinfo.el
>> @@ -1002,9 +1002,9 @@ texinfo-tex-buffer
>> (interactive)
>> (require 'tex-mode)
>> (let ((tex-command texinfo-texi2dvi-command)
>> - ;; Disable tex-start-options-string. texi2dvi would not
>> - ;; understand anything specified here.
>> - (tex-start-options-string ""))
>> + ;; Disable tex-start-options. texi2dvi would not understand
>> + ;; anything specified here.
>> + (tex-start-options ""))
>> (tex-buffer)))
>
> Should we also bind tex-start-commands to some value (an empty
> string)? If not, why not?
Yes, you're right. Since texi2dvi doesn't take initial commands like
TeX, why not get rid of tex-start-commands but allow the user to supply
command-line options:
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 438cb7798a..a687a27e36 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -958,6 +958,11 @@ texinfo-texi2dvi-command
:type 'string
:group 'texinfo)
+(defcustom texinfo-texi2dvi-options ""
+ "Command line options for `texinfo-texi2dvi-command'."
+ :type 'string
+ :group 'texinfo)
+
(defcustom texinfo-tex-command "tex"
"Command used by `texinfo-tex-region' to run TeX on a region."
:type 'string
@@ -1002,9 +1007,10 @@ texinfo-tex-buffer
(interactive)
(require 'tex-mode)
(let ((tex-command texinfo-texi2dvi-command)
- ;; Disable tex-start-options-string. texi2dvi would not
- ;; understand anything specified here.
- (tex-start-options-string ""))
+ (tex-start-options texinfo-texi2dvi-options)
+ ;; Disable tex-start-commands. texi2dvi would not understand
+ ;; anything specified here.
+ (tex-start-commands ""))
(tex-buffer)))
(defun texinfo-texindex ()
--
Ernie
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40001
; Package
emacs
.
(Mon, 30 Mar 2020 19:42:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 40001 <at> debbugs.gnu.org (full text, mbox):
On Fri, Mar 13 2020, Eli Zaretskii wrote:
> Should we also bind tex-start-commands to some value (an empty
> string)? If not, why not?
Sorry, not sure if you had a chance to look at the previous patch, based
on your suggestion. Do you agree with the approach?
Best,
--
Ernie
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40001
; Package
emacs
.
(Tue, 31 Mar 2020 14:11:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 40001 <at> debbugs.gnu.org (full text, mbox):
> From: "Ernest N. Mamikonyan" <Ernest.Mamikonyan <at> sig.com>
> Cc: <40001 <at> debbugs.gnu.org>
> Date: Mon, 30 Mar 2020 15:25:15 -0400
>
> On Fri, Mar 13 2020, Eli Zaretskii wrote:
>
> > Should we also bind tex-start-commands to some value (an empty
> > string)? If not, why not?
>
> Sorry, not sure if you had a chance to look at the previous patch, based
> on your suggestion. Do you agree with the approach?
Yes, I will handle this soon. Thanks for the reminder.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Fri, 03 Apr 2020 12:15:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Ernest N. Mamikonyan" <Ernest.Mamikonyan <at> sig.com>
:
bug acknowledged by developer.
(Fri, 03 Apr 2020 12:15:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 40001-done <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 31 Mar 2020 17:10:35 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 40001 <at> debbugs.gnu.org
>
> > From: "Ernest N. Mamikonyan" <Ernest.Mamikonyan <at> sig.com>
> > Cc: <40001 <at> debbugs.gnu.org>
> > Date: Mon, 30 Mar 2020 15:25:15 -0400
> >
> > On Fri, Mar 13 2020, Eli Zaretskii wrote:
> >
> > > Should we also bind tex-start-commands to some value (an empty
> > > string)? If not, why not?
> >
> > Sorry, not sure if you had a chance to look at the previous patch, based
> > on your suggestion. Do you agree with the approach?
>
> Yes, I will handle this soon. Thanks for the reminder.
Thanks, pushed to the master branch.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 02 May 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 99 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.