From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 01:20:45 2025 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 ) id 1tlMOy-0007bt-3Y for submit@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 ) id 1tlMOu-0007aV-RO for submit@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 ) id 1tlMOo-0007rm-A0 for bug-gnu-emacs@gnu.org; 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 ) id 1tlMOm-000262-1F for bug-gnu-emacs@gnu.org; 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@gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -167911684 for (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 To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Cannot create bookmark to chained TRAMP connection Date: Fri, 21 Feb 2025 14:20:20 +0800 Message-ID: <87msefvmxn.fsf@melete.silentflame.com> 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@spwhitton.name; 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) X-debbugs-cc: michael.albinus@gmx.de 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 01:51:28 2025 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 ) id 1tlMsh-0003r7-Fs for submit@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 ) id 1tlMsf-0003q3-RZ for 76457@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@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 To: Sean Whitton Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: <87msefvmxn.fsf@melete.silentflame.com> References: <87msefvmxn.fsf@melete.silentflame.com> Date: Fri, 21 Feb 2025 12:21:14 +0530 Message-ID: <878qpzx02l.fsf@gmail.com> 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-Debbugs-Envelope-To: 76457 Cc: michael.albinus@gmx.de, 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@gmx.de > > 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 02:08:19 2025 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 ) id 1tlN90-0006PU-E4 for submit@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 ) id 1tlN8x-0006Nu-NM for 76457@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@gmx.de; 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 To: Sean Whitton Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: <87msefvmxn.fsf@melete.silentflame.com> References: <87msefvmxn.fsf@melete.silentflame.com> Date: Fri, 21 Feb 2025 08:08:04 +0100 Message-ID: <87seo7yduz.fsf@gmx.de> 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-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Sean Whitton 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@news.my.domain:/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. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 05:09:07 2025 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 ) id 1tlPxy-0003Lu-Uj for submit@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 ) id 1tlPxv-0003K3-9g for 76457@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@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@melete.silentflame.com> In-Reply-To: <87msefvmxn.fsf@melete.silentflame.com> From: Ship Mints Date: Fri, 21 Feb 2025 05:08:46 -0500 X-Gm-Features: AWEUYZnNykSl1nPH6KHRHb2nJF3e6rMDxBnhyiZhfwqTvUoZjS602eScVpmR-8Q Message-ID: Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection To: Sean Whitton Content-Type: multipart/alternative; boundary="000000000000bc142f062ea42d2d" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 76457 Cc: michael.albinus@gmx.de, 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 wrote: > X-debbugs-cc: michael.albinus@gmx.de > > 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
Awaiting further review and installation:


I tested that it handles multi-hops bookmark= s.=C2=A0 Want to try it?

On Fri, Feb 21, 2025 at= 1:21=E2=80=AFAM Sean Whitton <spwhitton@spwhitton.name> wrote:
X-debbugs-cc: michael.albinus@gmx.de

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:

=C2=A0 =C2=A0 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 visiti= ng 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-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 23:58:54 2025 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 ) id 1tlhbK-0004ZL-GV for submit@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 ) id 1tlhbI-0004YT-MZ for 76457@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@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 To: Michael Albinus Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: <87seo7yduz.fsf@gmx.de> (Michael Albinus via's message of "Fri, 21 Feb 2025 08:08:04 +0100") References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> Date: Sat, 22 Feb 2025 12:58:41 +0800 Message-ID: <87mseeshha.fsf@melete.silentflame.com> 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-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@news.my.domain:/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 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 00:00:53 2025 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 ) id 1tlhdE-0004y8-MG for submit@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 ) id 1tlhdC-0004x0-CD for 76457@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@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 To: Ship Mints , Visuwesh Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: (Ship Mints's message of "Fri, 21 Feb 2025 05:08:46 -0500") References: <87msefvmxn.fsf@melete.silentflame.com> Date: Sat, 22 Feb 2025 13:00:41 +0800 Message-ID: <87ikp2shdy.fsf@melete.silentflame.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 04:12:21 2025 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 ) id 1tllYa-0001X0-2i for submit@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 ) id 1tllYU-0001VA-3H for 76457@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@gmx.de; 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 To: Sean Whitton Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: <87mseeshha.fsf@melete.silentflame.com> References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> Date: Sat, 22 Feb 2025 10:12:06 +0100 Message-ID: <875xl2wdg9.fsf@gmx.de> 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-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Sean Whitton 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@news.my.domain:/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. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 07:11:41 2025 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 ) id 1tloM8-0006zF-Ih for submit@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 ) id 1tloM4-0006xm-6i for 76457@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@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 To: Michael Albinus Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: <875xl2wdg9.fsf@gmx.de> (Michael Albinus via's message of "Sat, 22 Feb 2025 10:12:06 +0100") References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> Date: Sat, 22 Feb 2025 20:11:25 +0800 Message-ID: <874j0mqivm.fsf@melete.silentflame.com> 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-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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@news.my.domain:/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@news.my.domain:/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 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 07:26:31 2025 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 ) id 1tloaT-0000sg-Fr for submit@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 ) id 1tloaP-0000qm-F2 for 76457@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@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@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> <874j0mqivm.fsf@melete.silentflame.com> In-Reply-To: <874j0mqivm.fsf@melete.silentflame.com> From: Ship Mints Date: Sat, 22 Feb 2025 07:26:08 -0500 X-Gm-Features: AWEUYZmddby6T1TTcg3h1b8AyEvhtS7ldu_0nVmym4RcNgoEmtUzhp1cY99icDU Message-ID: Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection To: Sean Whitton Content-Type: multipart/alternative; boundary="000000000000db607a062eba36ef" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76457 Cc: Michael Albinus , 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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@news.my.domain:/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
= On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton <spwhitton@spwhitton.name> wrote:
Here's an attempt:

=C2=A0 =C2=A0 Why don't saved multi-hop file names work in a new Emacs = session?

=C2=A0 =C2=A0 By default, multi-hop file names are abbreviated after comple= ting
=C2=A0 =C2=A0 the initial connection.=C2=A0 These abbreviated forms mention= only the

I'd say retain instead of mention.
=C2=A0
=C2=A0 =C2=A0 final hop, and so only the Emacs session that generated the =C2=A0 =C2=A0 abbreviated form can understand it.

=
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...

=C2=A0 =C2=A0 For example, after connecting to
=C2=A0 =C2=A0 /ssh:bird@bastion|ssh:news.my.domain:/opt/news/etc, the file = name
=C2=A0 =C2=A0 becomes /ssh:news@news.my.domain:/opt/news/etc.=C2=A0 If the = abbreviated
=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
=C2=A0 =C2=A0 must go through bird@bastion first.

=C2=A0 =C2=A0 There are two mechanisms to deal with this.=C2=A0 The first i= s to
=C2=A0 =C2=A0 customize tramp-show-ad-hoc-proxies to a non-nil value, which=
=C2=A0 =C2=A0 disables abbreviation.=C2=A0 Then the full multi-hop file nam= e is the one
=C2=A0 =C2=A0 that will be both displayed and saved.
<= br>
= How about ...fully-qualified multi-hop file name...

One nuance is that=C2=A0tramp-show-ad-hoc-proxies must be customized to no= n-nil _in advance_ of making connections.

=C2=A0 =C2=A0 Alternatively, you can customize tramp-save-ad-hoc-proxies to= a
=C2=A0 =C2=A0 non-nil value which means to save the full file names, but di= splay
=C2=A0 =C2=A0 the abbreviated ones.

...fully-qualifie= d file names...

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.
=
... but is this actually a correct description of the behaviour?

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.

-Stephane
--000000000000db607a062eba36ef-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 10:33:40 2025 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 ) id 1tlrVY-0007P4-Ib for submit@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 ) id 1tlrVM-0007MV-5P for 76457@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@gmx.de; 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 To: Ship Mints Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> <874j0mqivm.fsf@melete.silentflame.com> Date: Sat, 22 Feb 2025 16:33:13 +0100 Message-ID: <87tt8muh8m.fsf@gmx.de> 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-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org, Sean Whitton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Ship Mints writes: > On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton > 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 =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@news.my.domain:/opt/news/etc=E2=80= =99, the file name becomes =E2=80=98/ssh:news@news.my.domain:/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. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 11:08:59 2025 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 16:08:59 +0000 Received: from localhost ([127.0.0.1]:56940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tls3m-0007ec-Gl for submit@debbugs.gnu.org; Sat, 22 Feb 2025 11:08:58 -0500 Received: from mail-ua1-x931.google.com ([2607:f8b0:4864:20::931]:44201) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tls3g-0007e0-BM for 76457@debbugs.gnu.org; Sat, 22 Feb 2025 11:08:53 -0500 Received: by mail-ua1-x931.google.com with SMTP id a1e0cc1a2514c-8641bc78952so792771241.0 for <76457@debbugs.gnu.org>; Sat, 22 Feb 2025 08:08:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740240526; x=1740845326; 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=pBP7sjNvwFq6SOXp6TE+PY3I6/Sc5/6U7Ki6KmZnpAs=; b=R2fk6vx4ErhjwMOD9r9WYY71RF9ebDUo3bGGW1UPxtLZRTl3N+4ZHeJyJzp0OC8o+9 UegUf/kbYXj2kbFo5+7dKMpZqD7gfwzKEGt3OZiFd0EqDRZDI0GD5j1o9d8zgIK5zLJE J21pOnAybn4ThJwuUDPndKfikmo3cml16h8cqGrPtuhrV7WInWQ06kk2WibckFAbyZ4g dErtGOt711/26PuRgerpfhxews9ZfNieSp+qQvMTKTkyQlCY8Ih7EssWyMHnkjHn8diS HAuFIcoz3KE6JRpCHKOPElcsb/zVSCBVy6QPeW/YaX6E5j/+6XA6Xngn3D1ikPWz6gbO AcOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740240526; x=1740845326; 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=pBP7sjNvwFq6SOXp6TE+PY3I6/Sc5/6U7Ki6KmZnpAs=; b=m0+kEn8r9Qtg9JMkZ9Ge8/vbeNvrLI9QW4ZIZpqoDq+hR/kDMsNxC4Ts+lLiXpeWqG 6NQHGLdHmPj30RXBidI3eHrGX/o6V/Rlk8tV1yYgVtRRrEgXieLTeVVJ5sEuITbXBnyT uGkPPWd1hLeFAO/pE0r5w+I0hB9c87PDui/8TgYVwrO9y1mRYXHll93WMKFNR2htMsv1 cuGZcj3N13UQ5qMN/mND4TZmnNE2KiiJv2Pb4y5qZ2LRTNWHpG62K2O5XaIkAYOjIkOc YyRwVsAo5PHzQOCA1FywlGvc33UPxPKeCfMe+mclfxyFjglYKVzwnhPXVwDAxBcbbNgE wQrQ== X-Forwarded-Encrypted: i=1; AJvYcCWmxZdfWFNYol8rBwlyspNCre43hXnNtLANcnYBZtLniMe0fr7UUnkwO+fSl/ssy5ZjUnv1Ag==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyV2sXnCttssipgWqFBgzSrIWJ5zSXeQAZKs4yRD1mITNjC0viC iVebp12HXJZst/7Xei9l4NGODOi5ULbzs+y3A7hepPKKStdQMacXHuHF/ZDfIv9pulu/kQkgTYk 1WwIONa66ZWFB8bgjkfqSKT/SgUE= X-Gm-Gg: ASbGncsGFAZ+bwoF2o983QSu2lhme+GPuOoy7/PnSWEQ5eJLx9F7IXIGPIGExv7fLwZ 4LZx7yGhCIWnkDCtU+HXn7eryaic8ZBrp1HCTv/j1arBEYkwDOF+CBQ5ZTaeLx7k6MMBJHxUoub N48UTonPs= X-Google-Smtp-Source: AGHT+IGXYyLyveG3FOpKwfFtwqG6Ov4h1pQzmb4KwpW2Xvjsg4AeDG6ptupx1dJvAEEZPOUEyyCOZ9+gMbRoDm5UQrU= X-Received: by 2002:a05:6122:1991:b0:520:3536:fea5 with SMTP id 71dfb90a1353d-521ee41dad8mr4243243e0c.6.1740240526383; Sat, 22 Feb 2025 08:08:46 -0800 (PST) MIME-Version: 1.0 References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> <874j0mqivm.fsf@melete.silentflame.com> <87tt8muh8m.fsf@gmx.de> In-Reply-To: <87tt8muh8m.fsf@gmx.de> From: Ship Mints Date: Sat, 22 Feb 2025 11:08:35 -0500 X-Gm-Features: AWEUYZlkIYzAiOpKCdEdkF9uaUcvgkjjXniXcNMqWmdHo40hgM_q89Bm--kJRQI Message-ID: Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection To: Michael Albinus Content-Type: multipart/alternative; boundary="00000000000066237b062ebd5234" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org, Sean Whitton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000066237b062ebd5234 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Feb 22, 2025 at 10:33=E2=80=AFAM Michael Albinus wrote: > Ship Mints writes: > > > On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton > > 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 re= use 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= are 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. > Here I think it would be good to clarify: If this user option is non-=E2=80=98nil=E2=80=99, _fully-qualified_ ad= -hoc definitions are kept in The ad-hoc nature of these connections isn't really related to their potential abbreviations and that might confuse some people. Perhaps explain that multi-hop routes are not known to Emacs (can they be defined in ssh/config?), and the user has to create them on the fly, so they are "ad-hoc", so to speak? --00000000000066237b062ebd5234 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
= On Sat, Feb 22, 2025 at 10:33=E2=80=AFAM Michael Albinus <michael.albinus@gmx.de> wrote:
Ship Mints <shipmints@gmail.com> writes:

> On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton
> <spwh= itton@spwhitton.name> 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---
=C2=A0 =C2=A0TRAMP 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.=C2=A0 Subsequent TRAMP connections to the same remote host can then use the abbreviated form =E2=80=98/ssh:you@remotehost:/path= =E2=80=99.

=C2=A0-- User Option: tramp-show-ad-hoc-proxies
=C2=A0 =C2=A0 =C2=A0If this user option is non-=E2=80=98nil=E2=80=99, ad-ho= c definitions are kept in
=C2=A0 =C2=A0 =C2=A0remote file names instead of showing the abbreviations.= =C2=A0 This is
=C2=A0 =C2=A0 =C2=A0useful if the ad-hoc proxy definition shall be used in = further
=C2=A0 =C2=A0 =C2=A0Emacs sessions, kept in configuration files of recentf = and other
=C2=A0 =C2=A0 =C2=A0packages.

Here I think it would be= good to clarify:

=C2=A0 =C2=A0 =C2=A0If this user option is non-= =E2=80=98nil=E2=80=99, _fully-qualified_ ad-hoc definitions are kept in

The ad-hoc nature of these connections isn't real= ly related to their=C2=A0potential=C2=A0abbreviations and that might confus= e some people.=C2=A0 Perhaps explain that multi-hop routes are not known to= Emacs (can they be defined in ssh/config?), and the user has to create the= m on the fly, so they are "ad-hoc", so to speak?
--00000000000066237b062ebd5234-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 11:19:26 2025 Received: (at 76457) by debbugs.gnu.org; 22 Feb 2025 16:19:26 +0000 Received: from localhost ([127.0.0.1]:56964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlsDt-00089p-Li for submit@debbugs.gnu.org; Sat, 22 Feb 2025 11:19:25 -0500 Received: from mout.gmx.net ([212.227.17.20]:46241) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlsDo-00089L-LP for 76457@debbugs.gnu.org; Sat, 22 Feb 2025 11:19:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1740241154; x=1740845954; i=michael.albinus@gmx.de; bh=C476LiG/OL5PWUK1ugiOJSQGto2+0GWzm5Vyi3/+Rik=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=mZ+Uue1XY9i98Vut9+oLTc2FGWbHBGNvbOC9Om3tsPVBiBEKqdjqlGMKyuXZh4Lf UJfLxFqT7mW79XX/7k7N5Vajoz51APFDMQ49/S2LMOD+3jiQsQFMRCXe6/GgPWfIf wqTwlrImtO0JiCq6JZaUQqynnWH9gg/HAgn686cFuTpbp/bMP+Oxf/cmfCwIloJuL We2ANMR1LQHv0T6TWsObyCL5Z+7kEqGBQ3KiZ/gjzLbISrYJFAylW8Qw5g8oH2IFB YcaNLRkntrUVZFeuAJesq6tA91OxkIH3vqNLi8R/ksBJPVwPs6Ppr1LwpmXTOfQFY IPMX1cSkzXLAqWRKXQ== 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 1MPGVx-1txbgd0Y7Z-00Xtoz; Sat, 22 Feb 2025 17:19:14 +0100 From: Michael Albinus To: Ship Mints Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> <874j0mqivm.fsf@melete.silentflame.com> <87tt8muh8m.fsf@gmx.de> Date: Sat, 22 Feb 2025 17:19:13 +0100 Message-ID: <878qpyuf3y.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:w/YqfV+Gk93EhDYoQ6GuY0M0/2PBeTFp5/WncEJvzqD9FzPZycB ICUlsMfzyLoSa48yf3oDPKJww6s2iUwpr4WXdvet/jFWHWsNcyjhqdawmZeG21GUsBm6OqV T3mPWu4qJuOFBH2lAUyc48nYlWr2HU3WVkwfRabqf8d8jwYE3bkIGaK6t5M6mtOnwSeW+1G K0RJlpsG67lm/HWSkLg1w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:LY9vPtHKWms=;QjfGkUQDbTCOnSBU7XZ5V9NSBO/ YxsJw3ss6E8gcPI87zJ8EyHrIGYmpjfdi0IZErthnNQv7SKkHIN706e7cVvpd7jVYCOcUuMRT KQQwN55/D7hRbooVV+k4SekCHBhykfTP0PPw21u+h0q3WTLZC8xVQaw+jJTGVUby1YPuCTGGy 6uqzdZcXZOUo7FJi/yg8S+RYxTa4jcBoDsQAytLZXOVsxj8n1WjF1WWXOpxuKqrgp1/ATLnX7 EBpLN40uUUIjx1sFhwe2jcJWXZPxR2m4VbII0gSy3lEaTXNPLirfHrc3NbXJabNPXNjdB4SPl jRJlsceTICMx1crAPAyHIh021Y3VbU9dSlOXyvDmbwZvx8c5OUgpbZcYWy++TsMOWsYu9wgou 66NR76eGlg5tr82Kghur3zUXmG38Aj9XtWhBy+n3VZIsGlJ+TpJ959MzBG2LvH7h+vv6SNjLZ xtSXAGKAscgtl4Sk+S0v82j5pIL8+LXcFFo4QTB3QZFzgbXSR/aUkga+Ibv42Iyd7+8lbOjAa 9E8fNVHyU6r8+VGJ3g42QOggjV/E/dSexBuMvkkaMe1FXSw9F0IzQ6/tUMqhCAm+DH5HZCrcy PMKV+zckrOq1X5Mi5pyCSJC0o12jN2kKC4O7T7Xaiz7tlEBgA7iMQ/iXmrMN9yQYSWBubtUvw VM0OmOsDmZUtnl+H4wrhlkeT88GMe5ims5gZ7Y4Pip67vx8i+TSoExRjXw9m6gl8dzdzirAhA bnb158O3sylwQWhQomPlHSV1x26GCByL2lKnltPi2hwDGvTmb+R849wJpUtdcpT6QEw0AYh+q iLM5g5XSZsz/aqRVR2hnwCPC4y2+4yGt+5QUw3jfORdfgDCxRS4At8JXdRCLrkGzzV54kJSWE XYZaaIwubkd5mmR0FAzghJJTo3HVnloQiHl2+cL/FaHkC2ytMiI35MgeomSGOlPfaN+4oXGZZ Nl6uhhgHcfy58O4eKHwCKXaJ7wv9cne3D59Z1V1rycMJe7kA+69jpkCANY49S9nuEihfXR/2m joX37D9+sZ+7pwJVf5lc2uo25/cL2PTPY/PRO9J0umNrOCW3NsTGPMmmItzWC4nLXg2fh7gKe 35rhYHclYbt4ZmtrYoMKBnzeOBQMRejLueIw3QBTA7t5D4KYDpi2zx8Z+smgpCB+7T6ODHmFM fBUN0HwCI9xUn9GQZFeY0nChAjwIdDnAcznfC4Dgwodg6H3IRKZqqPrAK1PisTUHpcVH/U37R F2T/JAPEmM7oEc8xMVeuuqFltPjJzj5PHfFQ/e5q8w99Da39SHqPjYsMLuPPOKMcT2hyRy1fC 6is766KPp5u0tO/fga5IidhTM1ZaA5J7KoK1Ivp/FQyCFpfleGAdOmuYI2IAb0PIxm97bN4ma 3dRloxfl4Pk/2lNU7D2rEmFUw1/7RsdkkFIFH6EHPB/45cFxklrVAvG1rw X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 76457 Cc: 76457@debbugs.gnu.org, Sean Whitton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Ship Mints writes: Hi, > The ad-hoc nature of these connections isn't really related to their > potential abbreviations and that might confuse some people. Perhaps > explain that multi-hop routes are not known to Emacs (can they be > defined in ssh/config?), and the user has to create them on the fly, > so they are "ad-hoc", so to speak? Hop abbreviations can happen only in ad-hoc multi-hop file names. "Traditional" multi-hop files don't use neither ad-hoc definitions nor abbreviations. See (info "(tramp) Multi-hops") People tend to forget this. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 23:26:10 2025 Received: (at 76457) by debbugs.gnu.org; 23 Feb 2025 04:26:10 +0000 Received: from localhost ([127.0.0.1]:58721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tm3Z9-0006PJ-58 for submit@debbugs.gnu.org; Sat, 22 Feb 2025 23:26:10 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:58776) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tm3Z3-0006Oi-MJ for 76457@debbugs.gnu.org; Sat, 22 Feb 2025 23:26:05 -0500 DKIM-Signature: a=rsa-sha256; b=SKRqgQVnaIxlbq7F3nRCYYgU2QjjNZgtiN05FyEFvsJoY1SH3OBYa8HIqmfnpzD7RxPfxmxFlV1yPWGF3kYQR/a4CAwZCVSDSAzy0v5aqaXy2CZXTzDCwSXnMZwYmbbWWEDyLFhQyMIKc1tXewJnwpBzK51eTUUmNgLDyrcugNe/abpyV/wCKQr/1kUexxEG1+gdbi4YI4psPwrqxaMgQ/MRzVEHe5nB5tZrl5e7KrHpS+Rxo5FRZyy/mUPUZ3D7ynJ+LJSRPeYUf/j5NZ/Yb+tPCE/qShPhOCUZXdrSMUL3FOaqXMmHv8sBQY+9i9ILarJblqYdN0NlXprjfZeEuQ==; s=purelymail1; d=spwhitton.name; v=1; bh=qSjxhCZucidLCkyjf+S2rWH4zZufG2odfKwSwrlqCE4=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=nK6ZQjW2e3zRNhLhESTldFEdzdL1SAw59xX0lUcGRmf0eTyebNyRBPe0D1wwoN4nhFIRJvFfr1ItskNk19QpVwVRUQVW11q4RmtT1TmkAje02RKWqlTXeJ8Ei/z8b4NwIvO7I0AuzmNcjOluOhVGUKFamePXS4+zm6vPovtwP2CzbUnZGJR84BNodb/8+rEaJLh847AxcZcdIG+bCAskNJdxGgei+JN1v1vDuUKNnBWCB5K/nTS9osKFXoTEpNZoQnHBBZP+O4FWfw1TkE6RH04H0fvqLrl0Go+eqbJ9T3tqn10E0Q/7PaNxAb8IWhsBP8bnurh6lLoIHUKi++3wRg==; s=purelymail1; d=purelymail.com; v=1; bh=qSjxhCZucidLCkyjf+S2rWH4zZufG2odfKwSwrlqCE4=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 76457@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 624602795; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 23 Feb 2025 04:25:52 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id C864A7E0437; Sun, 23 Feb 2025 12:25:48 +0800 (CST) From: Sean Whitton To: Ship Mints Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: (Ship Mints's message of "Sat, 22 Feb 2025 07:26:08 -0500") References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> <874j0mqivm.fsf@melete.silentflame.com> Date: Sun, 23 Feb 2025 12:25:48 +0800 Message-ID: <871pvpp9rn.fsf@melete.silentflame.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76457 Cc: Michael Albinus , 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, On Sat 22 Feb 2025 at 07:26am -05, Ship Mints wrote: > 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... I think talking about what Emacs can understand is more accessible for the average user. -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 23:31:17 2025 Received: (at 76457) by debbugs.gnu.org; 23 Feb 2025 04:31:17 +0000 Received: from localhost ([127.0.0.1]:58736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tm3e8-0006g3-VO for submit@debbugs.gnu.org; Sat, 22 Feb 2025 23:31:17 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:47204) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tm3e6-0006fj-7l for 76457@debbugs.gnu.org; Sat, 22 Feb 2025 23:31:14 -0500 DKIM-Signature: a=rsa-sha256; b=MA7fe+bgu2apu/ARA5rnkBU+a4JkkX+z7zugpD0Tq+7YfjfjRiPbfNkq9Tu8/zCNeE5Py0aVvzFDoR8mk2wnlKZBgEUw2zgIpfailyG2tMIC3p/bIZci/FZ8FojIgYAPgHDDGrNwVymcYNj8Bni1JA9TxcEA3emIfToIR9fNugt66UkUf1LRV+LROab8Tz6vsRL8cvhVkgCXTTWw/iEXAdPO5UAPDkpz/LWILPR5eRoYltWEmKcCKBlwoNnDxigGowg6YQUt630Pg7kvgVfWKZzmf9Ttl1adqdR2s39SGJ3xdIeWqwGjkil9qt44dwg2MPxxSfOmdfFbIxlE08mHFg==; s=purelymail1; d=spwhitton.name; v=1; bh=fy0hqUmGQtiobahkblrkC271Hdn6TjL2wmKu641k9h8=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=gKucoMtGzklm+sHA3mLI/d3ZWf5Njz+7kdYoqbjlOLdaWVjK3fiFtstQrOl9JrrnPwPEDtbKFmsMVwS/Vu0k1XgB5yyCjbSBa9KPMk3d9SwAxJytNMUuNTJFYEYh47pzyIIt6L1ME0lnkCeQh844vcqbHjqGjs7YIEDcBet4RyUbjMLLqPRoAh9fmOhYOfBdYO1DfeA++8u6Mb6X4m9jefxadB0Lc0EayC14zUzFjtiHBeMkfeA3tyRlOLGooh+9xLduNNIIurXcwaHBsx1l2FM3TNb8uzGF4LiIxor8956VTd/x/ytUqM4OfaiaUHroP3+UK85Xq/RVKyVKEvT0EQ==; s=purelymail1; d=purelymail.com; v=1; bh=fy0hqUmGQtiobahkblrkC271Hdn6TjL2wmKu641k9h8=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 76457@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 77988200; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 23 Feb 2025 04:31:08 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id F3E607E0423; Sun, 23 Feb 2025 12:31:05 +0800 (CST) From: Sean Whitton To: Michael Albinus Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: <87tt8muh8m.fsf@gmx.de> (Michael Albinus via's message of "Sat, 22 Feb 2025 16:33:13 +0100") References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> <874j0mqivm.fsf@melete.silentflame.com> <87tt8muh8m.fsf@gmx.de> Date: Sun, 23 Feb 2025 12:31:05 +0800 Message-ID: <87r03pnuye.fsf@melete.silentflame.com> 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-Debbugs-Envelope-To: 76457 Cc: Ship Mints , 76457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, On Sat 22 Feb 2025 at 04:33pm +01, Michael Albinus via "Bug reports for GNU= Emacs, the Swiss army knife of text editors" wrote: > Ship Mints writes: > >> On Sat, Feb 22, 2025 at 7:12=E2=80=AFAM Sean Whitton >> wrote: > > Thank you both. Finally, I have made the following changes based on your > proposals (not pushed yet): LGTM, many thanks! --=20 Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 23 04:51:39 2025 Received: (at 76457-done) by debbugs.gnu.org; 23 Feb 2025 09:51:39 +0000 Received: from localhost ([127.0.0.1]:59357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tm8eB-00018L-1r for submit@debbugs.gnu.org; Sun, 23 Feb 2025 04:51:39 -0500 Received: from mout.gmx.net ([212.227.17.20]:34277) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tm8e9-000185-3W for 76457-done@debbugs.gnu.org; Sun, 23 Feb 2025 04:51:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1740304288; x=1740909088; i=michael.albinus@gmx.de; bh=tifh29nPBT/B8+2rNfSmHSUAU+C4b5+mu9gP7ZLS58M=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=FsnxnaO/S4mBLDjblKkGdKxPLqKgvwV1/QylnmszTNuP5LI4BAJvSY/YeGg+iWnB z2F2Dbf+Qu3siBe/8Pv+S7sU4rJLLyc75EwUbezhkcs4hjPlZFFzjF0LtvLBXIRJ5 4wamHFG4KKp2I1X/c8rOS7fU0W5k/u55NHvNaI9rwHHekCT1xBhKks6QXzlVzhfbi hvPJbfHttSyG3I/wCKL8ILR+s8tgpVZSrTEX4IvOu1TaHMx8+OmXxc/LWgEZ97EhY MQFwSnwaw5HDfbjD4wrU2tVDRS2qCg3cAfk23DjUAaP12S0o1caYZmEobBFbGtwtG bOwtj9a2Wfvua1tKPA== 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 1MUXpQ-1tupqB3Q8W-00JNCP; Sun, 23 Feb 2025 10:51:28 +0100 From: Michael Albinus To: Sean Whitton Subject: Re: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection In-Reply-To: <87r03pnuye.fsf@melete.silentflame.com> References: <87msefvmxn.fsf@melete.silentflame.com> <87seo7yduz.fsf@gmx.de> <87mseeshha.fsf@melete.silentflame.com> <875xl2wdg9.fsf@gmx.de> <874j0mqivm.fsf@melete.silentflame.com> <87tt8muh8m.fsf@gmx.de> <87r03pnuye.fsf@melete.silentflame.com> Date: Sun, 23 Feb 2025 10:51:19 +0100 Message-ID: <87seo5t2eg.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ZYbv1bIvLc5xVAxwjbaU4bkOdbDVVF+r9UNtBQSkT068ozxsPXK cSiSb50fSceh1WFqwxHa0cJED0bOVYeB7lC7Xh4sNwIPs22Tg5R0ta5yKyjbmWA3raNSASC qyr1H/eRrX2guVihSNOdEekbK7E/pDFLGqfVsRBuh2s1HduDiaR+HJmp7MQ7RORBA6Yisxq Q8rQMzB21hdkwDVdFbb1Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:unE7OKEzGME=;AytEk50rhxV9boaYbXUuKHL5kkL QxN0IIXIc+SUYQiadlSSUHmnfUIpxKi9E52YGmAIW1ITCKv6p1BtBGny0NFB8pxH3s4GL9egr OQoaoPVN8Sz2y6x4Ks7EpB2QG614GI6huoVyC0iIoI6sg6VS2Ul8KlYakITS5LBlB68rKkihJ M4IlC1bqU5Dk+lbFnzOawSBnSaFhnIONb/oG5zpONTyDRwrMCeVWM25pXnKe8QU+aJLQpibPt P2iErr+9upY/H4SdpGYM2xw6fww6vmlti81hG7qjwBsY92LmQoGxgyeIE/HVd83r9/MYoqXea oNkTtfS3dJYc9o4dJitZlUvX0ZVXl+WU+Tn+KQ/Jw++VjRhwLxy1cwX/Jhy5p55XsW3XUn+Ka bxkTBUPLMl1D8kVJ+tofldXHeJx/DtryMfIrKMwhcBYGAvhXXlUzuhUJ/bY7TZG094p3ACW+o oWlIQAODYPS6+ph0Zn5hNzISLkb2amyZXrBkStYA6RhbUArZNjQuBEg++L2P2+yfzDuaQ/ei0 Sb4dTQZ4ATJrfHp/xXCc4GCZEVFkPdKDkxoaelMOhPIaNnkJczQm+0VmxjgOxCelhrw8X9caZ kjmxzQK3rb/cDoe/PsW1nnEIK4kx5O0V2Bc086IE/9d53ekwK6zv6qrqum9iIsQzayMk1xpD0 Qqd1shQx2hGZmyb6n+LRv6yw507uwYor77YytXeFzUoBCnMuE8fRCKsWCtaoHl+pNWKHlNQmk UqoHWA98A4fSobN1gDWFMc/i6qhNDUyfdTTvBxv+3Kr4LPDMFMP/g/FZKJ/qt/uDncRefK4UX 2nsY2U0DKlFPS/IL6oQ3mlgvuVflUYEIxxrJAa3jQsQluyFyT7lGEyreTMDVE45c0AfHswbl5 DNTTJ80PBu4WsZs1ZiAsYSh8Cldqi4zlPpwS2i/priHGMzQ5jk4H7q7ubkhwBYvcYMbpnucBD f/BgjRGtoQhTlTZ4ZsdH55mUo9nlkByB3djOuEoCXaCyV+fQVk9439zXtjOSdZSbQQv366xwU E8NGBRE4JQJm/LwjfrLAxrgua7uzRx10Re9i+lnCqQMnbp/SrLNfVHWwnsQrksYpcxKQld3mC b0A1IHvnF8hpdwV4BcIcAloG3pgRbHVNN+GVZ1ynEyuj/4jiLwLstfupfMuugvpw8ZONb0yEC 4nlw0TDuQkR47VTOQx3IOzCajh/5SfNmp0xPIaw52p84BGSeNKK1teVs1b6QFcxfiebgrEjXK 5rLwm0JImNHtCbcQ8bIaUTkS/TZWPY9JnaVPiEK5PjJ1wJROn0eSwNKJDFaaMnhND5zK/r3/D CfjzDG3wIX2OXGfBEx5W6asm28KQhFln5Ysyk4ESELjdPQlVeuViFn2ybv/M9Y7tPkiQSSu5T 8mJyzc50OGyiP8DNiAiW9U92N7Tfx38zRvTYfsnlpl9nMbATBWnZe3zO04 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 76457-done Cc: Ship Mints , 76457-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version: 30.2 Sean Whitton writes: > Hello, Hi, >> Thank you both. Finally, I have made the following changes based on your >> proposals (not pushed yet): > > LGTM, many thanks! Thanks for the feedback. I've pushed this to the repositories, closing the bug. Best regards, Michael. From unknown Sat Jun 21 03:10:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 23 Mar 2025 11:24:44 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator