GNU bug report logs - #65039
30.0.50; [PATCH] Add bookmark handler for M-x shell

Previous Next

Package: emacs;

Reported by: Protesilaos Stavrou <info <at> protesilaos.com>

Date: Thu, 3 Aug 2023 14:42:01 UTC

Severity: wishlist

Tags: patch

Found in version 30.0.50

Fixed in version 31.1

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

Bug is archived. No further changes may be made.

Full log


Message #85 received at 65039 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ship Mints <shipmints <at> gmail.com>
Cc: 65039 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, prot <at> protesilaos.com,
 Visuwesh <visuweshm <at> gmail.com>
Subject: Re: bug#65039: [PATCH] Add bookmark handler for shell-mode
Date: Fri, 14 Feb 2025 15:59:08 +0100
Ship Mints <shipmints <at> gmail.com> writes:

> Hi, Michael,

Hi,

> With tramp-show-ad-hoc-proxies bound to t *at the time of multi-hop
> connection*, default-directory retains the fully-qualified multi-hop
> file name and bookmarks work fine. I tested both shell and file
> bookmarks. Though files are not in scope for this patch, I ensured
> they worked, too.
>
> When nil, default-directory is abbreviated, as you pointed out. I
> can't see a way to recover the multi-hop nature of the buffer based on
> just default-directory. I read through the tramp code and I can't find
> a way to do that.

Yes, you're right :-(

> If it is possible to do at bookmarking time, please tell me how. If
> this is not possible, we will highlight in the docs that
> tramp-show-ad-hoc-proxies must be t if users expect multi-hop
> bookmarks to be effective.

I'll check, whether I can improve this in Tramp.

> -Stephane

Best regards, Michael.




This bug report was last modified 64 days ago.

Previous Next


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