GNU bug report logs - #42624
emacs 26.3 : tex-mode.el : tex & latex compile failures

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: RDS <rds1944@HIDDEN>; Keywords: notabug; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 42624 <at> debbugs.gnu.org and RDS <rds1944@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 42624 <at> debbugs.gnu.org:


Received: (at 42624) by debbugs.gnu.org; 7 Aug 2020 07:08:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 07 03:08:30 2020
Received: from localhost ([127.0.0.1]:55576 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k3wUP-0003rl-V7
	for submit <at> 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 <larsi@HIDDEN>)
 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 <larsi@HIDDEN>)
 id 1k3wUD-0003zf-FR; Fri, 07 Aug 2020 09:08:20 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: RDS <rds1944@HIDDEN>
Subject: Re: bug#42570: emacs - tex-mode.el - build failure - not a bug
References: <CABj_U1Pe5x-Cg+0f+XawpfniKdDsitbegtyNucf5G3yGuzh=4Q@HIDDEN>
 <CABj_U1M0M_WHMCyNPuMs_g2a0FOrJuqY=e96PuCfpoVvJGYMOQ@HIDDEN>
Date: Fri, 07 Aug 2020 09:08:16 +0200
In-Reply-To: <CABj_U1M0M_WHMCyNPuMs_g2a0FOrJuqY=e96PuCfpoVvJGYMOQ@HIDDEN>
 (RDS's message of "Thu, 6 Aug 2020 17:33:11 -0700")
Message-ID: <871rkj7x27.fsf@HIDDEN>
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 <rds1944@HIDDEN> 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-Debbugs-Envelope-To: 42624
Cc: 42624 <at> debbugs.gnu.org, 42570 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

RDS <rds1944@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42624; Package emacs. Full text available.

Message received at 42624 <at> debbugs.gnu.org:


Received: (at 42624) by debbugs.gnu.org; 7 Aug 2020 00:34:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 06 20:34:25 2020
Received: from localhost ([127.0.0.1]:55152 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k3qL3-0000Cx-LT
	for submit <at> 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 <rds1944@HIDDEN>)
 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 <rds1944@HIDDEN>
Date: Thu, 6 Aug 2020 17:33:11 -0700
Message-ID: <CABj_U1M0M_WHMCyNPuMs_g2a0FOrJuqY=e96PuCfpoVvJGYMOQ@HIDDEN>
Subject: emacs - tex-mode.el - build failure - not a bug
To: 42624 <at> debbugs.gnu.org, 42570 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="000000000000d53ac205ac3ec351"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 42624
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large">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&#39;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.</div></div>

--000000000000d53ac205ac3ec351--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42624; Package emacs. Full text available.

Message received at 42624 <at> debbugs.gnu.org:


Received: (at 42624) by debbugs.gnu.org; 3 Aug 2020 20:36:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 03 16:36:16 2020
Received: from localhost ([127.0.0.1]:46164 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k2hBv-0005wj-Sv
	for submit <at> 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 <rds1944@HIDDEN>) id 1k2hBt-0005wV-3V
 for 42624 <at> 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 <at> 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 <rds1944@HIDDEN>
Date: Mon, 3 Aug 2020 13:35:30 -0700
Message-ID: <CABj_U1PUhf_VOCD1QzO0na8ApDmOBW33ZYVVy9rfkmV+_LuvFQ@HIDDEN>
Subject: More info
To: 42624 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="0000000000008e5af705abff16e8"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 42624
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large">Mor=
e info<br><br>The function tex-file() is ok. It yields the correct tex/late=
x command, file name, &amp; 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<br><br>(defun tex-send-tex-command (cm=
d &amp;optional dir) ;; line 2484<br>=C2=A0 (setq default-directory (tex-se=
t-buffer-directory &quot;*tex-shell*&quot; &quot;/tmp&quot;)) ;; new statem=
ent here<br>=C2=A0 (unless (or (equal dir (let ((buf (tex-shell-buf-no-erro=
r)))<br>=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<br>=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><br>it works; yet another solution. This new addition could certainly be=
 placed elsewhere as well.<br><br>RDS<br></div><div class=3D"gmail_default"=
 style=3D"font-size:large"><br></div></div>

--0000000000008e5af705abff16e8--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42624; Package emacs. Full text available.

Message received at 42624 <at> debbugs.gnu.org:


Received: (at 42624) by debbugs.gnu.org; 3 Aug 2020 18:10:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 03 14:10:22 2020
Received: from localhost ([127.0.0.1]:45989 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k2euk-0000Ex-KB
	for submit <at> 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 <rds1944@HIDDEN>) id 1k2euh-0000Eg-0P
 for 42624 <at> 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 <at> 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 <rds1944@HIDDEN>
Date: Mon, 3 Aug 2020 11:09:35 -0700
Message-ID: <CABj_U1PpZ-rx=-+87BJvUdGsa2giLSTmp7wwwziQ3yJEgo-MHA@HIDDEN>
Subject: Additional solutions
To: 42624 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="000000000000bc297605abfd0c16"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 42624
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large">I h=
ave found two other code modifications that fix the problem.<br><br>(define=
-derived-mode tex-shell shell-mode &quot;TeX-Shell&quot; ;; line 2000<br>=
=C2=A0 (setq-local compilation-error-regexp-alist tex-error-regexp-alist)<b=
r>=C2=A0 (setq-local default-directory &quot;&quot;) ;; My addition; most a=
nything(?) inside quotes is ok <br>=C2=A0 (compilation-shell-minor-mode t))=
<br><br>or<br><br>(defun tex-send-tex-command (cmd &amp;optional dir) ;; li=
ne 2484<br>=C2=A0 (unless (or (equal dir (let ((buf)) ;; removed (tex-shell=
-buf-no-error) ;; buf is nil<br>=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<br>=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><br>Among all the proposals (&amp; 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.<br></div><div class=3D"gmail_default" style=3D"font-=
size:large"><br></div><div class=3D"gmail_default" style=3D"font-size:large=
">RDS</div><div class=3D"gmail_default" style=3D"font-size:large"><br></div=
></div>

--000000000000bc297605abfd0c16--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42624; Package emacs. Full text available.

Message received at 42624 <at> debbugs.gnu.org:


Received: (at 42624) by debbugs.gnu.org; 2 Aug 2020 02:27:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 01 22:27:47 2020
Received: from localhost ([127.0.0.1]:41297 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k23j1-00038k-4e
	for submit <at> 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 <rds1944@HIDDEN>) id 1k23iz-00038X-Me
 for 42624 <at> 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 <at> 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 <rds1944@HIDDEN>
Date: Sat, 1 Aug 2020 19:27:07 -0700
Message-ID: <CABj_U1M-98RvMH+O8YTcc2ddD24XgFrsPUusLKonFcMQd4M7kg@HIDDEN>
Subject: Re: emacs 26.3 : tex-mode.el : tex & latex compile failures
To: 42624 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="000000000000180c1905abdbc4ef"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 42624
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default"><div class=
=3D"gmail_default"><br></div><div class=3D"gmail_default"><font size=3D"4">=
Alternative repair. In the troublesome lines</font></div><div class=3D"gmai=
l_default"><font size=3D"4"><br></font></div><div class=3D"gmail_default"><=
font size=3D"4">=C2=A0 (unless (or (equal dir (let ((buf (tex-shell-buf-no-=
error)))</font></div><div class=3D"gmail_default"><font size=3D"4">=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</font></div><div class=
=3D"gmail_default"><font size=3D"4">=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))))</font></div><div class=3D"gmail_=
default"><font size=3D"4"><span style=3D"white-space:pre">	</span>=C2=A0 =
=C2=A0 =C2=A0 (not dir))</font></div><div class=3D"gmail_default"><font siz=
e=3D"4">=C2=A0 =C2=A0 (let (shell-dirtrack-verbose)</font></div><div class=
=3D"gmail_default"><font size=3D"4">=C2=A0 =C2=A0 =C2=A0 (tex-send-command =
tex-shell-cd-command dir)))</font></div><div class=3D"gmail_default"><font =
size=3D"4"><br></font></div><div class=3D"gmail_default"><font size=3D"4">c=
hange</font></div><div class=3D"gmail_default"><font size=3D"4"><br></font>=
</div><div class=3D"gmail_default"><font size=3D"4">=C2=A0 =C2=A0equal dir =
-&gt; equal &quot;garbage&quot; in the line with unless.</font></div><div c=
lass=3D"gmail_default"><font size=3D"4"><br></font></div><div class=3D"gmai=
l_default"><font size=3D"4">This will force the cd command to always execut=
e.</font></div><div class=3D"gmail_default"><font size=3D"4"><br></font></d=
iv><div class=3D"gmail_default"><font size=3D"4">Here&#39;s the patch I mad=
e</font></div><div class=3D"gmail_default"><font size=3D"4"><br></font></di=
v><div class=3D"gmail_default"><font size=3D"4">--- tex-mode.0.el<span styl=
e=3D"white-space:pre">	</span>2020-07-31 16:22:30.380924724 -0700</font></d=
iv><div class=3D"gmail_default"><font size=3D"4">+++ tex-mode.1.el<span sty=
le=3D"white-space:pre">	</span>2020-07-31 14:00:36.344874591 -0700</font></=
div><div class=3D"gmail_default"><font size=3D"4">@@ -2482,7 +2482,8 @@</fo=
nt></div><div class=3D"gmail_default"><font size=3D"4">=C2=A0 =C2=A0 =C2=A0=
(tex-send-tex-command compile-command dir)))</font></div><div class=3D"gmai=
l_default"><font size=3D"4">=C2=A0</font></div><div class=3D"gmail_default"=
><font size=3D"4">=C2=A0(defun tex-send-tex-command (cmd &amp;optional dir)=
</font></div><div class=3D"gmail_default"><font size=3D"4">-=C2=A0 (unless =
(or (equal dir (let ((buf (tex-shell-buf-no-error)))</font></div><div class=
=3D"gmail_default"><font size=3D"4">+=C2=A0 (setq nodir &quot;garbage&quot;=
) ;; dir -&gt; nodir=C2=A0 force a cd=C2=A0 nodir!=3Ddir</font></div><div c=
lass=3D"gmail_default"><font size=3D"4">+=C2=A0 (unless (or (equal nodir (l=
et ((buf (tex-shell-buf-no-error)))</font></div><div class=3D"gmail_default=
"><font size=3D"4">=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=
</font></div><div class=3D"gmail_default"><font size=3D"4">=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))))</=
font></div><div class=3D"gmail_default"><font size=3D"4">=C2=A0<span style=
=3D"white-space:pre">	</span>=C2=A0 =C2=A0 =C2=A0 (not dir))</font></div><d=
iv class=3D"gmail_default"><br></div><div style=3D"font-size:large"><br></d=
iv></div></div></div>

--000000000000180c1905abdbc4ef--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42624; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Jul 2020 00:25:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 30 20:25:51 2020
Received: from localhost ([127.0.0.1]:36930 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k1Irv-0007pP-1O
	for submit <at> 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 <rds1944@HIDDEN>) id 1k1Irt-0007pI-I0
 for submit <at> 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 <rds1944@HIDDEN>) id 1k1Irt-0000xW-CZ
 for bug-gnu-emacs@HIDDEN; 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 <rds1944@HIDDEN>) id 1k1Irr-0008UQ-NY
 for bug-gnu-emacs@HIDDEN; Thu, 30 Jul 2020 20:25:49 -0400
Received: by mail-vs1-xe2a.google.com with SMTP id y8so8658739vsq.8
 for <bug-gnu-emacs@HIDDEN>; 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 <rds1944@HIDDEN>
Date: Thu, 30 Jul 2020 17:25:12 -0700
Message-ID: <CABj_U1Ndv7qz1Pc7XwcDCQFN9NCg0CkQG4ZAFBxDtosG32=__w@HIDDEN>
Subject: emacs 26.3 : tex-mode.el : tex & latex compile failures
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000075008d05abb1d443"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e2a;
 envelope-from=rds1944@HIDDEN; 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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large">ema=
cs /path/to/src.tex -&gt; C-c C-f -&gt; ok<br>=C2=A0 buffer *tex-shell* pwd=
 -&gt; /path/to<br><br>emacs /path/to -&gt; C-x d -&gt; src.tex -&gt; C-c C=
-f -&gt; src.tex not found<br>(many other variations lead to similar failur=
e)<br>=C2=A0 buffer *tex-shell* pwd -&gt; /tmp<br><br>Problem traced to fun=
ction tex-send-tex-command(...).<br>It does *not* change directory to locat=
ion of src.tex<br><br>Remove or comment out this conditional stanza<br><br>=
=C2=A0 (unless (or (equal dir (let ((buf (tex-shell-buf-no-error)))<br>=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<br>=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>	 =C2=A0=
 =C2=A0 =C2=A0(not dir))<br>=C2=A0 =C2=A0 (let (shell-dirtrack-verbose)<br>=
=C2=A0 =C2=A0 =C2=A0 (tex-send-command tex-shell-cd-command dir)))<br><br>R=
eplace with<br><br>=C2=A0 (let (shell-dirtrack-verbose) (tex-send-command t=
ex-shell-cd-command dir))<br><br>solves this error. Proper solution require=
s unless... to be repaired.<br><br></div></div>

--00000000000075008d05abb1d443--




Acknowledgement sent to RDS <rds1944@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#42624; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 7 Aug 2020 07:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.