GNU bug report logs -
#76457
31.0.50; Cannot create bookmark to chained TRAMP connection
Previous Next
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
Message #23 received at 76457 <at> debbugs.gnu.org (full text, mbox):
Sean Whitton <spwhitton <at> spwhitton.name> writes:
> Hello Michael,
Hi Sean,
>> --8<---------------cut here---------------start------------->8---
>> • 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 ‘/ssh:bird <at> bastion|ssh:news.my.domain:/opt/news/etc’.
>> This is achieved by setting the user option
>> ‘tramp-show-ad-hoc-proxies’ to non-‘nil’.
>>
>> Alternatively, when saving abbreviated multi-hop file names like
>> ‘/ssh:news <at> news.my.domain:/opt/news/etc’, the user option
>> ‘tramp-save-ad-hoc-proxies’ must be set non-‘nil’ 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.
> 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 <at> 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.
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.