From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jimmy Wong Newsgroups: gmane.emacs.bugs Subject: bug#63300: 29.0.90; Tramp keeps customizing variables on every connection Date: Sun, 4 Jun 2023 12:59:39 +0100 Message-ID: <666e41e6-b1fc-4dd3-a190-187a73c868f8@Spark> References: <87h6rnsiup.fsf@gmx.de> <871qirsbcd.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="647c7cc5_6314e978_d994" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14129"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63300@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 14:01:45 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5mQb-0003V4-4y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 14:01:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5mQ5-0006Hf-33; Sun, 04 Jun 2023 08:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5mPu-0006GV-QF for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 08:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5mPu-0000l2-GO for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 08:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5mPu-00078t-1I for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 08:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2023 12:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63300 X-GNU-PR-Package: emacs Original-Received: via spool by 63300-submit@debbugs.gnu.org id=B63300.168588001527387 (code B ref 63300); Sun, 04 Jun 2023 12:01:01 +0000 Original-Received: (at 63300) by debbugs.gnu.org; 4 Jun 2023 12:00:15 +0000 Original-Received: from localhost ([127.0.0.1]:45189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5mP8-00077f-H8 for submit@debbugs.gnu.org; Sun, 04 Jun 2023 08:00:14 -0400 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:48346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5mP6-00076J-GW for 63300@debbugs.gnu.org; Sun, 04 Jun 2023 08:00:13 -0400 Original-Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-3f6e1393f13so32006615e9.0 for <63300@debbugs.gnu.org>; Sun, 04 Jun 2023 05:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685880006; x=1688472006; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=gDRl3GPZhYflbGiijwqPF2wTfFwn3f+0rgJeqYkEwio=; b=llIYuCp4ITkNFgwrlZahvvWbtjXzoeLfi2wglTqdfmimlDhxaqdGpCxp81jZFZVtH6 ci5SYBUlcqbDmQis/gjQK/KCutJatxLyT+dw7cPBfScKxo7ESY6B2AQLuS4YNMmswHDl xIHdjId2MFkb7ocIrIFGf3vGC2Q45lrGUkGcqcEOp59xivVJjuOaJ4BziAxI7wBDYE9i 99b9yR0ERCNbA9s155eMFDQDsk5cVUR0iRJ/3SLoGI1Tt6JaT4/A/sF46GtLQ1ltoAYi IreTC5MT7igDfDgdcqltyiF5jJISyawtcuW7jw+Qx3tU4M7EcwRUgllEMDYb+XI0958y Fgog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685880006; x=1688472006; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gDRl3GPZhYflbGiijwqPF2wTfFwn3f+0rgJeqYkEwio=; b=lgGnLwTsHGy79jJ4OwptuCGycOrutz2FJIwW2D4iyLb3/BH2W2ji7ejVnoE5qFN1TI cu5DnWFWdnEuULlDGa8YhhJ/qMO0tzWcqemPyz8hCfSPcF3MPrIH1PgbsDRUpPDwtvx8 i8Gq1LoApgZgLKIsXguE/QY/r7FVMb0HgD1HY+pn8M9O88Y8g+ofCK9AWkwrrObHLbWk V4qiZSyOhBE56zTUrWSY0K9BoIbggQoGH26achqwKE5Cjv/BtKAtHWjGwo/KE90+Chji YMJO4dpsfBxo+/Ks1SbrN/DbkvGQVtn7mjAJg4TP96xbSf6wauxyEywfVgHstoZBBAqd 2CPw== X-Gm-Message-State: AC+VfDzEtGGjq2jjczQaGK4BRPdW5RwVPpMJyWUUlChK1rhMpgqtUG/W /D5dGq0ntFEQDcdSc12zyxjMmpHQX6c= X-Google-Smtp-Source: ACHHUZ4GrH21O7pKuGaWjDzS0se3s3rScyFyRiAL/CgLiVQvenwydKqfDq1FsMz8F3e6+swfhHI2pQ== X-Received: by 2002:adf:ee51:0:b0:2f9:ee8c:a2fa with SMTP id w17-20020adfee51000000b002f9ee8ca2famr2906988wro.64.1685880006526; Sun, 04 Jun 2023 05:00:06 -0700 (PDT) Original-Received: from [2a01:4b00:89a0:2400:ba:2f15:100:0] ([2a01:4b00:89a0:2400:6d6f:7f4f:d888:5784]) by smtp.gmail.com with ESMTPSA id n8-20020a5d4c48000000b00301a351a8d6sm6858872wrt.84.2023.06.04.05.00.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Jun 2023 05:00:06 -0700 (PDT) In-Reply-To: <871qirsbcd.fsf@gmx.de> X-Readdle-Message-ID: 666e41e6-b1fc-4dd3-a190-187a73c868f8@Spark X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262936 Archived-At: --647c7cc5_6314e978_d994 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline To put this more concretely, if some packages I=E2=80=99m 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, the= y should be written to a file in user-emacs-directory, not hacked in a cu= stomizable variable. On 4 Jun 2023 at 12:42 PM +0100, Michael Albinus , wrote: > Jimmy Wong writes: > > Hi, > > > I have since found out that simply M-x load-library tramp will have > > these connection-local-*-alist variables set without haven=E2=80=99t = done > > anything. > > Yes, that's intended. But nothing should have been written to your init= > file with this scenario. > > Best regards, Michael. --647c7cc5_6314e978_d994 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
To put this more concretely, if some packages I=E2=80= =99m 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 surpri= ses.

Again, I think if tramp needs to cache the values of these variables, the= y should be written to a file in user-emacs-directory, not hacked in a cu= stomizable variable.
On 4 Jun 2023 at 12:42 PM +0100, Mi= chael Albinus <michael.albinus=40gmx.de>, wrote:
Jimmy Wong <wyuenho=40gmail.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=E2=80=99t done=
anything.

Yes, that's intended. But nothing should have been written to your init file with this scenario.

Best regards, Michael.
--647c7cc5_6314e978_d994--