Repository navigation
Open a hostless file URI on the terminal's remote host - #852
Merged
Merged
Conversation
A file:/// link with no host, or with localhost, names a file where the program that printed it runs. In a buffer whose default-directory is remote that is the remote host, as for a bare absolute path already; it opened on the Emacs machine instead. An explicit host keeps its meaning, so a link to the Emacs machine by name still opens locally. Fixes dakra#851
dakra
force-pushed
the
file-uri-remote-terminal
branch
from
December 1, 2026 08:56
87e8c3f to
70cff84
Compare
Owner
|
Thanks. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #851.
One more branch in
ghostel--open-link's file-URIcond: host empty orlocalhostwith aremote
default-directoryprepends the remote prefix, before the Windows local-path case.ghostel-test-open-file-urigets four rows: no host andlocalhostin a remote buffer, theEmacs machine's own name in a remote buffer (stays local), and the no-host case on
windows-nt. The first new row fails before the change.