doomemacs / doomemacs/core

find-file from remote tramp file while having find-file from a local file before

Open
#6,128 1 comment 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

I expect to continue to browse into the remote file tree.

### What actually happened?

emacs tramp looses the connection without complaining : it believes it is now a local file whose its path is '/scp:login@ip:path'.

### Describe your attempts to resolve the issue

Updating doom emacs does nothing.
Using vanilla emacs, there is no problem.

### Steps to reproduce

1. Open doom emacs
2. Open a remote file (a recent file using SPC f r for example)
3. Open a local file (only a recent file for example)
4. find-file from its last (C-X C-f)
5. C-g (no need to go further)
6. C-x b to go to the previously opened remote tramp file
7. find-file from it (C-X C-f)
8. emacs has lost the remote file system tree
NOTE: this can be also achieved using simple (C-x C-f)

### System Information

https://pastebin.com/eizbeghH

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.