Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textmate-goto-file fails when you're in a tramp-buffer #13

Open
alf opened this issue Mar 30, 2011 · 0 comments
Open

textmate-goto-file fails when you're in a tramp-buffer #13

alf opened this issue Mar 30, 2011 · 0 comments

Comments

@alf
Copy link

alf commented Mar 30, 2011

If I open the file /localhost:/test.html and then try to run textmate-goto-file, emacs becomes unresponsive for about 15 seconds followed by the message: byte-code: Lisp nesting exceeds `max-lisp-eval-depth'

Seems the bug is in textmate-find-project-root which exits only when a root is found or the remaining path is "/". Since we're using tramp, the latter will never happen.

It seems ido has a function: ido-is-root-directory that can be used (if textmate can depend on ido that is). Here's my temp fix:
((ido-is-root-directory (substring (expand-file-name root) 0 -1)) nil)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant