unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Lisp error: (wrong-type-argument arrayp nil) when finding a symlink to a version controlled file
@ 2008-12-02  9:32 Tassilo Horn
  2008-12-03 19:29 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Tassilo Horn @ 2008-12-02  9:32 UTC (permalink / raw)
  To: emacs-devel

Hi all,

when I do `C-x C-f ~/.emacs RET' I get the error below.

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  find-buffer-visiting(nil)
  vc-follow-link()
  vc-find-file-hook()
  run-hooks(find-file-hook)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer .emacs> "~/.emacs" nil nil "~/repos/configs/dot-emacs.el" (11732594 2051))
  find-file-noselect("~/.emacs" nil nil t)
  find-file("~/.emacs" t)
  call-interactively(find-file nil nil)
--8<---------------cut here---------------end--------------->8---

The file ~/.emacs is a symlink to ~/repos/configs/dot-emacs.el and its
directory is a git repository (or a working copy, to be correct).

This happens only the first time I visit that symlink.  Any subsequent
find-file (after killing the file's buffer first) works as expected.
Finding another symlink shows the same behavior: first an error, then it
works.  The symlink has to point to a vc controlled file.

Unfortunately, I cannot reproduce this problem with emacs -Q, and there
`vc-find-file-hook' is in `find-file-hook', too.  But I can tell that
change which introduced it has been made in the last 3 days.

Any pointers?

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-03 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02  9:32 Lisp error: (wrong-type-argument arrayp nil) when finding a symlink to a version controlled file Tassilo Horn
2008-12-03 19:29 ` Tassilo Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).