GNU bug report logs -
#42624
emacs 26.3 : tex-mode.el : tex & latex compile failures
Previous Next
Reported by: RDS <rds1944 <at> gmail.com>
Date: Fri, 31 Jul 2020 00:26:02 UTC
Severity: normal
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]
This bug report was last modified 4 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.