GNU bug report logs - #76457
31.0.50; Cannot create bookmark to chained TRAMP connection

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Fri, 21 Feb 2025 06:21:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 30.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ship Mints <shipmints <at> gmail.com>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: michael.albinus <at> gmx.de, 76457 <at> debbugs.gnu.org
Subject: bug#76457: 31.0.50; Cannot create bookmark to chained TRAMP connection
Date: Fri, 21 Feb 2025 05:08:46 -0500
[Message part 1 (text/plain, inline)]
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 AM Sean Whitton <spwhitton <at> spwhitton.name>
wrote:

> X-debbugs-cc: michael.albinus <at> 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 <at> 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 <at> 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
>
>
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.