From unknown Sun Jun 22 08:03:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42624: emacs 26.3 : tex-mode.el : tex & latex compile failures Resent-From: RDS Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jul 2020 00:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42624@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159615515130099 (code B ref -1); Fri, 31 Jul 2020 00:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2020 00:25:51 +0000 Received: from localhost ([127.0.0.1]:36930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Irv-0007pP-1O for submit@debbugs.gnu.org; Thu, 30 Jul 2020 20:25:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:58688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Irt-0007pI-I0 for submit@debbugs.gnu.org; Thu, 30 Jul 2020 20:25:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1Irt-0000xW-CZ for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2020 20:25:49 -0400 Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:41398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1Irr-0008UQ-NY for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2020 20:25:49 -0400 Received: by mail-vs1-xe2a.google.com with SMTP id y8so8658739vsq.8 for ; Thu, 30 Jul 2020 17:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PtIPzHduFYPlRxt5ueCCBc7MhHZ+O9uvO0UU50ycMh4=; b=L17zlY5bWzNqp7SmsUI9vmNk9q4ra+OJ+KlW45H3lnAfgjjgOaq9C3iubosdJBvaTo po+v+RtUdwBrVPcEQzhvlWv+s5M4Qv0aBMX+p8L1WOtLU0CbRYnnj1uW3t9fRoYICngq KmJhKHnhq4T6BU1jhiwgH1VEGpl33iYbmGgC3OJy/GC9QqMpcg9nBLmf3P3oPTrXA/5T y3hzBiyFYQvZvIQqx3Etz6Olf97hG3QbrdpwjWrD/7oy0nhTGvwBxGU+IGQa7teGwfrt FDDSjzcbdhAGZfsDXz5z13wA7fZBdynbcJHyphlPaSMq9PJzTmFPl1qeESCk1XVVR6yc kVOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PtIPzHduFYPlRxt5ueCCBc7MhHZ+O9uvO0UU50ycMh4=; b=JhCXMPC8Q3q5Zy1+XgVJVWGmfUQH7NRmQbJoNLhFgd28CYgEwSpYlG/3SA/OBUSotA ytYooRgaTOjJUUzhQMSdEmwa2zFN5YphXOchW/6HSuawmENlDq05oWVkZALjxFSDlTh6 CCQwOeYxjTYVWLpgQhjeN6SQtNma2YGqF9l32eiajh3a2ge2Ie79S6Lov6oWMInRT2rq 3iQtNN52kX119rwUH1pNOCJMJG46b4N5/Qy82mDeY149fGeMpR/SDVYhngKIfAJPk2gn GpS6LJAEWQ1Hypb+GjVvMGFfcH6Mmr05hV5vXt5McJ06l1zAEXwLMNVHRAmKbmJMycA9 ucTg== X-Gm-Message-State: AOAM531yI7Dk1pJzHd2zTDbpD8SGSk7eMkJONfPjfSfd0d7AOJXV26Xj 6nPUun+LWcPmKpPeesGrmf15sZD+OT9Nwvvd+7twM3BvnyA= X-Google-Smtp-Source: ABdhPJzps3yJZTvXzVPkag3zjjzJM7iikhVgsKNaVpO69uXDA8TcfPxdAxlThij1mtPtYMy8X8pq8WbTWUECkEm39GU= X-Received: by 2002:a67:2285:: with SMTP id i127mr1380174vsi.159.1596155145551; Thu, 30 Jul 2020 17:25:45 -0700 (PDT) MIME-Version: 1.0 From: RDS Date: Thu, 30 Jul 2020 17:25:12 -0700 Message-ID: Content-Type: multipart/alternative; boundary="00000000000075008d05abb1d443" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2a; envelope-from=rds1944@gmail.com; helo=mail-vs1-xe2a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) 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: -2.1 (--) --00000000000075008d05abb1d443 Content-Type: text/plain; charset="UTF-8" emacs /path/to/src.tex -> C-c C-f -> ok buffer *tex-shell* pwd -> /path/to emacs /path/to -> C-x d -> src.tex -> C-c C-f -> src.tex not found (many other variations lead to similar failure) buffer *tex-shell* pwd -> /tmp Problem traced to function tex-send-tex-command(...). It does *not* change directory to location of src.tex Remove or comment out this conditional stanza (unless (or (equal dir (let ((buf (tex-shell-buf-no-error))) (and buf (with-current-buffer buf default-directory)))) (not dir)) (let (shell-dirtrack-verbose) (tex-send-command tex-shell-cd-command dir))) Replace with (let (shell-dirtrack-verbose) (tex-send-command tex-shell-cd-command dir)) solves this error. Proper solution requires unless... to be repaired. --00000000000075008d05abb1d443 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
ema= cs /path/to/src.tex -> C-c C-f -> ok
=C2=A0 buffer *tex-shell* pwd= -> /path/to

emacs /path/to -> C-x d -> src.tex -> C-c C= -f -> src.tex not found
(many other variations lead to similar failur= e)
=C2=A0 buffer *tex-shell* pwd -> /tmp

Problem traced to fun= ction tex-send-tex-command(...).
It does *not* change directory to locat= ion of src.tex

Remove or comment out this conditional stanza

= =C2=A0 (unless (or (equal dir (let ((buf (tex-shell-buf-no-error)))
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(and buf (with-current-buffer buf
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 default-directory))))
=C2=A0= =C2=A0 =C2=A0(not dir))
=C2=A0 =C2=A0 (let (shell-dirtrack-verbose)
= =C2=A0 =C2=A0 =C2=A0 (tex-send-command tex-shell-cd-command dir)))

R= eplace with

=C2=A0 (let (shell-dirtrack-verbose) (tex-send-command t= ex-shell-cd-command dir))

solves this error. Proper solution require= s unless... to be repaired.

--00000000000075008d05abb1d443-- From unknown Sun Jun 22 08:03:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42624: emacs 26.3 : tex-mode.el : tex & latex compile failures References: In-Reply-To: Resent-From: RDS Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Aug 2020 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42624@debbugs.gnu.org Received: via spool by 42624-submit@debbugs.gnu.org id=B42624.159633526712078 (code B ref 42624); Sun, 02 Aug 2020 02:28:01 +0000 Received: (at 42624) by debbugs.gnu.org; 2 Aug 2020 02:27:47 +0000 Received: from localhost ([127.0.0.1]:41297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k23j1-00038k-4e for submit@debbugs.gnu.org; Sat, 01 Aug 2020 22:27:47 -0400 Received: from mail-vs1-f41.google.com ([209.85.217.41]:46636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k23iz-00038X-Me for 42624@debbugs.gnu.org; Sat, 01 Aug 2020 22:27:46 -0400 Received: by mail-vs1-f41.google.com with SMTP id b26so13047662vsa.13 for <42624@debbugs.gnu.org>; Sat, 01 Aug 2020 19:27:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=04cnmzn+E4zgFQWr/NDkEtYgG4qOobM8D9XKr/jECA8=; b=lkucZmtmKfx9179QnSpWH2aOHJdH/flu5x0oM7U+z6iDQ/fPxAP3iyjIIv5j+YhAQ7 /x7VwHuwy80VerQE6okIW4WZMmeVU00ZwQwYFzblIUUKqspvMHJGAcBXo1RE7XZohJJC 6dOkfYN1ZFDbrciHg3Lt8AI/X5vM+aSMDK7Nzh3eUzV/WRoWQXjHaZWemL2L/Y7NVnrR waKHeMdaomwVHtsM921DE+FFx0ZwECB4x2nARgmgxeLNtL5798D1PMH8CPea5ShvCQxg 28GNooeK04QO22DwMN87awYLHd2U170vLb2TB+5tgEwUUC15pkP/6E1NJKExy1gXWUUd 3MXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=04cnmzn+E4zgFQWr/NDkEtYgG4qOobM8D9XKr/jECA8=; b=nriDRD+5DtoI9cTGyTOKK2jb0+FJhcYdB994dzVoLrDAv7h7BCb69lTon6VyHuYOq7 kr5zSbDX7G9YdqIxv8+MxWC3TILpgz+kNuLBPTibloh0gH+maJ60QN/WmpHejbWXyjqx 8jaKk9nRfJjz6YmymO87TvEGDXSJZPHx2H5hAw/YW1kTBq8EHy37Oz7A5t4hkLvlctn5 tKOdzISaMb8mOA2p7G+ZIFuqZ2RckfHh/yMsWWQXKM0KOniupLcXprMRBm+9dhT/1Lsx 1l7YUO78Dd96BfefJYcWZNUEC51hvzFYXHNE1f76N3K2R7rEk0sbx8EssjQSIbiiBW89 lIYQ== X-Gm-Message-State: AOAM5306ZCYdDv23XaCsn7kVnCY+PeZ7se5hQ9NasCp3RQ2iqithziMZ tku4zpz3vsT4+72ilFD3AQjDK5EYK4ieheUhzZocEbfwY3E= X-Google-Smtp-Source: ABdhPJzzhaHbwcT1hSJqUQYncIgN7PTm+FpIRMmqBu2DSfkxYlLDZHBet2b1W7R276kpQ+IAb8jUBMZNdhwTGLVB288= X-Received: by 2002:a05:6102:30ba:: with SMTP id y26mr7560446vsd.122.1596335259649; Sat, 01 Aug 2020 19:27:39 -0700 (PDT) MIME-Version: 1.0 From: RDS Date: Sat, 1 Aug 2020 19:27:07 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000180c1905abdbc4ef" X-Spam-Score: 0.3 (/) 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.7 (/) --000000000000180c1905abdbc4ef Content-Type: text/plain; charset="UTF-8" Alternative repair. In the troublesome lines (unless (or (equal dir (let ((buf (tex-shell-buf-no-error))) (and buf (with-current-buffer buf default-directory)))) (not dir)) (let (shell-dirtrack-verbose) (tex-send-command tex-shell-cd-command dir))) change equal dir -> equal "garbage" in the line with unless. This will force the cd command to always execute. Here's the patch I made --- tex-mode.0.el 2020-07-31 16:22:30.380924724 -0700 +++ tex-mode.1.el 2020-07-31 14:00:36.344874591 -0700 @@ -2482,7 +2482,8 @@ (tex-send-tex-command compile-command dir))) (defun tex-send-tex-command (cmd &optional dir) - (unless (or (equal dir (let ((buf (tex-shell-buf-no-error))) + (setq nodir "garbage") ;; dir -> nodir force a cd nodir!=dir + (unless (or (equal nodir (let ((buf (tex-shell-buf-no-error))) (and buf (with-current-buffer buf default-directory)))) (not dir)) --000000000000180c1905abdbc4ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

= Alternative repair. In the troublesome lines

<= font size=3D"4">=C2=A0 (unless (or (equal dir (let ((buf (tex-shell-buf-no-= error)))
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(and buf (with-current-buffer buf
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 default-directory))))
=C2=A0 = =C2=A0 =C2=A0 (not dir))
=C2=A0 =C2=A0 (let (shell-dirtrack-verbose)
=C2=A0 =C2=A0 =C2=A0 (tex-send-command = tex-shell-cd-command dir)))

c= hange

=
=C2=A0 =C2=A0equal dir = -> equal "garbage" in the line with unless.

This will force the cd command to always execut= e.

Here's the patch I mad= e

--- tex-mode.0.el 2020-07-31 16:22:30.380924724 -0700
+++ tex-mode.1.el 2020-07-31 14:00:36.344874591 -0700
@@ -2482,7 +2482,8 @@
=C2=A0 =C2=A0 =C2=A0= (tex-send-tex-command compile-command dir)))
=C2=A0
=C2=A0(defun tex-send-tex-command (cmd &optional dir)=
-=C2=A0 (unless = (or (equal dir (let ((buf (tex-shell-buf-no-error)))
+=C2=A0 (setq nodir "garbage"= ) ;; dir -> nodir=C2=A0 force a cd=C2=A0 nodir!=3Ddir
+=C2=A0 (unless (or (equal nodir (l= et ((buf (tex-shell-buf-no-error)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (and buf (with-current-buffer buf=
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0default-directory))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (not dir))


--000000000000180c1905abdbc4ef-- From unknown Sun Jun 22 08:03:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42624: Additional solutions References: In-Reply-To: Resent-From: RDS Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Aug 2020 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42624@debbugs.gnu.org Received: via spool by 42624-submit@debbugs.gnu.org id=B42624.1596478222931 (code B ref 42624); Mon, 03 Aug 2020 18:11:01 +0000 Received: (at 42624) by debbugs.gnu.org; 3 Aug 2020 18:10:22 +0000 Received: from localhost ([127.0.0.1]:45989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2euk-0000Ex-KB for submit@debbugs.gnu.org; Mon, 03 Aug 2020 14:10:22 -0400 Received: from mail-ua1-f44.google.com ([209.85.222.44]:34691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2euh-0000Eg-0P for 42624@debbugs.gnu.org; Mon, 03 Aug 2020 14:10:21 -0400 Received: by mail-ua1-f44.google.com with SMTP id o25so12085856uar.1 for <42624@debbugs.gnu.org>; Mon, 03 Aug 2020 11:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=z4AGDai8/pyhN9YmN4M8LjD6oYRhu8/zlhiZxjo9ZyI=; b=XI7kq6zt3fXKgtPXnzmpHPtn/aTvcXYOAAHX7NuTpOUT47nCgX20tNDpZrsfCAtS2s sZo/0K+yeFCFD6fmluRAstK3JHnreUdYOZZSmWZ/QJSAdu/Hi1NKSeVMGLAZ4ACBsO3c PUCQcJO8XLUiX3gG1e18IzJZ6tlstUGSjMrPiH9v0VKsHCmKAkHn9BzMRvxjv9Xl09Od VrpSrKORmSYN9MTBlKCceZ6HurCXvVU5uSzxA9lR3nWikbVSvJbCm9Bqc8/U0W+cc/Vh B/5axwK8N2lxXxCvlilSC+S3oBWOlZoAnu8yvoccUX6y3BT6XyPKp7gTD5pq7I+kSKKr v0qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=z4AGDai8/pyhN9YmN4M8LjD6oYRhu8/zlhiZxjo9ZyI=; b=o3aeZVVOLNhVhOevWcXPOiqSChkIingN0gltf9fcOtydRQxJzzxt/GlthmvT2/UEEQ Erc3vYrpzr+r7Q8VTzgdMVwjbCit2rtxYT3BZBttZRMim1J77eXKrkyVriD0v0RZUZp9 XAXSLh6MpE1gpOWbKa/EY43U3BSULvbF2vY/HmoWxJModOAKyPd6Kq2NFSx2ojJ3bLg6 X9pkv+LvXb5wpo3iRJkKxKjIwarhR/sCG4Gt9c2SPzEtVprt63RZuNvP6Qpb1HCY/dx9 k9YNbGdVYTTy2okYWcODfwlqmBRb8kDmdfJmDdniE9E4tEeFZQapKfCpHL0zrN9h0Ukg DWqw== X-Gm-Message-State: AOAM531z+6XI74g1m2ePBAIYGVYQo+sEz5SIi1P6vDdWQtJDQKS/YfwI t0fJTmjV7hsrdoGgn4K4hHhbm8mXnqIsqzKidFz4uVSWFrg= X-Google-Smtp-Source: ABdhPJwnrGdakHBzxblY4KfAl+2ZqKHG3IxRWFuel+0DVWAvWANBo+ITH68SEe1MAHTlP1MK+cUKT39rnCINlGy1Qrk= X-Received: by 2002:ab0:1052:: with SMTP id g18mr12396057uab.62.1596478212285; Mon, 03 Aug 2020 11:10:12 -0700 (PDT) MIME-Version: 1.0 From: RDS Date: Mon, 3 Aug 2020 11:09:35 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000bc297605abfd0c16" X-Spam-Score: 0.3 (/) 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.7 (/) --000000000000bc297605abfd0c16 Content-Type: text/plain; charset="UTF-8" I have found two other code modifications that fix the problem. (define-derived-mode tex-shell shell-mode "TeX-Shell" ;; line 2000 (setq-local compilation-error-regexp-alist tex-error-regexp-alist) (setq-local default-directory "") ;; My addition; most anything(?) inside quotes is ok (compilation-shell-minor-mode t)) or (defun tex-send-tex-command (cmd &optional dir) ;; line 2484 (unless (or (equal dir (let ((buf)) ;; removed (tex-shell-buf-no-error) ;; buf is nil (and buf (with-current-buffer buf default-directory)))) Among all the proposals (& there are certainly more), I can *not* choose because I do not understand all the conditions that must be satisfied for proper functioning of the entire module. My choices work for my restricted situations. That is probably not enough for more general cases. RDS --000000000000bc297605abfd0c16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I h= ave found two other code modifications that fix the problem.

(define= -derived-mode tex-shell shell-mode "TeX-Shell" ;; line 2000
= =C2=A0 (setq-local compilation-error-regexp-alist tex-error-regexp-alist)=C2=A0 (setq-local default-directory "") ;; My addition; most a= nything(?) inside quotes is ok
=C2=A0 (compilation-shell-minor-mode t))=

or

(defun tex-send-tex-command (cmd &optional dir) ;; li= ne 2484
=C2=A0 (unless (or (equal dir (let ((buf)) ;; removed (tex-shell= -buf-no-error) ;; buf is nil
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(and buf (with-curre= nt-buffer buf
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 default-directory))))

Among all the proposals (& there are c= ertainly more), I can *not* choose because I do not understand all the cond= itions that must be satisfied for proper functioning of the entire module. = My choices work for my restricted situations. That is probably not enough f= or more general cases.

RDS

--000000000000bc297605abfd0c16-- From unknown Sun Jun 22 08:03:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42624: More info References: In-Reply-To: Resent-From: RDS Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Aug 2020 20:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42624@debbugs.gnu.org Received: via spool by 42624-submit@debbugs.gnu.org id=B42624.159648697622865 (code B ref 42624); Mon, 03 Aug 2020 20:37:01 +0000 Received: (at 42624) by debbugs.gnu.org; 3 Aug 2020 20:36:16 +0000 Received: from localhost ([127.0.0.1]:46164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2hBv-0005wj-Sv for submit@debbugs.gnu.org; Mon, 03 Aug 2020 16:36:16 -0400 Received: from mail-vk1-f173.google.com ([209.85.221.173]:44234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2hBt-0005wV-3V for 42624@debbugs.gnu.org; Mon, 03 Aug 2020 16:36:14 -0400 Received: by mail-vk1-f173.google.com with SMTP id q72so1381352vkb.11 for <42624@debbugs.gnu.org>; Mon, 03 Aug 2020 13:36:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=giDaTpvzwPq2BWKZv1ZsSjS7yjKcee9x9kYmibFklQQ=; b=gQDddd9B4ZdpyJfdCy2Epw4/DIMAY22mAtS3hJb8ws3Qc/ryiZKx/Xi1zltKQZzRgs 6fnBcYQL3zMISACb2cv9mH26mFUCGFCqEM8R/ZTZUFIyQMD/hEJWgc4YNtYBBRfUMNKd /lyYW/PkfodzMhSiGae7jGGq8zbXKQTldbVFDIDUInvHEAkB+L04kriYMqjC9FwKSG1g OnW/M7FLHZMXcvi/7KFXiQhdUjtSx254ewqCBVIBNC2uy4BNLzz2AmZ6PyBtioGTpd3h F/yIZ/rg+h59Y5cFTyqO+2RUJ0DtYp/5p+Jpe9L56oMOhNKbVCDD2rAIJ3vOawUTm+BL c0ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=giDaTpvzwPq2BWKZv1ZsSjS7yjKcee9x9kYmibFklQQ=; b=ZI4LLC/Ls/Sy6X4BjmLDA2XpUnPsa2vFyTp8cPLvURc3dS5Q40vbFCmKDYW6jjvK+C TbIKgaqtVjCtKYi/TDw2jjrq9hi3ba3/KNb/RzNwtJQEZcnR59ILAY54JEBsA1y/AKdm Fy2Dqc99iWmbZ2jaa7AvFhq65I8aZODJFT9Jv8LH6nsbywx2K1sxkehqN5y6h2PbRj3M 5gM82RenyRZURc3PHn4BsRNr3NXoupoOCtlnTSe5Jp2iXNQkMHH29ENmAFDbMV25ebPp 17/QtV2X0l9eGufM4QpzP7e8ZoYLvbe/SbxmbUtaehN6lJzAUGajUKUlJqcdKUZYz9gC Mt4g== X-Gm-Message-State: AOAM530d31NYgUXwNCoV4cIzrVPrJIIrAhHXt8kaWxeS1JpzMc8mXDuS Hv3cliK0C0nrAvnAPUQoIkymPpb71eDrb7p587KfdrdRfhM= X-Google-Smtp-Source: ABdhPJwIHpvypkvFY3Pqn28Es1DFpL+BF2p+4GeIyA/RdFj4LA9qodLdJzZ777zdyrqGyrVubrRtY/bTOFMWk9cM5Sg= X-Received: by 2002:a1f:2490:: with SMTP id k138mr12603870vkk.98.1596486966990; Mon, 03 Aug 2020 13:36:06 -0700 (PDT) MIME-Version: 1.0 From: RDS Date: Mon, 3 Aug 2020 13:35:30 -0700 Message-ID: Content-Type: multipart/alternative; boundary="0000000000008e5af705abff16e8" X-Spam-Score: 0.3 (/) 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.7 (/) --0000000000008e5af705abff16e8 Content-Type: text/plain; charset="UTF-8" More info The function tex-file() is ok. It yields the correct tex/latex command, file name, & directory. The trouble is the routines that create the tex-shell. Note that the function tex-set-buffer-directory(...) is *never* called. If it is used thusly (defun tex-send-tex-command (cmd &optional dir) ;; line 2484 (setq default-directory (tex-set-buffer-directory "*tex-shell*" "/tmp")) ;; new statement here (unless (or (equal dir (let ((buf (tex-shell-buf-no-error))) (and buf (with-current-buffer buf default-directory)))) it works; yet another solution. This new addition could certainly be placed elsewhere as well. RDS --0000000000008e5af705abff16e8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mor= e info

The function tex-file() is ok. It yields the correct tex/late= x command, file name, & directory. The trouble is the routines that cre= ate the tex-shell. Note that the function tex-set-buffer-directory(...) is = *never* called. If it is used thusly

(defun tex-send-tex-command (cm= d &optional dir) ;; line 2484
=C2=A0 (setq default-directory (tex-se= t-buffer-directory "*tex-shell*" "/tmp")) ;; new statem= ent here
=C2=A0 (unless (or (equal dir (let ((buf (tex-shell-buf-no-erro= r)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(and buf (with-current-buffer buf
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 default-directory))))<= br>
it works; yet another solution. This new addition could certainly be= placed elsewhere as well.

RDS

--0000000000008e5af705abff16e8-- From unknown Sun Jun 22 08:03:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42624: emacs - tex-mode.el - build failure - not a bug References: In-Reply-To: Resent-From: RDS Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Aug 2020 00:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42624@debbugs.gnu.org, 42570@debbugs.gnu.org Received: via spool by 42624-submit@debbugs.gnu.org id=B42624.1596760465809 (code B ref 42624); Fri, 07 Aug 2020 00:35:02 +0000 Received: (at 42624) by debbugs.gnu.org; 7 Aug 2020 00:34:25 +0000 Received: from localhost ([127.0.0.1]:55152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3qL3-0000Cx-LT for submit@debbugs.gnu.org; Thu, 06 Aug 2020 20:34:25 -0400 Received: from mail-vs1-f41.google.com ([209.85.217.41]:36529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3qL1-0000Ch-1j; Thu, 06 Aug 2020 20:34:25 -0400 Received: by mail-vs1-f41.google.com with SMTP id i129so136198vsi.3; Thu, 06 Aug 2020 17:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rdVaPGX9ZsCbKU52vA59egEkF9vTKpZY4ACugud0WUQ=; b=WmT8ZeLQejMSIUIfn7sc/mTDA8xBBq+OOstkdFC2B/pp3C/0aNByr07RVuR86+I5jg qwpUkR9QTijSnS9EV59X98HxnvMWbVWvDqPt73/YSPy7v+Y9qZ8mHSWueOKmY+Q8aFSt Rv5CrAP47QwL3gveMq8UyINPutQnpHNjz8FMksiKebhRiQg5OEU+EOaCqyxN0xotUOBu kyMwKwajwf8c5V7FBYzkJiphOnwGv34GOLcWPlAjwY0bqu+fkwxhAwFvhD6LhzGvmMye rFn1sEFgQgizkRil899CVZiWo8gxKGfoxLkKZJBKaYZw/f1R7sXXHs0JdTP9CSIfOE6i MvOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rdVaPGX9ZsCbKU52vA59egEkF9vTKpZY4ACugud0WUQ=; b=iv1mej3+W5yc2kn+G0BK8rSeJKWKHYKxs1A7eoI7nEFgUjVtX4hdVcJ3fYUzTZEdKT ABklpeHdUhQFLElgimnqmBbugP5lHj+KWtyDzRwIQ3VkzkTPmveQQ9xLXlUDN5YI0RbZ KDh2biIxJGdWYETO1mXXgHtx4luVwMWhBQXCP792Kni5Cd5mWXsktD9KNubuF/qIU6wQ 4WFd9HrCHU2UzflXH0wuEqaEdNqPVA++sfCRknghkmX+WOZoA2ogg/l0xj+RircSzDfG M5pIOtATo5NW4RKXzye64QGwptoDzfQ5jfKWoPSEHbkpq3L3oPIxOcNfRh3ToaGAOxO2 kP+w== X-Gm-Message-State: AOAM530uO+ByAcIBaQyibyBkVsLd12u2d1edBRL1jhaKq17tGL1h3KHu zAg2pcd/c+V9eARHZLOWs3yg7B2KGZoyvHPyiT423L0i X-Google-Smtp-Source: ABdhPJzBM2kITfD2iO2gI5mC5kn71xBwyd97qIPMQ3f9CDqmU7LoOVtFG6voIBIaG6VSZQKh/kz22903xnQ/p8T6QIk= X-Received: by 2002:a05:6102:30ba:: with SMTP id y26mr8201940vsd.122.1596760457033; Thu, 06 Aug 2020 17:34:17 -0700 (PDT) MIME-Version: 1.0 From: RDS Date: Thu, 6 Aug 2020 17:33:11 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000d53ac205ac3ec351" X-Spam-Score: 0.3 (/) 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.7 (/) --000000000000d53ac205ac3ec351 Content-Type: text/plain; charset="UTF-8" A test using a Fedora 32 Live image + emacs + texlive-collection-latex could not replicate the build failure described on this reporter's machine. The latter has some problem with configuration or missing packages. As such, these postings should be removed; it is not a bug. --000000000000d53ac205ac3ec351 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A t= est using a Fedora 32 Live image=C2=A0+ emacs=C2=A0+ texlive-collection-lat= ex could not replicate the build failure described on this reporter's m= achine. The latter has some problem with configuration or missing packages.= As such, these postings should be removed; it is not a bug.
--000000000000d53ac205ac3ec351-- From unknown Sun Jun 22 08:03:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42624: bug#42570: emacs - tex-mode.el - build failure - not a bug Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Aug 2020 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: RDS Cc: 42624@debbugs.gnu.org, 42570@debbugs.gnu.org Received: via spool by 42624-submit@debbugs.gnu.org id=B42624.159678411014869 (code B ref 42624); Fri, 07 Aug 2020 07:09:02 +0000 Received: (at 42624) by debbugs.gnu.org; 7 Aug 2020 07:08:30 +0000 Received: from localhost ([127.0.0.1]:55576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3wUP-0003rl-V7 for submit@debbugs.gnu.org; Fri, 07 Aug 2020 03:08:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3wUL-0003rJ-P5; Fri, 07 Aug 2020 03:08:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xhfva3WF4SLVEbPALns75jc/tFQXlYXPIphICenaIeQ=; b=YdlIlqc9rlQaGYBnt2ndNkNj4s b4tJbM2FAVVx75Tvr/Vuf0uzwo6jJqtbHLyk3XpwcHj3BziUoAlUyBp3FqEzLkdi/GZDyQo1cM50q PyVIe8Eu2NjUccck69W8iizgLNm8nisSy1t+foQtaX5bmKPiih5ssCYEpOWcPE/Fn48c=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3wUD-0003zf-FR; Fri, 07 Aug 2020 09:08:20 +0200 From: Lars Ingebrigtsen References: Date: Fri, 07 Aug 2020 09:08:16 +0200 In-Reply-To: (RDS's message of "Thu, 6 Aug 2020 17:33:11 -0700") Message-ID: <871rkj7x27.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: RDS writes: > A test using a Fedora 32 Live image + emacs + texlive-collection-latex > could not replicate the build failure described on this reporter's > machine. The latter has some problem with configuration [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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 (-) RDS writes: > A test using a Fedora 32 Live image + emacs + texlive-collection-latex > could not replicate the build failure described on this reporter's > machine. The latter has some problem with configuration or missing > packages. As such, these postings should be removed; it is not a bug. OK; closing the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 03:08:58 2020 Received: (at control) by debbugs.gnu.org; 7 Aug 2020 07:08:58 +0000 Received: from localhost ([127.0.0.1]:55582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3wUs-0003sf-LD for submit@debbugs.gnu.org; Fri, 07 Aug 2020 03:08:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3wUq-0003sS-UV for control@debbugs.gnu.org; Fri, 07 Aug 2020 03:08:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=A+JYLb//u/LZ8+h4YssTS9un6gkhDozPxgL/gnCrHPw=; b=s3LpwE8BKYRX+wh/O44Inylf9J mJE/iDRZSkrQPXUMV7wEdfjp7InkCyDR19Off8ONHbQMIk/F+k50oHwWCxBqeHQoxrlgBIDGbqlKv TAnZGIGgApxMTZjXs2U2sKZN6Fad4bf+KFlhL3X0SwXozxbNDTdkQKME5D3H7DHmii+0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3wUj-0003zs-74 for control@debbugs.gnu.org; Fri, 07 Aug 2020 09:08:51 +0200 Date: Fri, 07 Aug 2020 09:08:48 +0200 Message-Id: <87v9hv6igv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42624 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 42624 notabug close 42624 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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: -1.0 (-) tags 42624 notabug close 42624 quit