From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62329: 30.0.50; Error in TRAMP due to variable aliasing Date: Tue, 21 Mar 2023 19:05:17 +0200 Message-ID: References: <87zg86qmjd.fsf@gmx.de> <87ttyeoz43.fsf@gmx.de> Reply-To: Eshel Yaron Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13393"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62329@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 21 18:06:24 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 1pefRG-0003Bt-I1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Mar 2023 18:06:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pefQz-0001Db-2d; Tue, 21 Mar 2023 13:06:05 -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 1pefQw-0001DR-R9 for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 13:06:02 -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 1pefQw-0006ls-JI for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 13:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pefQw-0008Ul-EN for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 13:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2023 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62329 X-GNU-PR-Package: emacs Original-Received: via spool by 62329-submit@debbugs.gnu.org id=B62329.167941832432606 (code B ref 62329); Tue, 21 Mar 2023 17:06:02 +0000 Original-Received: (at 62329) by debbugs.gnu.org; 21 Mar 2023 17:05:24 +0000 Original-Received: from localhost ([127.0.0.1]:60409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pefQJ-0008Tp-Ny for submit@debbugs.gnu.org; Tue, 21 Mar 2023 13:05:23 -0400 Original-Received: from mail.eshelyaron.com ([107.175.124.16]:38290 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pefQH-0008Tf-Oq for 62329@debbugs.gnu.org; Tue, 21 Mar 2023 13:05:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1679418321; bh=qmKxiLfWI1+CMJtC26hF8Fi1y+4eOphKcwGm4uJzIPs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=f8E+Ux5t/etu2xSKTkpU6Zg+aLCeg3AFBwVDkPGr1D1G5fiEmHp0KMlDevuHAdE20 c5zUV+OvqUELfH9SAIYE+HuydEib4t5Wxh3tbWM7uf61bgVZhEuU54/tbfInLdehgF L7JFRt1AFu94CjqIQI+otDoZSVv1rZulvQHQeEsKPIrt8pE8xrrrZTsO5Q9wRtxyrk JkPRqol7upNy+NHX/Pz1JsKOoYfLP1CN7WNP/akU7Rxu8/0dxxml+mI/82UXbjY9v5 lnNvGKIEtXbWGhv6THVBwBBsyq0E8+4mrDwK+zCa/s6o5rKxdB7thGIASOQ0Q450o2 ttotNKgRcabew== In-Reply-To: <87ttyeoz43.fsf@gmx.de> (Michael Albinus's message of "Tue, 21 Mar 2023 17:20:12 +0100") 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:258356 Archived-At: Michael Albinus writes: > In my local environment, I have inverted the definition of the variable > alias. This seems to solve the bug. > > Could you pls try this patch? > > diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el > index 24e90447b24..339eb1fa9ab 100644 > --- a/lisp/net/tramp-sh.el > +++ b/lisp/net/tramp-sh.el > @@ -106,6 +106,8 @@ tramp-initial-end-of-output > (defconst tramp-end-of-heredoc (md5 tramp-end-of-output) > "String used to recognize end of heredoc strings.") > > +(define-obsolete-variable-alias > + 'tramp-use-ssh-controlmaster-options 'tramp-use-connection-share "30.1") > (defcustom tramp-use-connection-share (not (eq system-type 'windows-nt)) > "Whether to use connection share in ssh or PuTTY. > Set it to t, if you want Tramp to apply respective options. These > @@ -122,11 +124,6 @@ tramp-use-connection-share > ;; Check with (safe-local-variable-p 'tramp-use-connection-share 'suppress) > :safe (lambda (val) (and (memq val '(t nil suppress)) t))) > > -(defvaralias 'tramp-use-connection-share 'tramp-use-ssh-controlmaster-options) > -(make-obsolete-variable > - 'tramp-use-ssh-controlmaster-options > - "Use `tramp-use-connection-share' instead" "30.1") > - > (defvar tramp-ssh-controlmaster-options nil > "Which ssh Control* arguments to use. > > > Thanks, and best regards, Michael. Yes, with this patch I don't get that error anymore, seems to work fine :) -- Eshel