GNU bug report logs - #50225
13.0.14; Non-file-visiting TeX buffers

Previous Next

Package: auctex;

Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>

Date: Fri, 27 Aug 2021 12:25:02 UTC

Severity: normal

Found in version 13.0.14

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Gustavo Barros <gusbrs.2016 <at> gmail.com>
Cc: 50225 <at> debbugs.gnu.org
Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers
Date: Sat, 28 Aug 2021 09:10:01 +0200
Hey Gustavo,

>> The problem is that not just the tex file doesn't exist but the
>> containing directory ~/test/ doesn't exist either.  But that seems to
>> be already set as `default-directory' so the shell commands testing
>> for the availability of the evince-based viewers should run in a
>> non-existend CWD.
>
> Well, I always create "throw away" test files under a "throw away"
> dir, not to have to deal with stray `TeX-auto-local' directories mixed
> with my actual files.  ;-)

That's a sensible habit.  I guess you haven't seen that error previously
because you always opened another tex file in some existing directory
first.  The error only occurred when tex.el was initially loaded while
default-directory was set to some non-existent directory.

>> Well, those tests will work the same no matter which
>> `default-directory', so we could bind `default-directory' to "~" for
>> those calls, I think.
>>
>> I'll come to that when I find some spare time.
>
> I'm not up-to-date with the recent changes related to the issue.

No, the problem is definitely there since 2016, no recent change
involved.

> But I thank you for looking into it when you can.

Should be fixed on master.  Please give it a try.

Bye,
Tassilo




This bug report was last modified 3 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.