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: Sam Steingold <sds <at> gnu.org>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 50187 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>, Michael Albinus <michael.albinus <at> gmx.de>
Subject: bug#50187: 28.0.50; tramp is called from calendar
Date: Fri, 16 Sep 2022 14:45:25 -0400
> * Gregory Heytings <tertbel <at> urlgvatf.bet> [2022-09-16 17:26:45 +0000]:
>
>>> But as Michael said you should probably not use nil.
>>
>> I am not sure what you mean, could you please clarify?
>>
>
> The docstring says "it should be an absolute directory name", and nil
> is not an absolute directory name 😉

Ah, right, the initial global value of `default-directory' is nil, but I do

(setq-default default-directory (expand-file-name "~/"))

>> ... mostly because I was still hoping for a fix in Emacs ;-(
>
> It's not clear to me what the "fix" would be here, can you explain
> what you have in mind?

1. `default-directory' should have a global default, see above
2. new buffers should inherit `default-directory' from the global
default instead of the previous buffer from which this one was created.

Thank you!

-- 
Sam Steingold (https://aphar.dreamwidth.org/) on darwin Ns 10.3.2113
https://lastingimpactpsychology.com https://steingoldpsychology.com
https://ffii.org https://jihadwatch.org http://think-israel.org
The more project management you do, the less likely your project is to succeed.




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.