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


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Sam Steingold <sds <at> gnu.org>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, Lars Ingebrigtsen <larsi <at> gnus.org>, 50187 <at> debbugs.gnu.org
Subject: bug#50187: 28.0.50; tramp is called from calendar
Date: Fri, 16 Sep 2022 16:31:45 +0200
Sam Steingold <sds <at> gnu.org> writes:

Hi Sam,

>> I'm not even sure we could provide a user option for this -- if we're
>> not using the normal default directory here, which one should we choose
>> for `default-directory'?  "~/"?  "/"?
>
> (default-value 'default-directory)

This is nil. `default-directory' has only buffer-local values.

>> If starting calendar while in a Tramp buffer is problematic for you,
>> then I think the solution is to not do that, I'm afraid.
>
> 1. calendar is not the only non-file-connected buffer

Sure. But we have catched similar errors in other packages already. And
fixed them.

> 2. when calendar is called from midnight-hook, I cannot select which
> buffer calendar starts in.

Yes. So let Tramp catch the traces, setting tramp-verbose to 10.

Best regards, Michael.




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

Previous Next


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