unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: RDS <rds1944@gmail.com>
To: 42624@debbugs.gnu.org
Subject: bug#42624: More info
Date: Mon, 3 Aug 2020 13:35:30 -0700	[thread overview]
Message-ID: <CABj_U1PUhf_VOCD1QzO0na8ApDmOBW33ZYVVy9rfkmV+_LuvFQ@mail.gmail.com> (raw)
In-Reply-To: <CABj_U1Ndv7qz1Pc7XwcDCQFN9NCg0CkQG4ZAFBxDtosG32=__w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 942 bytes --]

  parent reply	other threads:[~2020-08-03 20:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31  0:25 bug#42624: emacs 26.3 : tex-mode.el : tex & latex compile failures RDS
2020-08-02  2:27 ` RDS
2020-08-03 18:09 ` bug#42624: Additional solutions RDS
2020-08-03 20:35 ` RDS [this message]
2020-08-07  0:33 ` bug#42624: emacs - tex-mode.el - build failure - not a bug RDS
2020-08-07  7:08   ` bug#42570: " Lars Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2020-07-28  2:14 bug#42570: tex-mode compiles / builds only in /tmp RDS
2020-07-28 23:19 ` bug#42570: tex-mode compiles / builds only in /tmp - more info RDS
2020-08-04 10:25   ` Lars Ingebrigtsen
2020-08-06  2:06 ` bug#42570: Lars suggested tests RDS
2020-08-06  7:26   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABj_U1PUhf_VOCD1QzO0na8ApDmOBW33ZYVVy9rfkmV+_LuvFQ@mail.gmail.com \
    --to=rds1944@gmail.com \
    --cc=42624@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).