From unknown Sun Aug 17 04:15:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24058 <24058@debbugs.gnu.org> To: bug#24058 <24058@debbugs.gnu.org> Subject: Status: 24.5; tex-file ignores latex-run-command file local variable Reply-To: bug#24058 <24058@debbugs.gnu.org> Date: Sun, 17 Aug 2025 11:15:51 +0000 retitle 24058 24.5; tex-file ignores latex-run-command file local variable reassign 24058 emacs submitter 24058 Paul Rankin severity 24058 minor tag 24058 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 23 04:13:23 2016 Received: (at submit) by debbugs.gnu.org; 23 Jul 2016 08:13:23 +0000 Received: from localhost ([127.0.0.1]:34178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQs3n-0000EM-1q for submit@debbugs.gnu.org; Sat, 23 Jul 2016 04:13:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQs3l-0000EA-Bq for submit@debbugs.gnu.org; Sat, 23 Jul 2016 04:13:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQs3f-0001Qd-GN for submit@debbugs.gnu.org; Sat, 23 Jul 2016 04:13:16 -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.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQs3f-0001QH-84 for submit@debbugs.gnu.org; Sat, 23 Jul 2016 04:13:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQs3d-0004uB-7H for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2016 04:13:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQs3Z-0001Og-9F for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2016 04:13:12 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:48489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQs3W-0001MV-O6 for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2016 04:13:09 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id BE27920533 for ; Sat, 23 Jul 2016 04:12:55 -0400 (EDT) Received: from web1 ([10.202.2.211]) by compute7.internal (MEProxy); Sat, 23 Jul 2016 04:12:55 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=paulwrankin.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=qPv dR8QcNhzBmrKyzkUmoHTGLvc=; b=iVV5Pq1lCPEW3NvjJG3sAIHDawYdFDMAsss 94oIJztAbSSPBjtb1RWy8xb/Doo4gtSYj6l/9u4VzUjdq9vRM36R9vYSVvOshzgh 2a0a6y9/phgCViee5HrygQ5OES+FBPVsyO5vQRtc1lFsol1r5qtZQnRcLXQNt5+2 guFmq9TA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=qPvdR8QcNhzBmrKyzkUmoHTGLvc=; b=CjSt4 DRf3cOqGnvpdlMYegYg9l6okQg9bq6Qwg0nUIRH/QLt21gky0xRnz+BxoK3ucuPV NRwPE2RW2uozG/88iUFs+vtjx1AMd1IV/Spo/jNJ2G/X+DpwA9bxjFH6NXks3PmF DyNZPJsC9OzB+pgXS9bNYQ06tusCJz6N6QL5Po= Received: by mailuser.nyi.internal (Postfix, from userid 99) id 8EF1F6A55C; Sat, 23 Jul 2016 04:12:55 -0400 (EDT) Message-Id: <1469261575.1715309.674484537.2AACC1CC@webmail.messagingengine.com> X-Sasl-Enc: VcZRsVAZpTjVvxJ6FQil2uDrsurf/lRqjgO8/19ofSJy 1469261575 From: Paul Rankin To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-2ccfea0a Subject: 24.5; tex-file ignores latex-run-command file local variable Date: Sat, 23 Jul 2016 18:12:55 +1000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit 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: -4.4 (----) It appears that `tex-file' ignores `LaTeX-run-command' when set as a file local variable. To reproduce: 1. $ emacs -Q 2. open Input.tex file with: % Local Variables: % latex-run-command: "xelatex" % End: 3. apply local variables 4. M-x tex-file Expected results: `tex-file' should run shell command $ xelatex \\nonstopmode\\input Input.tex Actual results: `tex-file' runs shell command $ latex \\nonstopmode\\input Input.tex Configuration: GNU Emacs 24.5.1 (x86_64-apple-darwin15.6.0, NS apple-appkit-1404.47) of 2016-07-22 OS X 10.11.6 (15G31) MacBook Pro (Retina, 15-inch, Mid 2014) 2.2 GHz Intel Core i7 16 GB 1600 MHz DDR3 Intel Iris Pro 1536 MB -- Paul W. Rankin www.paulwrankin.com From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 23 15:35:38 2016 Received: (at 24058) by debbugs.gnu.org; 23 Jul 2016 19:35:38 +0000 Received: from localhost ([127.0.0.1]:35158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bR2i2-0007ck-DD for submit@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bR2i1-0007cX-6o for 24058@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bR2hu-0001XC-VF for 24058@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR2hi-0001RC-Gq; Sat, 23 Jul 2016 15:35:18 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bR2hf-00079v-7T; Sat, 23 Jul 2016 15:35:15 -0400 From: Glenn Morris To: Paul Rankin Subject: Re: bug#24058: 24.5; tex-file ignores latex-run-command file local variable References: <1469261575.1715309.674484537.2AACC1CC@webmail.messagingengine.com> X-Spook: e-cash eternity server Mahmoud Ahmadinejad Chobetsu X-Ran: 7pgXod;KP7?3@8\/9JchpnUM!ZpgLf>oG9h[:U[:dB;OYUN:5Wvk} X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 23 Jul 2016 15:35:15 -0400 In-Reply-To: <1469261575.1715309.674484537.2AACC1CC@webmail.messagingengine.com> (Paul Rankin's message of "Sat, 23 Jul 2016 18:12:55 +1000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 24058 Cc: 24058@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: -6.3 (------) Paul Rankin wrote: > It appears that `tex-file' ignores `LaTeX-run-command' when set as a > file local variable. Set the variable "tex-command" instead. latex-run-command just provides the global default value for that variable in latex mode. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 23 15:35:43 2016 Received: (at control) by debbugs.gnu.org; 23 Jul 2016 19:35:43 +0000 Received: from localhost ([127.0.0.1]:35161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bR2i7-0007d3-Kp for submit@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bR2i6-0007ci-GA for control@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bR2i0-0001b2-Mm for control@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR2i0-0001al-Fs for control@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:36 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bR2hz-0007xp-Tz for control@debbugs.gnu.org; Sat, 23 Jul 2016 15:35:36 -0400 Subject: control message for bug 24058 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 23 Jul 2016 15:35:35 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control 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: -6.3 (------) severity 24058 minor tag 24058 notabug close 24058 From unknown Sun Aug 17 04:15: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: Sun, 21 Aug 2016 11:24:03 +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