GNU bug report logs -
#79036
[PATCH] Fix pdb tracking for remote filenames
Previous Next
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>
Bug is archived. No further changes may be made.
Full log
Message #107 received at 79036 <at> debbugs.gnu.org (full text, mbox):
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 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.