unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jimmy Wong <wyuenho@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 63300@debbugs.gnu.org
Subject: bug#63300: 29.0.90; Tramp keeps customizing variables on every connection
Date: Sun, 4 Jun 2023 12:30:52 +0100	[thread overview]
Message-ID: <a140c676-6726-4e7c-8b54-22706e5cd19d@Spark> (raw)
In-Reply-To: <87h6rnsiup.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]

I can still reproduce this bug on the latest emacs-29 commit. I do not have tramp-save-ad-hoc-proxies set.

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.
On 4 Jun 2023 at 9:59 AM +0100, Michael Albinus <michael.albinus@gmx.de>, wrote:
> Jimmy Yuen Ho Wong <wyuenho@gmail.com> writes:
>
> Hi,
>
> > Whenever I install a package or do anything that turns on Tramp such as
> > sudoing, Tramp writes to my `custom-file-path` the variables
> > `connection-local-criteria-alist` and
> > `connection-local-profile-alist`. This is undesirable as it prevents the
> > customs files from being versioned effectively and shared across
> > multiple Emacs installations across machines. Furthermore, no package
> > should write to the customs file without the user's explicitly
> > approval. Defcustoms should be used for customizations, not caching.
>
> This sounds like the same problem as bug#62106. This was fixed in the
> emacs-29 branch as commit
>
> --8<---------------cut here---------------start------------->8---
> commit 36ade0704e1829fd27970e8d478cf4b52deed517
> Author: Michael Albinus <michael.albinus@gmx.de>
> Date: Mon Mar 13 18:02:36 2023 +0100
>
> Fix connection-local variables settings
> --8<---------------cut here---------------end--------------->8---
>
> Tramp itself calls customize-save-variable only in case you use a
> multi-hop method, and you have set tramp-save-ad-hoc-proxies to a
> non-nil value. This behavior has been implemented with commit
>
> --8<---------------cut here---------------start------------->8---
> commit 53dc7bec8303584772e0922acb64aa6e1625b556
> Author: Michael Albinus <michael.albinus@gmx.de>
> Date: Mon May 29 11:22:54 2023 +0200
>
> Fix regression when saving tramp-default-proxies-alist (Do not merge)
> --8<---------------cut here---------------end--------------->8---
>
> Could you, please, check?
>
> Best regards, Michael.

[-- Attachment #2: Type: text/html, Size: 2633 bytes --]

  reply	other threads:[~2023-06-04 11:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05 10:42 bug#63300: 29.0.90; Tramp keeps customizing variables on every connection Jimmy Yuen Ho Wong
2023-06-04  8:59 ` Michael Albinus
2023-06-04 11:30   ` Jimmy Wong [this message]
2023-06-04 11:42     ` Michael Albinus
2023-06-04 11:44       ` Jimmy Wong
2023-06-04 11:56         ` Michael Albinus
2023-06-04 11:59       ` Jimmy Wong
2023-06-04 12:05         ` Michael Albinus
2023-06-04 12:16           ` Jimmy Wong
2023-06-04 12:21             ` Michael Albinus
2023-06-04 12:22               ` Jimmy Wong
2023-06-04 16:55                 ` Jimmy Wong
2023-06-04 17:24                   ` Eli Zaretskii
2023-06-06 11:35                     ` Michael Albinus
2023-06-06 12:04                       ` Eli Zaretskii
2023-06-08  8:08                         ` Michael Albinus
2023-06-06 11:46                   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a140c676-6726-4e7c-8b54-22706e5cd19d@Spark \
    --to=wyuenho@gmail.com \
    --cc=63300@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).