Unable to ediff from magit when dir-local-variable is defined

55 views
Skip to first unread message

York Zhao

unread,
Jan 10, 2012, 11:29:19 AM1/10/12
to ma...@googlegroups.com
Hi,

When I ediff in magit repository, I got the following error.

Debugger entered--Lisp error: (args-out-of-range "magit.el" 38 8)
dir-locals-collect-variables(((emacs-lisp-mode (indent-tabs-mode)
(tab-width . 8))) "d:/Persistent/Emacs/lisp/vendor/magit/" nil)
hack-dir-local-variables()
hack-local-variables()
normal-mode()
magit-show("6fa8ee235973f8c9754b3f657fe06bf8774691e2^" "magit.el")
magit-ediff()
call-interactively(magit-ediff nil nil)

Here is the steps to reproduce:

- With "magit.el" the current buffer, type M-x magit-status
- Type "l", then "L"
- Type "n", then "RET"
- Type "n" to go to a diff hunk.
- Type "e" and there you go

Note that this is a problem only for projects that has dir variables defined
(like magit).

I'm using the latest Emacs 24 from git. Compiled with MinGW on Windows.


Thanks,

York

York Zhao

unread,
Jan 11, 2012, 10:59:48 AM1/11/12
to ma...@googlegroups.com

Problem disappeared after fetched a few new commits in Emacs 24. The original
problem probably related to recent changes in Emacs 24.


Thanks,

York

Reply all
Reply to author
Forward
0 new messages