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: Additional solutions
Date: Mon, 3 Aug 2020 11:09:35 -0700	[thread overview]
Message-ID: <CABj_U1PpZ-rx=-+87BJvUdGsa2giLSTmp7wwwziQ3yJEgo-MHA@mail.gmail.com> (raw)
In-Reply-To: <CABj_U1Ndv7qz1Pc7XwcDCQFN9NCg0CkQG4ZAFBxDtosG32=__w@mail.gmail.com>

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

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

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

  parent reply	other threads:[~2020-08-03 18:09 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 ` RDS [this message]
2020-08-03 20:35 ` bug#42624: More info RDS
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_U1PpZ-rx=-+87BJvUdGsa2giLSTmp7wwwziQ3yJEgo-MHA@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).