GNU bug report logs - #63300
29.0.90; Tramp keeps customizing variables on every connection

Previous Next

Package: emacs;

Reported by: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>

Date: Fri, 5 May 2023 10:43:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.90

Fixed in version 29.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Jimmy Wong <wyuenho <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 63300 <at> debbugs.gnu.org
Subject: Re: bug#63300: 29.0.90; Tramp keeps customizing variables on
 every connection
Date: Sun, 4 Jun 2023 12:59:39 +0100
[Message part 1 (text/plain, inline)]
To put this more concretely, if some packages I’m requiring in my init file transitively requires tramp, then I go to the package menu and install a new package, my customs file will not only have saved the new package in package-selected-packages, but also these gigantic connection-local-*-alist variables. This is just too much surprises.

Again, I think if tramp needs to cache the values of these variables, they should be written to a file in user-emacs-directory, not hacked in a customizable variable.
On 4 Jun 2023 at 12:42 PM +0100, Michael Albinus <michael.albinus <at> gmx.de>, wrote:
> Jimmy Wong <wyuenho <at> gmail.com> writes:
>
> Hi,
>
> > I have since found out that simply M-x load-library tramp will have
> > these connection-local-*-alist variables set without haven’t done
> > anything.
>
> Yes, that's intended. But nothing should have been written to your init
> file with this scenario.
>
> Best regards, Michael.
[Message part 2 (text/html, inline)]

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

Previous Next


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