X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Sean Whitton <spwhitton@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: michael.albinus@HIDDEN, bug-gnu-emacs@HIDDEN Resent-Date: Fri, 21 Feb 2025 06:21:02 +0000 Resent-Message-ID: <handler.76457.B.174011884529271 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76457 <at> debbugs.gnu.org Cc: michael.albinus@HIDDEN X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN X-Debbugs-Original-Xcc: michael.albinus@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.174011884529271 (code B ref -1); Fri, 21 Feb 2025 06:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 06:20:45 +0000 Received: from localhost ([127.0.0.1]:50522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlMOy-0007bt-3Y for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 01:20:45 -0500 Received: from lists.gnu.org ([2001:470:142::17]:37510) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1tlMOu-0007aV-RO for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 01:20:41 -0500 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 <spwhitton@HIDDEN>) id 1tlMOo-0007rm-A0 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 01:20:34 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>) id 1tlMOm-000262-1F for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 01:20:34 -0500 DKIM-Signature: a=rsa-sha256; b=ESHz0jpExWW+79+KOwV7CziJnBAuyBtBxhKI5Y1SX9ZXnFFGtRZVeYx/s8FkM3Og8rfhr5z0Xr+76znGzSHkCoXVQLtSpxKorhI/WGtc6yAzokDuwfuaTX1140vKWawRXykKfFUfCo0apT1Br7Q7B9MtgUEcLluObLkmO8/MbLH0+iiFvMDpMYbPSHUnDWEciJC0TK7gvykiumba4iWVB+VFcbVh0GTsTIXoJYwzCebGhxD1ENgTCFjo7Ua+rrFo79fvGyiS7DwjLYYPXzU/4zCU3NEUrbYioZJEgKrOHWDKphbcBH8XtZYOgdG+cgx4eu75fMpAEXJwz+EBZmj+8A==; s=purelymail1; d=spwhitton.name; v=1; bh=Pn/Gj7hOXwYQi0wJv9b8cIj5o9YqJ3vVMkSs5S5mMG0=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=SokSgp/23iOw07N5JHi6bP2tx7imTjpiBwxYnnFFJXXqnFgor/xhsYphbeVs2gIBjACyTgi0vXLXuUhqJOmelWnHJ9wgdStGMiAqG5Pkueto3qB3DcVfAvHoL5IpUtZhpCvVQ/gnMcviNlv8eZEjdOJm4UjvafdHS8IY2zwiXtkXU1oreXUkCH1NXb/5iCozMzIWzWSVKxHy1K9mosTDIdAZu0IFwnGzk0JA9yILlRdFhvNah9NfQmH/JQW533SE8Op2NvSQQpScyoWzn1MN6357uz+znTutf53kUk6SwSc7fbuYp6F5JtwrmxnUPRq7JbFPs37yhoaokrHwchPR5w==; s=purelymail1; d=purelymail.com; v=1; bh=Pn/Gj7hOXwYQi0wJv9b8cIj5o9YqJ3vVMkSs5S5mMG0=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: bug-gnu-emacs@HIDDEN Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -167911684 for <bug-gnu-emacs@HIDDEN> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 21 Feb 2025 06:20:24 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id 999587EAE8A; Fri, 21 Feb 2025 14:20:20 +0800 (CST) From: Sean Whitton <spwhitton@HIDDEN> Date: Fri, 21 Feb 2025 14:20:20 +0800 Message-ID: <87msefvmxn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=34.202.193.197; envelope-from=spwhitton@HIDDEN; helo=sendmail.purelymail.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) X-debbugs-cc: michael.albinus@HIDDEN Hello, I have a role account on a machine where I have to SSH to the machine as spwhitton and then use sudo to do things as the role account. I can get to it like this: C-x C-f /ssh:t2u-oracle|sudo:tag2upload-oracle@t2u-oracle:~/ RET This opens a dired buffer, which is a useful place to start working on the machine. But if I then use C-x r m to create a bookmark to get back there more quickly, the bookmark is created with the filename property set to "/sudo:tag2upload-oracle@t2u-oracle:~/" which is wrong, as visiting that bookmark would try to access an account on localhost. I can work around this problem by manually editing my bookmarks file. Thanks. -- Sean Whitton
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Sean Whitton <spwhitton@HIDDEN> Subject: bug#76457: Acknowledgement (31.0.50; Cannot create bookmark to chained TRAMP connection) Message-ID: <handler.76457.B.174011884529271.ack <at> debbugs.gnu.org> References: <87msefvmxn.fsf@HIDDEN> X-Gnu-PR-Message: ack 76457 X-Gnu-PR-Package: emacs Reply-To: 76457 <at> debbugs.gnu.org Date: Fri, 21 Feb 2025 06:21:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to michael.albinus@HIDDEN (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 76457 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76457: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76457 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Visuwesh <visuweshm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 21 Feb 2025 06:52:01 +0000 Resent-Message-ID: <handler.76457.B76457.174012068814839 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean Whitton <spwhitton@HIDDEN> Cc: michael.albinus@HIDDEN, 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.174012068814839 (code B ref 76457); Fri, 21 Feb 2025 06:52:01 +0000 Received: (at 76457) by debbugs.gnu.org; 21 Feb 2025 06:51:28 +0000 Received: from localhost ([127.0.0.1]:50939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlMsh-0003r7-Fs for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 01:51:28 -0500 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:47270) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <visuweshm@HIDDEN>) id 1tlMsf-0003q3-RZ for 76457 <at> debbugs.gnu.org; Fri, 21 Feb 2025 01:51:26 -0500 Received: by mail-pj1-x1042.google.com with SMTP id 98e67ed59e1d1-2fcc99efe9bso2808948a91.2 for <76457 <at> debbugs.gnu.org>; Thu, 20 Feb 2025 22:51:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740120680; x=1740725480; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yaPenGAEy2mLw8fNybrVCGkPkWaq1zAVohfrAyVPn9M=; b=fSURUnjEYdc5yPxspwCAociwGsO7sCBJrKPPGw0BuLTmHe+tg8XORnOfEOF57MzmAK t4m/i9sQVCAL+sCIjSm0WnR+pq0jaG3vCMSDibFFiMTvAN5XEC6KFxicDEKQvymoI/wL C8n3iK3Hwu3CN4Cx6JZAyvvOy0PhYse/se3l7HNq2EkhvAdl6KNOaOMhebYVBN0YsxNC FS+wzJRUwJH4+pKVBmMAoqdH+aUsmlz1fQtvPZNVjOixx5g6e5HMLUs4CtVOv840ZGz4 K0u/cMD9z/dWGmdR1Um7qoQlLXY5m6GzgXyMnJJUiuUfdlTfzj8fggFxsbEVYkd2ukgm V/vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740120680; x=1740725480; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=yaPenGAEy2mLw8fNybrVCGkPkWaq1zAVohfrAyVPn9M=; b=vcgBuMeKeiAE0rLl4jGnZ9gYJeWp+glvMSMYKYIsH+kcHznRdkjU+PQDY+N/WkFUlQ Ojs5tuVyTGhaueeRZFtDNlQTSGZQXMvyOZxqgd8Gr9zRqs0g7XUZb9f1oAn7HLLHf7UO x8jkMnoGHk+GdGChAySoWv66m1JaM84CzanBW+b0kLcBNYi/aDY3qdPXKEzI+zHqxlRZ 3ONTHVhsHO8PaFA06A2dZxrU3TZXz4OZ7MYjcVQcINfdXv5lL84H+jo4S4532ZOK5Lbs Hw+tCyl8LxhismgXbqIAPtz+n0hWqIcigKTXGo251d+/WG1LHJuU2p6whMufBII2/RVq msPA== X-Gm-Message-State: AOJu0Yxbl2b/3wUZH9xJ4G3AxVo485kkt0PZbiMlCJFwAIG8d4dVPlmV L/AbUmLpYCFgYP0P1Urce493zPqTJy0DZpW2W88zVXhPAhxOptnh X-Gm-Gg: ASbGncs5QDSJBTG6XTChpS8TK+E9o4RX7jDfrvONTUColRGvpUQToR481yVNZXaCjdy vabvzjF7IsNp87iAg4dfyzu0H7Ajwmb3xjDglASNtx4DJVhOq0MMXCSzVXyaoekH0k2iOzTW7E+ etLK1cHyZuLyDc+wXs/66dVum3LjMQozpOpQYdJ8Dcuk7CLgQomavG0X9fw+yLAqVScytLEw7FL iJCvkIi4Cv6qfZKFLwPw3hJiCKoJOU8+dsqQYu3FF1kn4zETo6Md6sUeeXqtjjSdlqAmHGu09va dbbz08b8azByfOMKHMHLS8I= X-Google-Smtp-Source: AGHT+IFC3SC9iYCcmwXTZkLuD0rzc6aOeuHIuc0H0FZgzagS7gvqrAP+2SddHM2xX1qb/8/O5Wn44Q== X-Received: by 2002:a17:90b:548f:b0:2ee:d7d3:3008 with SMTP id 98e67ed59e1d1-2fce86ae5d0mr3361000a91.12.1740120679551; Thu, 20 Feb 2025 22:51:19 -0800 (PST) Received: from localhost ([115.240.90.130]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-2fceb07976dsm549170a91.32.2025.02.20.22.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2025 22:51:19 -0800 (PST) From: Visuwesh <visuweshm@HIDDEN> In-Reply-To: <87msefvmxn.fsf@HIDDEN> References: <87msefvmxn.fsf@HIDDEN> Date: Fri, 21 Feb 2025 12:21:14 +0530 Message-ID: <878qpzx02l.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=AA=E0=AE=BF= =E0=AE=AA=E0=AF=8D=E0=AE=B0=E0=AE=B5=E0=AE=B0=E0=AE=BF 21, 2025] Sean Whitt= on wrote: > X-debbugs-cc: michael.albinus@HIDDEN > > Hello, > > I have a role account on a machine where I have to SSH to the machine as > spwhitton and then use sudo to do things as the role account. > > I can get to it like this: > > C-x C-f /ssh:t2u-oracle|sudo:tag2upload-oracle@t2u-oracle:~/ RET > > This opens a dired buffer, which is a useful place to start working on > the machine. > > But if I then use C-x r m to create a bookmark to get back there more > quickly, the bookmark is created with the filename property set to > "/sudo:tag2upload-oracle@t2u-oracle:~/" which is wrong, as visiting that > bookmark would try to access an account on localhost. > > I can work around this problem by manually editing my bookmarks file. I think you want tramp-save-ad-hoc-proxies to be non-nil. See bug#65039 where a similar discussion is being held.
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 21 Feb 2025 07:09:03 +0000 Resent-Message-ID: <handler.76457.B76457.174012169924651 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean Whitton <spwhitton@HIDDEN> Cc: 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.174012169924651 (code B ref 76457); Fri, 21 Feb 2025 07:09:03 +0000 Received: (at 76457) by debbugs.gnu.org; 21 Feb 2025 07:08:19 +0000 Received: from localhost ([127.0.0.1]:51171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlN90-0006PU-E4 for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 02:08:18 -0500 Received: from mout.gmx.net ([212.227.17.22]:36699) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1tlN8x-0006Nu-NM for 76457 <at> debbugs.gnu.org; Fri, 21 Feb 2025 02:08:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1740121686; x=1740726486; i=michael.albinus@HIDDEN; bh=rF4IKNE45cJZ5GQxZUNGZRFskI7dF9zg/oVkTjzQdsI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=PxGyanUdv/1N62UQe3IwLhTyiOImyyckdUmXlX6payxvUhprr964Iivylie71hks ZGoYGNrEW1yb4RwFHgdRGebJcs7lh7YHgU9JcNDFiP2UKojbRBCwxrcRz59RCfL6W cwYznkRp/PMcpt224Dx0TOiAFpKJrMwNMkOY0nIa7d+7But3flSMC/4tGQtH25xdy 7kyCzI0aFhGHF9rcuC9gKzkzPuTpkNx5r4B9KpWo3zFTN+pqfOS8U9EgpHYZwOhHY 0DAzxR+sidt8riqU1fNm5QJrE2D5+hSCZoqQu8VZZoOEzHNq6jZTqW+jApNv7fiWk pkGLYwHDtv0wOoclpA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mr9G2-1t0jvE3CVS-00aqkI; Fri, 21 Feb 2025 08:08:06 +0100 From: Michael Albinus <michael.albinus@HIDDEN> In-Reply-To: <87msefvmxn.fsf@HIDDEN> References: <87msefvmxn.fsf@HIDDEN> Date: Fri, 21 Feb 2025 08:08:04 +0100 Message-ID: <87seo7yduz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:6xdlT3q+kUdI+U+vTN1bVBGA8pUwSJjEUMSN9E7IY9r683NsJlo Nm5cxujvWVHxCDTI+2RvyQuzfNUKPLhGO5TbglA75Z6LvU/t/0VS1nr4/yBqVqyLkv9YhYd gHyveFoOsgJvDRhDgCv1m4x2Wu1Lq0suBVzD3Nof/Dp7g49AlRmSfiWziQoeF6Tynv+RP2z qitmw5mmleV6qya0BO9Ww== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:nC7q7kMaFGs=;8Snl9UVVVQaSVp+9gKPBlirDo1R UsGSy3LIhZTYkPIcDrMFjUOrq/oi7JWNZyh/Hnmpy3IT1iLw8upY9oNCdhoJENHVB6WGF5OiM iSXBXT/2RmWDmAGtWVHRM/8ARftxV+3rtdDFxxwrz3GJzzqKsN/GYUkQs6LBKCaQ9mJ/Bbr73 eUkm9Nb83lDBoz5ZhMYPxfXSGrrNWYDjfU6XqykLQxnEGCZHkhOFy/nUea6NxS/8dPIca5Qw4 QVwH4+i9gAnLn7AQ1w9dSY/Qukr/97aETrCALLesWUvUhleHTWd6au3vfE8JOGAGa1T5xsyrM DY33rYa7rysGrdIyBhzusVs6mnnyJtZwiDc9Kfo2zXx5+AwNkC1Wurz6ULE8BpjqlpHAG3htC UPhVT3mshrIDjsIyPAank58no+CPjqDNol76eKB0Bdk5aXf4zwD8E5U6o/hi25/5dxp313JFG CE3+GrGkpVTXCpLWj79oV3ofLisIwFTFUyn6m3oyTr+XS6V4+/bhzlja7mqaxWzA3HWpNfF2P mC/jSuU8267bpG5hh4IUscSDf9QdJaG1nUIE2fUxLuDVU+jRH5iMTDGQkv0/fCJx66dK1iStH 6e0DTsiGe/Ro6yfwzhUJkbirKbKOcPl/fZODsY1WqocQGicZdoSiDsW7vrfy8slZy8CWXxzJF eeCoq9fRc7mjcDZHfEhCYuuLMFo0hhJZAZVUP23GqVbSDfWys0zRpljobccZz9ezWlwztQXvh o4vTR8Quay51ZLWTOLTMD03I+QyuZbeUfP7TJ31a4NtrEpY9xy52A3X8nCqnRGQPeD5cz8gPm eyBpFLocKD1VgUH4MU+qTNB4SaWPVq4hxI6PDIvJSvdiu3HqB2bZBJPRM3PT2Hbe+IQdTsjld OWrKAfdCF3IaZRG9xmrBzRgPiXmDUz+ja81aJzgP957eLB3G9ADPV3gLNytDXI0q5O4vDyWvv H/IFZmqZ9CWRtlc4AfbtPGg3D7BZ66QV8aFoiBWst60ePO+86w/o0zxM2+s+KcnVD0ct+q/2l HrFbg1rQCk08RYy54DG4QqldXscOH8gRDhVBhwqgnVq+mAsjDa5QNMfCDDUT9MyANYJyqVEM2 jSutTahzsJHkS0A5eME6iFkSi2FNy1hZG16kYOGI6TeSQMQjgoP+gTSOPmM3cm9j59QQN79z5 Yozm/q+i0sNj2dG1bOHtAhqsILEkRJ20vZLcOdvCLGc2jQXTjr4QOBXVqhGp1Ib7jj1mDL9qD bw+Ynq+4MAUBMAxIJxvBXySVsfh7hp2VHdURGwOOPIlW5Bf11W5iEV1DpJVwf1+nkMel5Yuw9 pKO/4ccPa10LRHtzdI7gLQLCuxlsHuN7aAIqTm4cUtN7DoOvoZgFZcu7GWxhbM7dYsxt3MADq 1DcTEMHCn4gnL+MPWVA6kZSB4rdKLunQgc4s1KNHGVbhGxo4wrJ8lVbWE6 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Sean Whitton <spwhitton@HIDDEN> writes: > Hello, Hi Sean, > I have a role account on a machine where I have to SSH to the machine as > spwhitton and then use sudo to do things as the role account. > > I can get to it like this: > > C-x C-f /ssh:t2u-oracle|sudo:tag2upload-oracle@t2u-oracle:~/ RET > > This opens a dired buffer, which is a useful place to start working on > the machine. > > But if I then use C-x r m to create a bookmark to get back there more > quickly, the bookmark is created with the filename property set to > "/sudo:tag2upload-oracle@t2u-oracle:~/" which is wrong, as visiting that > bookmark would try to access an account on localhost. > > I can work around this problem by manually editing my bookmarks file. In my local git repo, there is a pending change of the Tramp manual: --8<---------------cut here---------------start------------->8--- =E2=80=A2 Why saved multi-hop file names do not work in a new Emacs session? When saving ad-hoc multi-hop TRAMP file names (*note Ad-hoc multi-hops::) via bookmarks, recent files, filecache, bbdb, or another package, use the full ad-hoc file name including all hops, like =E2=80=98/ssh:bird@bastion|ssh:news.my.domain:/opt/news/etc= =E2=80=99. This is achieved by setting the user option =E2=80=98tramp-show-ad-hoc-proxies=E2=80=99 to non-=E2=80=98nil=E2=80= =99. Alternatively, when saving abbreviated multi-hop file names like =E2=80=98/ssh:news@HIDDEN:/opt/news/etc=E2=80=99, the user opt= ion =E2=80=98tramp-save-ad-hoc-proxies=E2=80=99 must be set non-=E2=80=98n= il=E2=80=99 value. --8<---------------cut here---------------end--------------->8--- Does this help? > Thanks. Best regards, Michael.
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Ship Mints <shipmints@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 21 Feb 2025 10:10:03 +0000 Resent-Message-ID: <handler.76457.B76457.174013254812904 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean Whitton <spwhitton@HIDDEN> Cc: michael.albinus@HIDDEN, 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.174013254812904 (code B ref 76457); Fri, 21 Feb 2025 10:10:03 +0000 Received: (at 76457) by debbugs.gnu.org; 21 Feb 2025 10:09:08 +0000 Received: from localhost ([127.0.0.1]:53988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlPxy-0003Lu-Uj for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 05:09:07 -0500 Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]:59563) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tlPxv-0003K3-9g for 76457 <at> debbugs.gnu.org; Fri, 21 Feb 2025 05:09:04 -0500 Received: by mail-vs1-xe34.google.com with SMTP id ada2fe7eead31-4bfb4853a5dso479362137.2 for <76457 <at> debbugs.gnu.org>; Fri, 21 Feb 2025 02:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740132537; x=1740737337; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=38MYL0nvr5USPY60CfodQeyU6dVS9GwREXKyzup1W8U=; b=eVIY6dd+BlulvCBdNHUuTPEw03oh+htr5OM3/z+oO2u+HPsme8kd//BnZ7pdBDhdvi wKIv7nWgxrsksksFiiwtCCB4n+RyPYKaKGjBhwsY53/pUw6KPzUUHRh47FJxKWDxYKmg Y0husCTuYHIKsMqKvpvLQbzACjCE3el40/TE3DtlS4jojPXwfRPIm86j1fbjhStn89Q/ P6WPiCjNbc2DO8Bn04JHmmEyXfs2GNOnPUdEahqtsbn48luu0FhnyuwDqGtJ0OPAo3w8 0NqFUUmxVO+mCvKjnM+bxtSYPUXhtJhKwwYZpSK5N/bdfeVKdMO85iIWdmKy19je8znS myzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740132537; x=1740737337; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=38MYL0nvr5USPY60CfodQeyU6dVS9GwREXKyzup1W8U=; b=VQMg0ld0PQZ5LKhTFtjXs6KulOp6m4eloA9s+vwU6yDvD4ewSmQnE0+5fc+Db63+SB gFJzrq6DikYD/A9pHy/sULYWJNr0/RUixt7qycs2m85hLQZcoQE/ZyZehUuR/DsxdT1U PGt4cdDQUJhx+mE/bFsPUF9PjhY0MmP7BysJ29eawgK3BrZpCy1lAqmOguzN3sDi42Oj Gjgq23hYyyG/rHCJ7f5dVmzOm19eZum51dFvhwHm7OAKUeP8bzH6syPwCKQAOWbHxlPm SD21VnrCVUeEKqHJU/IP1vXOdjoAZ8YzYpQVAdKklJRKvoS1Y8G3+WN3t2fbJCqHLObr 28VA== X-Gm-Message-State: AOJu0YzWQ/JoOonUpfKSMSeK2arpHUTX3bkaiRQgJL1tjtsdN1/yQukM D8n1+ypVE7h13SkzxXRph29w3a6CJ3yyL+O8tl2KjE4Z/R23xyy5yWC8CuSce1voWlXH38CaKQF KG57oicIzMO920UmPKz7gz9mQHSxWfQqQ X-Gm-Gg: ASbGncsMEDv+x7Ni2JhFuD2AghMi5XjWrr+euR/dOYDhcdLaJ8pMXI0RxOhB2gID7YR o5n/ETyO2ekJihCG3sWL2LzpbLOvzY9ZBILi4/Otx2mmCUNzAG2ZSl7c0dpPquqeXrmNXMzPsUL M5Y/EPN78= X-Google-Smtp-Source: AGHT+IHWXm2k6zOK/xt9PA6M3axNMSSkf4EG1OcrVbocTvvhdzuaPRvc256eOO0BeqqC+CkYd8/aTu03WqM7lJSFheU= X-Received: by 2002:a05:6102:548d:b0:4bc:18aa:51b1 with SMTP id ada2fe7eead31-4bfc01b27dfmr1587248137.21.1740132537076; Fri, 21 Feb 2025 02:08:57 -0800 (PST) MIME-Version: 1.0 References: <87msefvmxn.fsf@HIDDEN> In-Reply-To: <87msefvmxn.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Fri, 21 Feb 2025 05:08:46 -0500 X-Gm-Features: AWEUYZnNykSl1nPH6KHRHb2nJF3e6rMDxBnhyiZhfwqTvUoZjS602eScVpmR-8Q Message-ID: <CAN+1Hbq43-_r7TjNqtfqzJqOuv2JJ422=ZXd7Mz+jx+N7dCvKw@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000bc142f062ea42d2d" X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000bc142f062ea42d2d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Awaiting further review and installation: https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-02/msg01593.html I tested that it handles multi-hops bookmarks. Want to try it? On Fri, Feb 21, 2025 at 1:21=E2=80=AFAM Sean Whitton <spwhitton@HIDDEN= ame> wrote: > X-debbugs-cc: michael.albinus@HIDDEN > > Hello, > > I have a role account on a machine where I have to SSH to the machine as > spwhitton and then use sudo to do things as the role account. > > I can get to it like this: > > C-x C-f /ssh:t2u-oracle|sudo:tag2upload-oracle@t2u-oracle:~/ RET > > This opens a dired buffer, which is a useful place to start working on > the machine. > > But if I then use C-x r m to create a bookmark to get back there more > quickly, the bookmark is created with the filename property set to > "/sudo:tag2upload-oracle@t2u-oracle:~/" which is wrong, as visiting that > bookmark would try to access an account on localhost. > > I can work around this problem by manually editing my bookmarks file. > > Thanks. > > -- > Sean Whitton > > > > --000000000000bc142f062ea42d2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">Awaiting further review and installation:</div><div class=3D"gmail_defau= lt" style=3D"font-family:monospace"><br></div><div class=3D"gmail_default" = style=3D"font-family:monospace"><a href=3D"https://lists.gnu.org/archive/ht= ml/bug-gnu-emacs/2025-02/msg01593.html">https://lists.gnu.org/archive/html/= bug-gnu-emacs/2025-02/msg01593.html</a><br></div><div class=3D"gmail_defaul= t" style=3D"font-family:monospace"><br></div><div class=3D"gmail_default" s= tyle=3D"font-family:monospace">I tested that it handles multi-hops bookmark= s.=C2=A0 Want to try it?</div></div><br><div class=3D"gmail_quote gmail_quo= te_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Feb 21, 2025 at= 1:21=E2=80=AFAM Sean Whitton <<a href=3D"mailto:spwhitton@HIDDEN= e">spwhitton@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex">X-debbugs-cc: <a href=3D"mailto:michael.albinus@= gmx.de" target=3D"_blank">michael.albinus@HIDDEN</a><br> <br> Hello,<br> <br> I have a role account on a machine where I have to SSH to the machine as<br= > spwhitton and then use sudo to do things as the role account.<br> <br> I can get to it like this:<br> <br> =C2=A0 =C2=A0 C-x C-f /ssh:t2u-oracle|sudo:tag2upload-oracle@t2u-oracle:~/ = RET<br> <br> This opens a dired buffer, which is a useful place to start working on<br> the machine.<br> <br> But if I then use C-x r m to create a bookmark to get back there more<br> quickly, the bookmark is created with the filename property set to<br> "/sudo:tag2upload-oracle@t2u-oracle:~/" which is wrong, as visiti= ng that<br> bookmark would try to access an account on localhost.<br> <br> I can work around this problem by manually editing my bookmarks file.<br> <br> Thanks.<br> <br> -- <br> Sean Whitton<br> <br> <br> <br> </blockquote></div> --000000000000bc142f062ea42d2d--
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Sean Whitton <spwhitton@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Feb 2025 04:59:02 +0000 Resent-Message-ID: <handler.76457.B76457.174020033517572 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus <michael.albinus@HIDDEN> Cc: 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.174020033517572 (code B ref 76457); Sat, 22 Feb 2025 04:59:02 +0000 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 04:58:55 +0000 Received: from localhost ([127.0.0.1]:43340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlhbK-0004ZL-GV for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 23:58:54 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:60076) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1tlhbI-0004YT-MZ for 76457 <at> debbugs.gnu.org; Fri, 21 Feb 2025 23:58:53 -0500 DKIM-Signature: a=rsa-sha256; b=GLsBXYeR0DMcyh0BcYTCg3Q8byGmt5NkzZmtpyL303Aa3t+UTDrjp7gM3nGVyuhssqX2F4DqX05oxURLE3PHtOijyJWoyArO5TbUENQ2o366y8+33m4ejACAc8zpMKf2jBCzXIwtdzA5SyAPrGfzGXi6Cm7rsi0PrNqtspHfcNBGa9IPsBd8MJVekOXSMdAyTPaV8hY7xqA1TV2hJ7ZZlzyY0pcw6wntZ13UB1VgMZ/BO+lX2NRTII09s95oQkz6OTAEQoYjpHx+SQM6097I4L7wekGd7NwPxdIKtZIb4AU5jb6LejqLkRfc5ekQ8TFR2Q9EKHwxqrwjgd1vbzfGQA==; s=purelymail1; d=spwhitton.name; v=1; bh=+g0R9CXNDjYAhLfmxWqjHuYA49kpi3IbgUgMerf/euQ=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=jfioiWa/73l6mmItuIEIUx2+YIa8ds8GukOcVEDOYtp+Oa1EY4WffT3xvoY2OAlOpnVyRJu/xH3/rndKcxKWTLNEoyLntDTCMza7lgDQf7Xqz+HauIBL+5+bRDdb7UCF7iTOjaV+MBF+4LImAa4ik9RssaiX1mI93F3i2UdSuS62GbS3JY+WdTY7DEkEh7zdHHcniUQx+Du4DEco2/UgJnRk7MDwLP9K2HIxOpB78Lf+gJRQRZYcxc4IpeRVrOQpY8un0mEtKoDZkyISoumsj5VBDIEAq/h8BVovw9rNHIQUoQvxtWWpidDcBYrAnho3lirqKCzhdhMukPmk3OQVNQ==; s=purelymail1; d=purelymail.com; v=1; bh=+g0R9CXNDjYAhLfmxWqjHuYA49kpi3IbgUgMerf/euQ=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 76457 <at> debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1999896866; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 22 Feb 2025 04:58:43 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id 653667EB2BF; Sat, 22 Feb 2025 12:58:41 +0800 (CST) From: Sean Whitton <spwhitton@HIDDEN> In-Reply-To: <87seo7yduz.fsf@HIDDEN> (Michael Albinus via's message of "Fri, 21 Feb 2025 08:08:04 +0100") References: <87msefvmxn.fsf@HIDDEN> <87seo7yduz.fsf@HIDDEN> Date: Sat, 22 Feb 2025 12:58:41 +0800 Message-ID: <87mseeshha.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Michael, On Fri 21 Feb 2025 at 08:08am +01, Michael Albinus wrote: > In my local git repo, there is a pending change of the Tramp manual: > > --8<---------------cut here---------------start------------->8--- > =E2=80=A2 Why saved multi-hop file names do not work in a new Emacs > session? > > When saving ad-hoc multi-hop TRAMP file names (*note Ad-hoc > multi-hops::) via bookmarks, recent files, filecache, bbdb, or > another package, use the full ad-hoc file name including all > hops, like =E2=80=98/ssh:bird@bastion|ssh:news.my.domain:/opt/news/e= tc=E2=80=99. > This is achieved by setting the user option > =E2=80=98tramp-show-ad-hoc-proxies=E2=80=99 to non-=E2=80=98nil=E2= =80=99. > > Alternatively, when saving abbreviated multi-hop file names like > =E2=80=98/ssh:news@HIDDEN:/opt/news/etc=E2=80=99, the user o= ption > =E2=80=98tramp-save-ad-hoc-proxies=E2=80=99 must be set non-=E2=80= =98nil=E2=80=99 value. > --8<---------------cut here---------------end--------------->8--- > > Does this help? Thanks! The first paragraph is helpful, but then the second paragraph confuses me a bit. What is the relationship between the two options? Also, why is tramp-show-ad-hoc-proxies not non-nil by default? Just a matter of preserving backwards compatibility? --=20 Sean Whitton
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Sean Whitton <spwhitton@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Feb 2025 05:01:02 +0000 Resent-Message-ID: <handler.76457.B76457.174020045319113 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ship Mints <shipmints@HIDDEN>, Visuwesh <visuweshm@HIDDEN> Cc: 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.174020045319113 (code B ref 76457); Sat, 22 Feb 2025 05:01:02 +0000 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 05:00:53 +0000 Received: from localhost ([127.0.0.1]:43380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlhdE-0004y8-MG for submit <at> debbugs.gnu.org; Sat, 22 Feb 2025 00:00:53 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:44544) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1tlhdC-0004x0-CD for 76457 <at> debbugs.gnu.org; Sat, 22 Feb 2025 00:00:51 -0500 DKIM-Signature: a=rsa-sha256; b=aBqzAZ+SXEPhRtkxVPCKgHN3hcCsEtj3UuFny8ouoqNddffzKitVE1xkJl2kdcu5n+1Lb5mi5cbKW37IprmV6ITFDX9e/PPTonDDWiMwx985QGZ36ksWi9GCqT3kXRjWP/v/pi+GubTouizoJhuOS7jQIZX14SCPAqRgrfEWK8GsHlF6dyW9n1miCVg5sKhcgJByjIFRpmciX9ZS6vDJK3VyCcMHTixd68sIi3faLweKr1vQbOAyGIqZq0cXt4APqZcd067iHjGpK34PXM0gFmTaLTXcMMF5SO6i9zyt9ZKvqry7HqtSoB85YEAzHjtZeo9RiIRPfZ17gOJFU3HEAQ==; s=purelymail1; d=spwhitton.name; v=1; bh=DLDSX4oOVFr1gOK7yILYVcpXwJQBUogJ6x8u3PjYMOA=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=CcUr84fQZJcd7ssbN8uyTaog5iLOX4pZ+WgHmQcHiZZj1pX63rxw5utCXdtHeMoGEeIiO6dQU9/TcoGFSq6sWoU57ZvXeSQh67Q/qNmV9owWG/qwr9IrJQ1n5r/GBDhdi9lSVEFTQqieU9BzCbxrUO5yOiQnwbSE+PQqyyjw4iks6MeFuHis/d1cpdijD5LJe2cJCmEASiiGeudqGZheXBvMOQbVsVBf1g2PIlpt9DBlmFL0oAPxxlU1ucD80xyBWBgLB+vVY9RJIjOmq4htCK+/WMrScOV/vbwN9abKFw8MyVV3BMMAlIBd88JbaD4OVIOI12+6l9my7XFjiTU3Mw==; s=purelymail1; d=purelymail.com; v=1; bh=DLDSX4oOVFr1gOK7yILYVcpXwJQBUogJ6x8u3PjYMOA=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 76457 <at> debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -421130086; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 22 Feb 2025 05:00:44 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id 247867ED64F; Sat, 22 Feb 2025 13:00:41 +0800 (CST) From: Sean Whitton <spwhitton@HIDDEN> In-Reply-To: <CAN+1Hbq43-_r7TjNqtfqzJqOuv2JJ422=ZXd7Mz+jx+N7dCvKw@HIDDEN> (Ship Mints's message of "Fri, 21 Feb 2025 05:08:46 -0500") References: <87msefvmxn.fsf@HIDDEN> <CAN+1Hbq43-_r7TjNqtfqzJqOuv2JJ422=ZXd7Mz+jx+N7dCvKw@HIDDEN> Date: Sat, 22 Feb 2025 13:00:41 +0800 Message-ID: <87ikp2shdy.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, On Fri 21 Feb 2025 at 05:08am -05, Ship Mints wrote: > Awaiting further review and installation: > > https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-02/msg01593.html > > I tested that it handles multi-hops bookmarks. Want to try it? Thanks, Visuwesh and Ship Mints, for the reference. I'd prefer not to wade into #65039 right now, though; it looks like a very long discussion. -- Sean Whitton
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Feb 2025 09:13:04 +0000 Resent-Message-ID: <handler.76457.B76457.17402155415907 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean Whitton <spwhitton@HIDDEN> Cc: 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.17402155415907 (code B ref 76457); Sat, 22 Feb 2025 09:13:04 +0000 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 09:12:21 +0000 Received: from localhost ([127.0.0.1]:47214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tllYa-0001X0-2i for submit <at> debbugs.gnu.org; Sat, 22 Feb 2025 04:12:21 -0500 Received: from mout.gmx.net ([212.227.17.22]:44775) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1tllYU-0001VA-3H for 76457 <at> debbugs.gnu.org; Sat, 22 Feb 2025 04:12:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1740215527; x=1740820327; i=michael.albinus@HIDDEN; bh=vmEewiVTDFqTpaxfJRC5td9MqRv3XPPA59nN9lDN9gc=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=EHA74A/7OgT/Hfn/LGWsUtsl3JHEwAaej/X7OAIfLncmjykbVVNZ6I7iWKvbOzXf N4hWQFVqb/V8MhQiMA0ViaJmzdC5SDmhHZxNUgJl19qGeWaUKdnu2fFXcpPTRoibr pYEs8n3cDwNI2AdPMTnVPED49lpoMMebQTt7bod2ZXnkTcPYDYOFs5S8yV4AjFDx1 zydE32ymef2WMH7JWjCftNjrO7MIhZi4sy0hpP3EbABo/wa+QdUL54FxwgwJrfglC u8ZBIiGza6Awm0TXB4MMCpez5/FgzZyWg8/qWr6D3j8I77m6+wxAPvSmDMTWA5/wl QNoXSTV8wUNyvA6TlQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mr9Bu-1t0tbk3trS-00dm2u; Sat, 22 Feb 2025 10:12:07 +0100 From: Michael Albinus <michael.albinus@HIDDEN> In-Reply-To: <87mseeshha.fsf@HIDDEN> References: <87msefvmxn.fsf@HIDDEN> <87seo7yduz.fsf@HIDDEN> <87mseeshha.fsf@HIDDEN> Date: Sat, 22 Feb 2025 10:12:06 +0100 Message-ID: <875xl2wdg9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:bKvPy/mcxT+tu/Z1nPlIvmXTcGNMNjj4PqcWv7u1kNG8bi+ucUb vbGnRG/b+Dk9F3BbqTXLOOlMB/L0Gk868G27K/sNXepqcQJnLmksYHFh3fSwuun1O4UmqtJ aJPNH52RKE4UGlgcUFzq/5b2xxKgAo/y+YsrGh5Y1L8XZ3m3jS95dsVy98PmsQ1p7KGu/AN q7Q256hioDOomfAFJ8zvA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:osCDfYrr170=;Xl3Kg9mORp6WqH5tlB/aRB8xp5T pmMbSY1+S2xrhLGWo1P2RuiCfd6KKjBfSYC3Jsi3KhBN10J69o5HdLBTAVEkbjjrYDULxbpiq K0Q7+X0k+g5GW5X7GS0ucAC5uPLoAAn8q6YTj3r1VIBfbd07rQ3mUKuplkwtiSC2EKV53h6o0 T2+/C3H8C+7LClrrA0oOp7SgVyMqT9b5Cw3eyy7sM1AqRwUdNQ4vGO8yFK4/9meRpGU6cx1Gy JRo10dDWf7t//jA+UgdDcwAs3s3PSPf5hkdanssmvwAoA/yA3ZqL75U4IXk0R2IIDef3LpYt+ Or2/LBg9Yyr+iPbYegwmVZ+bNBxILkG3Zwaqo1v+UHHPYGlb/nD2lHXzZgrLsg7PoH4DYYp0y +Vd6WHIfRp42evsNwOmEnfUAJ/58og+l3Q/r6BmkRDobpHQ3rNxIK2QTJzyZ6aIrxowc1h7XT UTGgEqRtQ4bMr9DZk2UzaW+/brzeWDxvYBZgM+9yqG4DSXALYfCbXlI8gZRfGkf9R3i0Hpa7G m5T7OuQf56q+IDsSKff/V3MDamALH6EAynP3sTQ0wN3oR9yUZDGxlmXNUuLAR9UhYiGsGThgo NCmawawrG0fq20xteHpqwyjKWkZfoRcu1bFqUVKcYx6A62OSfbmy5Sb+Itrc2b34huwxTLyy7 0eXq0+aK+xpaxgy8oZ708FbbzepdA7MRq3khYrI2h2vzR04hLZWTi7052E22qi2j3kXEE43er C7MlQh7pJDref7ok5PSReBpnOL86s0PiH66PkYNAnE04M8iRHzucYbLhYboOPGkixkMAOs1jr RnODHFgYsi38CM98aZJNYzKeeMU+h7+JskCS2oZj0MlPhCKFy6ynYNwoXmfYrudgszdwI/GDc /HuCXn+8DVZ4MvezJL873/hJbZ3S85XULdcFxVSmVEGSHRKmqr2cec3zf5rhiJHhSs7Ar5kFR VDnK5b5dZnjVCeV2ecYjW5z+6z/csrpNMinc/qQYEc6Jyxzd/JLBirV/p+yT/gGxdgIt27hnP eTEt+8fw1NUzplF4fOQmNj9weEX/WVK/MBknQ7vKFmUDXJpZatncbdqtwAjukCGCvcl4aWXaX BppUoaoCWZ4Pah1zQOd/3atIE6wppz/hb49Fp8PEXkILo+/vENrPyFohQHYSqLhH7mq5XZ5FO 58PAnPcrfxkrGmXydSUnmbjV3cGMBFUGEReJcP4GI6h8ORUU9X8+P8UQSYAeYX8cycxdYl+UY iSCyZnxg4iUwFFZuf0aBurgUdYDknPYLJnA82asBHNWNWnfVt1J8TwGfySTFDF8iRU0g6L1DO 3gyv1hvKS3MHGjC+SLNEgihxbKl2yV+dqWXjZVJQai9tm56ZbdeT0SqD8Aon5Ov0gHR5ZyLsE my3eK3UiAlu/zTouZ3a/FgWYQ5zdySFwQY/tR7XLRK1+XtasgF99zdns/a X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Sean Whitton <spwhitton@HIDDEN> writes: > Hello Michael, Hi Sean, >> --8<---------------cut here---------------start------------->8--- >> =E2=80=A2 Why saved multi-hop file names do not work in a new Emacs >> session? >> >> When saving ad-hoc multi-hop TRAMP file names (*note Ad-hoc >> multi-hops::) via bookmarks, recent files, filecache, bbdb, or >> another package, use the full ad-hoc file name including all >> hops, like =E2=80=98/ssh:bird@bastion|ssh:news.my.domain:/opt/news/= etc=E2=80=99. >> This is achieved by setting the user option >> =E2=80=98tramp-show-ad-hoc-proxies=E2=80=99 to non-=E2=80=98nil=E2= =80=99. >> >> Alternatively, when saving abbreviated multi-hop file names like >> =E2=80=98/ssh:news@HIDDEN:/opt/news/etc=E2=80=99, the user = option >> =E2=80=98tramp-save-ad-hoc-proxies=E2=80=99 must be set non-=E2=80= =98nil=E2=80=99 value. >> --8<---------------cut here---------------end--------------->8--- >> >> Does this help? > > Thanks! The first paragraph is helpful, but then the second paragraph > confuses me a bit. What is the relationship between the two options? I tried to say it with the beginning of the second paragraph. "Alternatively, ..." means, that both options are independent from each other. My English is notoriously bad. If you have a better phrasing, pls let me kn= ow. > Also, why is tramp-show-ad-hoc-proxies not non-nil by default? > Just a matter of preserving backwards compatibility? The majority of Tramp users prefers the abbreviated form "/sudo:root@host:" when they have started with "/ssh:host|sudo::". This works as expected, unless you want to keep this over Emacs session boundaries. So it is a convenience default to initialize this option with nil. Best regards, Michael.
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Sean Whitton <spwhitton@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Feb 2025 12:12:02 +0000 Resent-Message-ID: <handler.76457.B76457.174022630126866 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus <michael.albinus@HIDDEN> Cc: 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.174022630126866 (code B ref 76457); Sat, 22 Feb 2025 12:12:02 +0000 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 12:11:41 +0000 Received: from localhost ([127.0.0.1]:50114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tloM8-0006zF-Ih for submit <at> debbugs.gnu.org; Sat, 22 Feb 2025 07:11:40 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:51042) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1tloM4-0006xm-6i for 76457 <at> debbugs.gnu.org; Sat, 22 Feb 2025 07:11:38 -0500 DKIM-Signature: a=rsa-sha256; b=bidxfis/o2Ex6gfMTQ/JX4Hq5i3jJmHP7XWyCi6jB1G+06byIOWQjF5xgdXBdlJ5zeh/ptnc3UBk50W181lcPEqQBxkA22zYTU/DvDOueiDUc0OIUg5qSygrH2SvLprb7Wd7GaRGe+oSBY8pcTiLYwn4+QckgyTzDmFWzR+NIWYzx1ykkzjaO/H75Y0bJPrZjkt7t7gIeSZ5wMa+tQ1siz14v6u+1fAk46YDhMAYRtyqUulMRhDAz5Okm0TLmv7lEIuG9AtbrI+bckXUldB6kH1OxCQQYpcN9ZvAzRbX0rnXCxUSzzvrISzyl4q6Xa1etXybcJ3dCBnB4QU29y8PqQ==; s=purelymail1; d=spwhitton.name; v=1; bh=xpRmBNkZwukQcwGMiXYHgug6Zerh3WZTN6PiQd/52xE=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=XIQmF8SmIX1knjYwAi61k7vmW10wLf5tUdooMuh3o0I2wg5mICINW4KG91tl0zMf6la1X/plJSy1cTX6wV5qsbHe8AV07mhFUY9Fb4QYjVbqrnl0yYi+zAfHE9mvDh69VDldUgJd2YdzoHnbowqfoPAXiIE5HDjQyxvxv0Varmf9eR+Opo3R/3xsyZwquZ5RUo/1nnneHN3dM7ddWuOGlv/WJ7uSExJZwl6xils6l++/PQt4ory+7ng0VCJwJjHyFsnmV50jf5fEN72eH8bpmd550BrwI2cCm2UypNy5nljSvo8b7DAphyB5nml3JuZA2AX4TXCURmbo1bMy1zQ7ZQ==; s=purelymail1; d=purelymail.com; v=1; bh=xpRmBNkZwukQcwGMiXYHgug6Zerh3WZTN6PiQd/52xE=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 76457 <at> debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -39636260; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 22 Feb 2025 12:11:28 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id B3A207E1D7B; Sat, 22 Feb 2025 20:11:25 +0800 (CST) From: Sean Whitton <spwhitton@HIDDEN> In-Reply-To: <875xl2wdg9.fsf@HIDDEN> (Michael Albinus via's message of "Sat, 22 Feb 2025 10:12:06 +0100") References: <87msefvmxn.fsf@HIDDEN> <87seo7yduz.fsf@HIDDEN> <87mseeshha.fsf@HIDDEN> <875xl2wdg9.fsf@HIDDEN> Date: Sat, 22 Feb 2025 20:11:25 +0800 Message-ID: <874j0mqivm.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, On Sat 22 Feb 2025 at 10:12am +01, Michael Albinus via "Bug reports for GNU= Emacs, the Swiss army knife of text editors" wrote: > Sean Whitton <spwhitton@HIDDEN> writes: > >> Hello Michael, > > Hi Sean, > >>> --8<---------------cut here---------------start------------->8--- >>> =E2=80=A2 Why saved multi-hop file names do not work in a new Emacs >>> session? >>> >>> When saving ad-hoc multi-hop TRAMP file names (*note Ad-hoc >>> multi-hops::) via bookmarks, recent files, filecache, bbdb, or >>> another package, use the full ad-hoc file name including all >>> hops, like =E2=80=98/ssh:bird@bastion|ssh:news.my.domain:/opt/news= /etc=E2=80=99. >>> This is achieved by setting the user option >>> =E2=80=98tramp-show-ad-hoc-proxies=E2=80=99 to non-=E2=80=98nil=E2= =80=99. >>> >>> Alternatively, when saving abbreviated multi-hop file names like >>> =E2=80=98/ssh:news@HIDDEN:/opt/news/etc=E2=80=99, the user= option >>> =E2=80=98tramp-save-ad-hoc-proxies=E2=80=99 must be set non-=E2=80= =98nil=E2=80=99 value. >>> --8<---------------cut here---------------end--------------->8--- >>> >>> Does this help? >> >> Thanks! The first paragraph is helpful, but then the second paragraph >> confuses me a bit. What is the relationship between the two options? > > I tried to say it with the beginning of the second paragraph. > "Alternatively, ..." means, that both options are independent from each > other. > > My English is notoriously bad. If you have a better phrasing, pls let me = know. Here's an attempt: Why don't saved multi-hop file names work in a new Emacs session? By default, multi-hop file names are abbreviated after completing the initial connection. These abbreviated forms mention only the final hop, and so only the Emacs session that generated the abbreviated form can understand it. For example, after connecting to /ssh:bird@bastion|ssh:news.my.domain:/opt/news/etc, the file name becomes /ssh:news@HIDDEN:/opt/news/etc. If the abbreviated form is saved in a bookmark, the recent files list, bbdb, or similar, a new Emacs session has no way to know that the connection must go through bird@bastion first. There are two mechanisms to deal with this. The first is to customize tramp-show-ad-hoc-proxies to a non-nil value, which disables abbreviation. Then the full multi-hop file name is the one that will be both displayed and saved. Alternatively, you can customize tramp-save-ad-hoc-proxies to a non-nil value which means to save the full file names, but display the abbreviated ones. ... but is this actually a correct description of the behaviour? >> Also, why is tramp-show-ad-hoc-proxies not non-nil by default? >> Just a matter of preserving backwards compatibility? > > The majority of Tramp users prefers the abbreviated form "/sudo:root@host= :" > when they have started with "/ssh:host|sudo::". This works as expected, > unless you want to keep this over Emacs session boundaries. So it is a > convenience default to initialize this option with nil. I see, cool. --=20 Sean Whitton
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Ship Mints <shipmints@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Feb 2025 12:27:01 +0000 Resent-Message-ID: <handler.76457.B76457.17402271913415 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean Whitton <spwhitton@HIDDEN> Cc: Michael Albinus <michael.albinus@HIDDEN>, 76457 <at> debbugs.gnu.org Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.17402271913415 (code B ref 76457); Sat, 22 Feb 2025 12:27:01 +0000 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 12:26:31 +0000 Received: from localhost ([127.0.0.1]:50288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tloaT-0000sg-Fr for submit <at> debbugs.gnu.org; Sat, 22 Feb 2025 07:26:31 -0500 Received: from mail-vs1-xe29.google.com ([2607:f8b0:4864:20::e29]:44367) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tloaP-0000qm-F2 for 76457 <at> debbugs.gnu.org; Sat, 22 Feb 2025 07:26:27 -0500 Received: by mail-vs1-xe29.google.com with SMTP id ada2fe7eead31-4be5033a2cbso1310496137.1 for <76457 <at> debbugs.gnu.org>; Sat, 22 Feb 2025 04:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740227179; x=1740831979; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=h4VCENORqfxkSYGt90eIoQKG6+hKvdnUCT9tMsUPtx8=; b=aP/j44FfosUrKkmHI64yOJe7IUCZA3tvS5Vsq+NwS3XRmyTggawlj5W9l89XFsIgQx heXHaUsQsQqcPUZ8cUIsyXopMJtcp/4fugdv7gbJwXDEtjcOHZlTYyT97eGYmtcKGS5Y ioyAoYEOVRo5dcwyyFrwBhqdiSddzS6P3MxaBXe5+VmjWa6vvuPtsldQtQPIGZZVMy1z w9wEB1VFPsspIXXOLTwWMqpD6OiCAEJd3ThS5PMcQcsJ940U1M3BtrWEqEJ+7pW7hZbu t8U4gAKrpatDK6Bck6dW8Srm0QoXSBMjq+R+l++tKaIKoMMR4yAIx19Zg6Ldr8PR8uo8 Vp6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740227179; x=1740831979; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h4VCENORqfxkSYGt90eIoQKG6+hKvdnUCT9tMsUPtx8=; b=awIWprRd/VBE4tCcokMqWbejMpn+hLg2f0cG0aeHKg60nf+rO3LF0xeZB1PavymzsM kQVFzIcCyCP9IohoCvE+g9SGSOQf6w6dqQMV9YgjBL4zsSrlNrPk0QXe+iCXGOQXH3db ni0KRY0VtusJ0lYmGMouBJ6Vshp4nNEJKsdcD9m9hXP1tcvMRHx4WzYfYcJjM3iuGRby XhikBex3O1L1nck4vWl53nJHeEy5CXt+PKsSSUqqyokQrXTYbfIhBVvVGC4WfTkRIPxc W2yNOz0pGSncbTbO7nYu164UXZHME3FRrR+5V0ORlViGOpTc57WxI44fglBduhgJezEm oZ7w== X-Forwarded-Encrypted: i=1; AJvYcCXORMRZ6LQ3wDSkJRYKOc5m2J1u1eJdU2dbC0LBPwihZbBTvMQ49RhYgffNdDfBRPv3BemXOQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzDoSp6J4E2DA0eKY7UYDfJ9X3+DFDftET7UzHN1gbjsP7aVAlQ zrdA0GD25nz/nMW0ZDRURtCa/1E0/RH1TTsHmDAa3aBuxMFlcIvs3XdOQ/Uh7zzXFsKcx2m9GcE 5knJc/9OgYLk8J122PapiJTeHOow= X-Gm-Gg: ASbGncu19Zk/rtJXLwjH19piB0mTWbMjw1Jc5yOjEehApjLJQOfFDlqIU2EBOMO70uj l54E2NY7zSwvo6lmThZ7qwJxdEprMm/s+Qc7l0yniztD0qCfmme6feVs84dS1CpsVrfM2EozIWc +36BXKhqE= X-Google-Smtp-Source: AGHT+IHsKSvZkP8nDO8EbTRiXGxHj7TOMIPvtmIYv8Ky8s8TLqUFEmBhXp3R9w3SIm9q0f7dSouN51T1hpLZxtNzmW8= X-Received: by 2002:a05:6102:38d1:b0:4bb:b589:9da5 with SMTP id ada2fe7eead31-4bfc0281f42mr3382412137.25.1740227179402; Sat, 22 Feb 2025 04:26:19 -0800 (PST) MIME-Version: 1.0 References: <87msefvmxn.fsf@HIDDEN> <87seo7yduz.fsf@HIDDEN> <87mseeshha.fsf@HIDDEN> <875xl2wdg9.fsf@HIDDEN> <874j0mqivm.fsf@HIDDEN> In-Reply-To: <874j0mqivm.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Sat, 22 Feb 2025 07:26:08 -0500 X-Gm-Features: AWEUYZmddby6T1TTcg3h1b8AyEvhtS7ldu_0nVmym4RcNgoEmtUzhp1cY99icDU Message-ID: <CAN+1Hbogbm7RCJbBS-ELLGJoe0p2C+E_PLrAEYmKcJSqi-4+SA@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000db607a062eba36ef" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000db607a062eba36ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton <spwhitton@HIDDEN= ame> wrote: > Here's an attempt: > > Why don't saved multi-hop file names work in a new Emacs session? > > By default, multi-hop file names are abbreviated after completing > the initial connection. These abbreviated forms mention only the > I'd say retain instead of mention. > final hop, and so only the Emacs session that generated the > abbreviated form can understand it. > How about ...the originating Emacs session maintains an ephemeral record of the hops, and this will not be available to other Emacs sessions... For example, after connecting to > /ssh:bird@bastion|ssh:news.my.domain:/opt/news/etc, the file name > becomes /ssh:news@HIDDEN:/opt/news/etc. If the abbreviated > form is saved in a bookmark, the recent files list, bbdb, or > similar, a new Emacs session has no way to know that the connection > must go through bird@bastion first. > > There are two mechanisms to deal with this. The first is to > customize tramp-show-ad-hoc-proxies to a non-nil value, which > disables abbreviation. Then the full multi-hop file name is the one > that will be both displayed and saved. > How about ...fully-qualified multi-hop file name... One nuance is that tramp-show-ad-hoc-proxies must be customized to non-nil _in advance_ of making connections. Alternatively, you can customize tramp-save-ad-hoc-proxies to a > non-nil value which means to save the full file names, but display > the abbreviated ones. > ...fully-qualified file names... One nuance here is that proxies saved via tramp-save-ad-hoc-proxies are stored in a file local to the originating Emacs session. If one expects to share bookmarks, etc., outside that host, show trumps save, though they are not mutually exclusive options. That would also assume that one's .ssh/config, etc., are also synchronized. Mine are. And I want my Emacs sessions to work as identically as I can manage across hosts modulo platform specifics and perhaps different directory tree contents, and even then, I tend to use identical hierarchies everywhere. ... but is this actually a correct description of the behaviour? > Based on my recent testing and discussions with Michael, this is correct. The Tramp UI could be improved so that fully-qualified names are always retained yet made convenient to use abbreviated file names. That would solve for both persisting remote file names and interactive convenience. -Stephane --000000000000db607a062eba36ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">= On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton <<a href=3D"mailto:= spwhitton@HIDDEN">spwhitton@HIDDEN</a>> wrote:</span></d= iv></div><div class=3D"gmail_quote gmail_quote_container"><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">Here's an attempt:<br> <br> =C2=A0 =C2=A0 Why don't saved multi-hop file names work in a new Emacs = session?<br> <br> =C2=A0 =C2=A0 By default, multi-hop file names are abbreviated after comple= ting<br> =C2=A0 =C2=A0 the initial connection.=C2=A0 These abbreviated forms mention= only the<br></blockquote><div><br></div><div><div class=3D"gmail_default" = style=3D"font-family:monospace">I'd say retain instead of mention.</div= ></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0= px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> =C2=A0 =C2=A0 final hop, and so only the Emacs session that generated the<b= r> =C2=A0 =C2=A0 abbreviated form can understand it.<br></blockquote><div><br>= </div><div><div class=3D"gmail_default" style=3D"font-family:monospace">How= about ...the originating Emacs session maintains an ephemeral record of th= e hops, and this will not be available to other=C2=A0Emacs sessions...</div= ></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> =C2=A0 =C2=A0 For example, after connecting to<br> =C2=A0 =C2=A0 /ssh:bird@bastion|ssh:news.my.domain:/opt/news/etc, the file = name<br> =C2=A0 =C2=A0 becomes /ssh:news@HIDDEN:/opt/news/etc.=C2=A0 If the = abbreviated<br> =C2=A0 =C2=A0 form is saved in a bookmark, the recent files list, bbdb, or<= br> =C2=A0 =C2=A0 similar, a new Emacs session has no way to know that the conn= ection<br> =C2=A0 =C2=A0 must go through bird@bastion first.<br> <br> =C2=A0 =C2=A0 There are two mechanisms to deal with this.=C2=A0 The first i= s to<br> =C2=A0 =C2=A0 customize tramp-show-ad-hoc-proxies to a non-nil value, which= <br> =C2=A0 =C2=A0 disables abbreviation.=C2=A0 Then the full multi-hop file nam= e is the one<br> =C2=A0 =C2=A0 that will be both displayed and saved.<br></blockquote><div><= br></div><div><div class=3D"gmail_default" style=3D"font-family:monospace">= How about ...fully-qualified multi-hop file name...</div></div><div class= =3D"gmail_default" style=3D"font-family:monospace"><br></div><div class=3D"= gmail_default" style=3D"font-family:monospace"><div class=3D"gmail_default"= >One nuance is that=C2=A0tramp-show-ad-hoc-proxies must be customized to no= n-nil _in advance_ of making connections.</div><div><br style=3D"font-famil= y:Arial,Helvetica,sans-serif"></div></div><blockquote class=3D"gmail_quote"= style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p= adding-left:1ex"> =C2=A0 =C2=A0 Alternatively, you can customize tramp-save-ad-hoc-proxies to= a<br> =C2=A0 =C2=A0 non-nil value which means to save the full file names, but di= splay<br> =C2=A0 =C2=A0 the abbreviated ones.<br></blockquote><div><br></div><div><di= v class=3D"gmail_default" style=3D"font-family:monospace">...fully-qualifie= d file names...</div></div><div class=3D"gmail_default" style=3D"font-famil= y:monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:mo= nospace"><div class=3D"gmail_default">One nuance here is that proxies saved= via tramp-save-ad-hoc-proxies are stored in a file local to the originatin= g Emacs session.=C2=A0 If one expects to share bookmarks, etc., outside tha= t host, show trumps save, though they are not mutually exclusive options.= =C2=A0 That would also assume that one's .ssh/config, etc., are also sy= nchronized.=C2=A0 Mine are.=C2=A0 And I want my Emacs sessions to work as i= dentically as I can manage across hosts modulo platform=C2=A0specifics and = perhaps different directory tree contents,=C2=A0and even then, I tend=C2=A0= to use identical hierarchies everywhere.</div><div class=3D"gmail_default">= <br></div></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> ... but is this actually a correct description of the behaviour?<br></block= quote><div><br></div><div class=3D"gmail_default" style=3D"font-family:mono= space">Based on my recent testing and=C2=A0discussions with Michael, this i= s correct.=C2=A0 The Tramp UI could be improved so that fully-qualified nam= es are always retained yet made convenient to use abbreviated file names.= =C2=A0 That would solve for both persisting remote file names and interacti= ve convenience.</div><div class=3D"gmail_default" style=3D"font-family:mono= space"><br></div><div class=3D"gmail_default" style=3D"font-family:monospac= e">-Stephane</div></div></div> --000000000000db607a062eba36ef--
X-Loop: help-debbugs@HIDDEN Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Feb 2025 15:34:05 +0000 Resent-Message-ID: <handler.76457.B76457.174023842128493 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ship Mints <shipmints@HIDDEN> Cc: 76457 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN> Received: via spool by 76457-submit <at> debbugs.gnu.org id=B76457.174023842128493 (code B ref 76457); Sat, 22 Feb 2025 15:34:05 +0000 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 15:33:41 +0000 Received: from localhost ([127.0.0.1]:52818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlrVY-0007P4-Ib for submit <at> debbugs.gnu.org; Sat, 22 Feb 2025 10:33:39 -0500 Received: from mout.gmx.net ([212.227.17.22]:57551) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1tlrVM-0007MV-5P for 76457 <at> debbugs.gnu.org; Sat, 22 Feb 2025 10:33:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1740238395; x=1740843195; i=michael.albinus@HIDDEN; bh=b5VYRgil3G07MNXhyccD77yqtCUyxNyjr+ZiV6ct1KI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=tUVXyhMJ5VKAhbkW3ya/yoPN7SQALq2u0XB6xxphGdiaeEdqe8z1ha3jyt43pxaZ DDEDbhL9FoszoG8wyENyPmiEBN8kyC7AQiLcTI8affO4Tz1H402Q3RR70A8kXO5K8 CjJy752hWdJe1XBX1V6obzxe6oCBrBw82Z8GKMqofaGMrJQfWe7F4x7gPsrS/nNGE eYXCgZinpo5oqCewkLG/RPp/txpX7RzIRqp3iJgzPZx7YZPPLdy0B4B7sXsIL7PMw Ijgk+tdDcVOOk77ILS/8hOH7rT5J1e39n31a4t7rkd/WYuAeIK9t98wNslyWZ60Dk DnNb4c66gc/gaaRQuw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MwfWU-1tO0x63iTy-017VpY; Sat, 22 Feb 2025 16:33:14 +0100 From: Michael Albinus <michael.albinus@HIDDEN> In-Reply-To: <CAN+1Hbogbm7RCJbBS-ELLGJoe0p2C+E_PLrAEYmKcJSqi-4+SA@HIDDEN> References: <87msefvmxn.fsf@HIDDEN> <87seo7yduz.fsf@HIDDEN> <87mseeshha.fsf@HIDDEN> <875xl2wdg9.fsf@HIDDEN> <874j0mqivm.fsf@HIDDEN> <CAN+1Hbogbm7RCJbBS-ELLGJoe0p2C+E_PLrAEYmKcJSqi-4+SA@HIDDEN> Date: Sat, 22 Feb 2025 16:33:13 +0100 Message-ID: <87tt8muh8m.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:miXxsX/lpU6wDPT7GRgntbtJs/ahOMrAWGDNYpMOPTPlt03HMoz A6/bp1WWLQUmVqCXdqHp+Sk7j7JXyvZWL9y0C2GXkIMRc70F7L+XAsmqklTi0ZdB56n2BuM +DWEaZa+FVEhzLkCHFvV+nvWPnxkZWLbWefqO48eRPd1fiAIRBPwdi1ln63iSAqhcOeld6v jtj8ZcITf9M4uyNP640JA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:x87ta8yJIHs=;0//e6pVqZFCoGuX4Jug/dZkf4dq eHc/LYTDNqGnM/cMSkQAM3GZ0B2/Tb/uFZ/xa2GZAF7tiZjxwioBh2+BKTlid2vP8+oEZWqcX OQJedfldC8UcSG8NfZ2IBKEax6wGlFt9vrX2t0sEmQaWGhFy0H4kv0Vb2Z3cTv3Y66vkmO07z MaW3kOGr+5jeXL1xFEFJ/ZlyzLGgG/flPWbeiqCD1yM/4aWFT1ZtCl/s8l0DDM9BJNpfmKvdh BQ0NbJC8S0+x82pyfZrqcJYEoBon8CQBG7+QWsk3uO0R/tVo8MIOQaaf8DEHA2YkC1u/J/iJF MegAviJC+fvKl2Jxi7jkewdRvXc4e7Ut8nI19yo6t3O2DsnoZsIMjQiSa51t+MMeaUtGvJByQ es7aLK9KoIL4Uno1plxUDIucsjIBss3NHtr1PiZtFeHEjK3Rxsm9UR9NLLTDtsALihj7M1PDJ HJMSx559YgiHuuATu7GwTsAyRygvCKp58W1XnjvM4eCNGPONFqP5hUGa8QhoMIs+FDBDZY1+Z YC7JO7mFW6r39fk1t0zm54EBwsJpaSrtGNDMRcCrSyJH7iyi05fF9t0gqOlxnozOWuTW3opbm D/v7EW0bmkMPxkY8Mlrz+Ma7Emxwmfu/PJaamgB3zTzhASE60M7HKAPUenPGk6ltZfnbWuwSB E66J472VO6TFpNIDMq360hAtbpODgfrnDLWrfUtsvbnKsoJsmbOVNLP82jzwf8IqgnKiutJka 7hqiA8S3aZKX04gpUkT5rFGg+reTH+DIaVzpX3o7M4FfvkydxfA+vXB5gbFpSFjohIwTeBTW4 WW3XkvCfwlduVz83IsFiEfQwJMewY+24IRxCeE+7ABhEDINCu7ry9AB4T56loi1Qxo4fh3CdL Jq3KCF3XCunFVFGYkJlnRN2O3gwgBrIbxK0fXU+8xwE/lyZJvuz7uLRrLiMhG75qTrMkfh0ti V2q1QZfMYsSSHU2RuPpzcokog912BAYuY7jE/rGereO0ErhHIIcwFy1eoUFFAWhmh897Q8/uu kYqM/ALAqWata5nifF36uNPJzC+E6FQiAIkvX+gO3dM2CAW3bBKvMSnnH6+lG/w9xiBIbhqNQ ZKHq8oDiJZXjC6cufbW5kocNEkBQ5LlW01ojnQrGlZFKIZGzT+7eesPEr0S/OBy5HKunLoWlD MdSrKz2R4IulQdpGulaxTCMIIC/FWfRmTa1KYlsa8P/xTsh7m0bk86iFUvgwF5fDLT2ES9QJP k/MY4v0SI9ICsgR3StbStI6efOVuvhHh/qM8kBOyd+aLljna4lovOZvbpDdrTY+3UPo2jUdrJ Jxxhbh+OBJu6XFlpj72HCnJWecyOy0unKG1gyQfTYWfCyz+m8ANFtRlhhetM/w2RidXKrXFLf 1k/A4QfBSSUAEobN+7Bl1LFq0CoFMkzdkOJLCWjBpX1QZR6bTPcopKae98 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Ship Mints <shipmints@HIDDEN> writes: > On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton > <spwhitton@HIDDEN> wrote: Thank you both. Finally, I have made the following changes based on your proposals (not pushed yet): In "5.4 Declaring multiple hops in the file name " --8<---------------cut here---------------start------------->8--- TRAMP adds the ad-hoc definitions as an ephemeral record to =E2=80=98tramp-default-proxies-alist=E2=80=99, which are available for reus= e during that Emacs session. Subsequent TRAMP connections to the same remote host can then use the abbreviated form =E2=80=98/ssh:you@remotehost:/path= =E2=80=99. -- User Option: tramp-show-ad-hoc-proxies If this user option is non-=E2=80=98nil=E2=80=99, ad-hoc definitions a= re kept in remote file names instead of showing the abbreviations. This is useful if the ad-hoc proxy definition shall be used in further Emacs sessions, kept in configuration files of recentf and other packages. A non-=E2=80=98nil=E2=80=99 setting of this option has effect only if = set before the connection is established. (customize-set-variable 'tramp-show-ad-hoc-proxies t) Ad-hoc definitions are removed from =E2=80=98tramp-default-proxies-alist= =E2=80=99 via the command =E2=80=98M-x tramp-cleanup-all-connections <RET>=E2=80=99 (= *note Cleanup remote connections::). -- User Option: tramp-save-ad-hoc-proxies For ad-hoc definitions to be saved automatically in =E2=80=98tramp-default-proxies-alist=E2=80=99 for future Emacs session= s, set =E2=80=98tramp-save-ad-hoc-proxies=E2=80=99 to non-=E2=80=98nil=E2=80= =99. The resulting user option =E2=80=98tramp-default-proxies-alist=E2=80=99 is saved in your = =E2=80=98.emacs=E2=80=99 file. If you use saved configuration files with abbreviated ad-hoc proxy definitions on another host, for example by distribution of the =E2=80=98recentf-save-file=E2=80=99, you must distribute your =E2= =80=98.emacs=E2=80=99 file as well. (customize-set-variable 'tramp-save-ad-hoc-proxies t) --8<---------------cut here---------------end--------------->8--- In "7 Frequently Asked Questions" --8<---------------cut here---------------start------------->8--- =E2=80=A2 Why don't saved ad-hoc multi-hop file names work in a new Emacs session? By default, ad-hoc multi-hop file names are abbreviated after completing the initial connection. These abbreviated forms retain only the final hop, and so only the Emacs session that generated the abbreviated form can understand it. *Note Ad-hoc multi-hops::. For example, after connecting to =E2=80=98/ssh:bird@bastion|ssh:news@HIDDEN:/opt/news/etc=E2=80= =99, the file name becomes =E2=80=98/ssh:news@HIDDEN:/opt/news/etc=E2= =80=99. If the abbreviated form is saved in a bookmark, the recent files list, bbdb, or similar, a new Emacs session has no way to know that the connection must go through =E2=80=98bird@bastion=E2=80=99 fir= st. There are two mechanisms to deal with this. The first is to customize =E2=80=98tramp-show-ad-hoc-proxies=E2=80=99 to a non-=E2=80= =98nil=E2=80=99 value, which disables abbreviation. Then the fully-qualified ad-hoc multi-hop file name is the one that will be both displayed and saved. *Note tramp-show-ad-hoc-proxies::. Alternatively, you can customize =E2=80=98tramp-save-ad-hoc-proxies=E2= =80=99 to a non-=E2=80=98nil=E2=80=99 value which means to save the information ho= w an abbreviated multi-hop file name can be expanded. *Note tramp-save-ad-hoc-proxies::. --8<---------------cut here---------------end--------------->8--- WDYT? > The Tramp UI could be improved so that fully-qualified names > are always retained yet made convenient to use abbreviated file names. > That would solve for both persisting remote file names and > interactive convenience. No, there's a reason that ad-hoc multi-hop file names are ad-hoc. Sometimes, it isn't desirable to save them persistently over Emacs sessions. > -Stephane Best regards, Michael.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.