From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 09 13:54:20 2020 Received: (at submit) by debbugs.gnu.org; 9 Mar 2020 17:54:20 +0000 Received: from localhost ([127.0.0.1]:51433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBMbb-0003nC-Ns for submit@debbugs.gnu.org; Mon, 09 Mar 2020 13:54:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:48811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBMAy-00036p-6b for submit@debbugs.gnu.org; Mon, 09 Mar 2020 13:26:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59489) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBMAx-0006qZ-5E for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2020 13:26:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBMAw-0002Rq-1M for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2020 13:26:46 -0400 Received: from mail2.sig.com ([141.162.101.28]:40644) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jBMAv-0002R3-Tw for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2020 13:26:45 -0400 X-SIG-Detect: None X-IronPort-AV: E=Sophos;i="5.70,534,1574139600"; d="scan'208";a="84366997" From: "Ernest N. Mamikonyan" To: bug-gnu-emacs@gnu.org Subject: tex-start-options-string not updated in texinfo.el Organization: Susquehanna International Group, LLP User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (windows-nt) Date: Mon, 09 Mar 2020 13:26:44 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 141.162.101.28 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 09 Mar 2020 13:54:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 13 09:54:20 2020 Received: (at 40001) by debbugs.gnu.org; 13 Mar 2020 13:54:20 +0000 Received: from localhost ([127.0.0.1]:58292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCklY-0003aF-9O for submit@debbugs.gnu.org; Fri, 13 Mar 2020 09:54:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCklW-0003a2-RS for 40001@debbugs.gnu.org; Fri, 13 Mar 2020 09:54:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jCklR-0003f5-7B; Fri, 13 Mar 2020 09:54:13 -0400 Received: from [176.228.60.248] (port=1342 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jCklO-0004ME-0z; Fri, 13 Mar 2020 09:54:12 -0400 Date: Fri, 13 Mar 2020 15:53:54 +0200 Message-Id: <83h7ys8iod.fsf@gnu.org> From: Eli Zaretskii To: "Ernest N. Mamikonyan" In-Reply-To: (Ernest.Mamikonyan@sig.com) Subject: Re: bug#40001: tex-start-options-string not updated in texinfo.el References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40001 Cc: 40001@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: "Ernest N. Mamikonyan" > 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 13 10:46:00 2020 Received: (at 40001) by debbugs.gnu.org; 13 Mar 2020 14:46:01 +0000 Received: from localhost ([127.0.0.1]:60130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jClZY-0005Q2-Gf for submit@debbugs.gnu.org; Fri, 13 Mar 2020 10:46:00 -0400 Received: from mail1.sig.com ([141.162.101.25]:1963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jClR9-0005Cg-0E for 40001@debbugs.gnu.org; Fri, 13 Mar 2020 10:37:19 -0400 X-SIG-Detect: None X-IronPort-AV: E=Sophos;i="5.70,548,1574139600"; d="scan'208";a="94226297" From: "Ernest N. Mamikonyan" To: Eli Zaretskii Subject: Re: bug#40001: tex-start-options-string not updated in texinfo.el Organization: Susquehanna International Group, LLP References: <83h7ys8iod.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) Date: Fri, 13 Mar 2020 10:37:17 -0400 In-Reply-To: <83h7ys8iod.fsf@gnu.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40001 X-Mailman-Approved-At: Fri, 13 Mar 2020 10:45:58 -0400 Cc: 40001@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Mar 13 2020, Eli Zaretskii wrote: >> From: "Ernest N. Mamikonyan" >> 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 15:41:33 2020 Received: (at 40001) by debbugs.gnu.org; 30 Mar 2020 19:41:33 +0000 Received: from localhost ([127.0.0.1]:35098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJ0Ht-0001hT-6m for submit@debbugs.gnu.org; Mon, 30 Mar 2020 15:41:33 -0400 Received: from mail2.sig.com ([141.162.101.28]:27876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJ02C-0001HN-KO for 40001@debbugs.gnu.org; Mon, 30 Mar 2020 15:25:20 -0400 X-SIG-Detect: None X-IronPort-AV: E=Sophos;i="5.72,325,1580792400"; d="scan'208";a="85744260" From: "Ernest N. Mamikonyan" To: Eli Zaretskii Subject: Re: bug#40001: tex-start-options-string not updated in texinfo.el Organization: Susquehanna International Group, LLP References: <83h7ys8iod.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (windows-nt) Date: Mon, 30 Mar 2020 15:25:15 -0400 In-Reply-To: <83h7ys8iod.fsf@gnu.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40001 X-Mailman-Approved-At: Mon, 30 Mar 2020 15:41:31 -0400 Cc: 40001@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 10:10:30 2020 Received: (at 40001) by debbugs.gnu.org; 31 Mar 2020 14:10:30 +0000 Received: from localhost ([127.0.0.1]:36721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJHb4-00058l-DX for submit@debbugs.gnu.org; Tue, 31 Mar 2020 10:10:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJHb2-00058N-Rr for 40001@debbugs.gnu.org; Tue, 31 Mar 2020 10:10:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJHax-0001ff-75; Tue, 31 Mar 2020 10:10:23 -0400 Received: from [176.228.60.248] (port=4564 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jJHaw-0003cE-1o; Tue, 31 Mar 2020 10:10:22 -0400 Date: Tue, 31 Mar 2020 17:10:35 +0300 Message-Id: <83r1x81up0.fsf@gnu.org> From: Eli Zaretskii To: "Ernest N. Mamikonyan" In-Reply-To: (Ernest.Mamikonyan@sig.com) Subject: Re: bug#40001: tex-start-options-string not updated in texinfo.el References: <83h7ys8iod.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40001 Cc: 40001@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: "Ernest N. Mamikonyan" > Cc: <40001@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. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 08:14:54 2020 Received: (at 40001-done) by debbugs.gnu.org; 3 Apr 2020 12:14:54 +0000 Received: from localhost ([127.0.0.1]:41332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKLDq-0004a9-Ez for submit@debbugs.gnu.org; Fri, 03 Apr 2020 08:14:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKLDp-0004Zk-4x for 40001-done@debbugs.gnu.org; Fri, 03 Apr 2020 08:14:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jKLDj-0006ml-UB; Fri, 03 Apr 2020 08:14:47 -0400 Received: from [176.228.60.248] (port=2470 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jKLDi-0003fd-L2; Fri, 03 Apr 2020 08:14:47 -0400 Date: Fri, 03 Apr 2020 15:14:33 +0300 Message-Id: <83lfncwyty.fsf@gnu.org> From: Eli Zaretskii To: Ernest.Mamikonyan@sig.com In-Reply-To: <83r1x81up0.fsf@gnu.org> (message from Eli Zaretskii on Tue, 31 Mar 2020 17:10:35 +0300) Subject: Re: bug#40001: tex-start-options-string not updated in texinfo.el References: <83h7ys8iod.fsf@gnu.org> <83r1x81up0.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40001-done Cc: 40001-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Date: Tue, 31 Mar 2020 17:10:35 +0300 > From: Eli Zaretskii > Cc: 40001@debbugs.gnu.org > > > From: "Ernest N. Mamikonyan" > > Cc: <40001@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. From unknown Sat Aug 09 09:33:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 May 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator