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

Previous Next

Package: emacs;

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

From: RDS <rds1944 <at> gmail.com>
To: 42624 <at> debbugs.gnu.org
Subject: bug#42624: More info
Date: Mon, 3 Aug 2020 13:35:30 -0700
[Message part 1 (text/plain, inline)]
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
[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.