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

Visiting file in non-existent directory #35

Closed
greenrd opened this issue Jul 2, 2015 · 1 comment
Closed

Visiting file in non-existent directory #35

greenrd opened this issue Jul 2, 2015 · 1 comment

Comments

@greenrd
Copy link

greenrd commented Jul 2, 2015

Before I installed editorconfig-emacs, visiting a file in a non-existent directory would work - I would then do M-x make-directory, as emacs prompted me to do, to create the directory. But now it does not work because an error appears in the modeline and the new buffer is not switched to.

Here is the backtrace:

Debugger entered--Lisp error: (file-error "Setting current directory" "no such file or directory" "/home/robin/foo/")
  call-process("editorconfig" nil "ecbuffer" nil "/home/robin/foo/bar")
  edconf-get-properties()
  edconf-find-file-hook()
  run-hooks(find-file-hook)
  after-find-file(t t)
  find-file-noselect-1(#<buffer bar> "~/foo/bar" nil nil "~/foo/bar" nil)
  find-file-noselect("/home/robin/foo/bar" nil nil t)
  find-file("/home/robin/foo/bar" t)
  call-interactively(find-file nil nil)
  command-execute(find-file)
@wlott
Copy link

wlott commented Nov 26, 2015

This was bugging me too. Enough that I fixed it.

#47

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

2 participants