GNU bug report logs -
#63300
29.0.90; Tramp keeps customizing variables on every connection
Previous Next
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 #29 received at 63300 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Well, yes, I consider this a poorly considered “feature”, or arguably a bug, for exactly the reason you said, they are local to connections and machines, and thus highly variable.
We can probably argue whether this is a bug in tramp or a bug in customize-save-variable tho (why on earth does the act of saving a single variable value saves all customized values if a custom file exists?)
On 4 Jun 2023 at 1:05 PM +0100, Michael Albinus <michael.albinus <at> gmx.de>, wrote:
> Jimmy Wong <wyuenho <at> gmail.com> writes:
>
> > 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.
>
> But these Tramp settings are connection-local, meaning they are
> different for different remote hosts. Connection-local variables have
> been invented for exact this purpose.
>
> Now we can argue whether connection-local-*-alist shall be user options
> or not. But exactly this has been requested, and that's why they have
> been adapted. Your request is the opposite ...
>
> 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.