GNU bug report logs - #50187
28.0.50; tramp is called from calendar

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Tue, 24 Aug 2021 15:07:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 50187 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Sam Steingold <sds <at> gnu.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 50187 <at> debbugs.gnu.org
Subject: Re: bug#50187: 28.0.50; tramp is called from calendar
Date: Tue, 23 Aug 2022 05:24:54 +0200
Sam Steingold <sds <at> gnu.org> writes:

> >> (because `.' is a part of `load-path'
> >
> > Ok, but it's not there by default, right?
>
> I have no idea why it was there (it is not there now!)
> I am not even sure if it was there then.
> My only point is that disk access triggered from a buffer with a tramp
> `default-directory' results in tramp being activated and trying to
> touch the remote.
> Dunno why.
> My theory was `load-path', looks like I was wrong.

Not really: your backtrace very much looks like the function
`calendar-cursor-to-visible-date' was autoloaded.  Autoloads don't
contain complete paths, they only contain relative file names.  So the
`load-path' is searched, and if "." or nil is at the beginning, the
default-directory is searched first.  Else the standard file would have
been found before default-directory is touched.  Quite plausible that
this is what you saw.

Michael.




This bug report was last modified 1 year and 135 days ago.

Previous Next


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