From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63300: 29.0.90; Tramp keeps customizing variables on every connection Date: Tue, 06 Jun 2023 15:04:09 +0300 Message-ID: <83pm683ih2.fsf@gnu.org> References: <87h6rnsiup.fsf@gmx.de> <871qirsbcd.fsf@gmx.de> <666e41e6-b1fc-4dd3-a190-187a73c868f8@Spark> <87sfb7qvoh.fsf@gmx.de> <814039a1-20ea-4068-b950-1cd9ed594e21@Spark> <87o7lvquy2.fsf@gmx.de> <3aba5090-3ed7-4a2b-b65c-872880e2bf76@Spark> <8335375efd.fsf@gnu.org> <873534rfg8.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36629"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wyuenho@gmail.com, 63300@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 06 14:07:35 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 1q6VTL-0009L5-P7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jun 2023 14:07:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6VSg-0003Q9-Bx; Tue, 06 Jun 2023 08:06:58 -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 1q6VQt-0002TM-3z for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2023 08:05:06 -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 1q6VQs-0007nI-L4 for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2023 08:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6VQr-0004pI-O1 for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2023 08:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jun 2023 12:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63300 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63300-submit@debbugs.gnu.org id=B63300.168605307718516 (code B ref 63300); Tue, 06 Jun 2023 12:05:01 +0000 Original-Received: (at 63300) by debbugs.gnu.org; 6 Jun 2023 12:04:37 +0000 Original-Received: from localhost ([127.0.0.1]:51132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6VQS-0004oa-Sm for submit@debbugs.gnu.org; Tue, 06 Jun 2023 08:04:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6VQP-0004oM-IZ for 63300@debbugs.gnu.org; Tue, 06 Jun 2023 08:04:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6VQI-0007fq-V8; Tue, 06 Jun 2023 08:04:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kD7BC6CllkZzSbZpiQKCvTknyaogyiNxEK4RjAlDOv4=; b=oqYTufIjHl7k Ia1e1Zp8HRr2hTfMXDV6uZj/WFfpeArjfLdlFM9SNF9n34ZXWrOItbbvu3JeH3arltfTSPAiYj2Ou cAe+HdyW1u6WsCNehl4GH5030sTOv0gfauVWWimLMj1YET+njV+pK21noKxZZaTXQVBtEzo44KaMv JF6bwPZCI81ck+ycPjmBEmZSaTi/q2M3cOgKqtjsCW/hPWkUEd6haETVtKkLzsGBCpONxPTdg3aDW Xm/cxoI8elYhNQu3wzpWmQOwqSGSqh/8dGQqTKD3FSIg63aXjMvRTOzvRzSryHUc9kzlq8/sZ+hJ6 SI6mmW0j1w4wOnCyNdJozQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6VQ1-0004FP-BY; Tue, 06 Jun 2023 08:04:26 -0400 In-Reply-To: <873534rfg8.fsf@gmx.de> (message from Michael Albinus on Tue, 06 Jun 2023 13:35:35 +0200) 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:263056 Archived-At: > From: Michael Albinus > Cc: Jimmy Wong , 63300@debbugs.gnu.org > Date: Tue, 06 Jun 2023 13:35:35 +0200 > > > I believe my proposal to make Tramp use variables that are initialized > > from the user options should solve all of this. Let's wait for > > Michael to chime in on that. > > By this, a user couldn't change the user options later on, after Tramp > is initilized. And it isn't only Tramp, other packages use > connection-local variables as well. There are many options that behave like that. It's nothing new. > See my other message for a proposal. If it works, I don't mind, although the solution looks more complicated (thus more risky during a pretest). In general, Lisp programs should not modify values of user options, that is only for the user.