GNU bug report logs - #79036
[PATCH] Fix pdb tracking for remote filenames

Previous Next

Package: emacs;

Reported by: Liu Hui <liuhui1610 <at> gmail.com>

Date: Thu, 17 Jul 2025 04:59:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: kobarity <kobarity <at> gmail.com>
Cc: Liu Hui <liuhui1610 <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>, 79036 <at> debbugs.gnu.org
Subject: bug#79036: [PATCH] Fix pdb tracking for remote filenames
Date: Mon, 21 Jul 2025 19:47:25 +0200
kobarity <kobarity <at> gmail.com> writes:

Hi,

> If TRAMP supports a method such as "/local:" to access local files, we
> can use it.  As TRAMP does not seem to have such a thing, I use
> "/ssh::" instead.  The real "/ssh::" requires an SSH server to be
> running on the local host, but I'm just using it as a pseudo prefix to
> distinguish local files from remote files. i.e. SSH server is not
> required on local host.

FTR, Tramp knows a method "local". It is used for internal purposes; I
don't know whether it is worth to expose it to the outer world.

Eshell has a similar problem. It must know, whether a command runs on
the local host, or on the remote host as determined by
default-directory. It uses the "/local:" prefix to force commands for
the local host, even if they would run on the remote host
otherwise. Perhaps you can adapt this approach to your needs.

See (info "(eshell) Remote Access")

Best regards, Michael.




This bug report was last modified 2 days ago.

Previous Next


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