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>, Gregory Heytings <gregory <at> heytings.org>, 50187 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: bug#50187: 28.0.50; tramp is called from calendar
Date: Sat, 17 Sep 2022 08:48:39 +0200
Sam Steingold <sds <at> gnu.org> writes:

Hi Sam,

> Specifically, define a function `disinherit' (and add `disinherit'
> optional argument to `get-buffer-create' et al) that would reset
> `default-directory' et al to the "root" value (whatever the value would
> be in *scratch* for `emacs -Q`) for the newly created buffer.
>
> Then encourage developers to use disinherit in things like games,
> calendar &c &c &c.

The usual approach in packages, which do not want to be offended by a
remote default-directory, shall be

--8<---------------cut here---------------start------------->8---
(let ((default-directory temporary-file-directory))
   ...)
--8<---------------cut here---------------end--------------->8---

But it is up to the package to do so in its implementation.

> Thank you.

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.