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)]
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
[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.