-
-
Notifications
You must be signed in to change notification settings - Fork 581
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
It fixes the behavior where Emacs hangs because of projectile when you open a file over TRAMP. When Emacs hangs, very often the only solution is to kill emacs from another terminal. The fix can be summarized as follow: "**Stop trying to find information about files for which it's not possible to get informations from.**" Here is what currently happens: 1. Open a file 2. An empty buffer is created (and TRAMP starts connecting) 3. Projectile want to display project name and asks questions about the file (way too soon) 4. TRAMP is confused and hangs Here is what my fix changes: 1. Open a file 2. An empty buffer is created (and TRAMP starts connecting) 3. Projectile want to display project name (and gets told that no project root exists) 4. TRAMP eventually connects 5. File is displayed 6. Projectile want to display project name (now that it is connected it gets the right answer)
- Loading branch information
Showing
2 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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