Rodney Sparapani wrote:
(defvar vc-dired-terse-mode nil)
I need that, but then I have a different problem:
Debugger entered--Lisp error: (wrong-type-argument natnump -1)
dired-sort-other((?a ?l ?R))
dired-internal-noselect("/home/rsparapa/svn/ess/" "-alR"
vc-dired-mode)
vc-directory("/home/rsparapa/svn/ess/" nil)
call-interactively(vc-directory)
command-execute(vc-directory t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
But, I can't see where that is coming from.
Ok, I see the problem. dired-subdir-alist is nil. So that causes line
4835-6 in dired-sort-other from dired.el to blow up:
(nth (1- (length dired-subdir-alist))
dired-subdir-alist)
(1- 0) --> -1
(nth -1 ...) --> explodes
Aha! dired-subdir-alist should never be nil. Why is it nil?
Apparently, (dired-build-subdir-alist) has not been called. If
you place that at the beginning of the definition of dired-sort-other,
say line 4806, then it works! But, where should this call have been
made in the first place?
And note that vc-dired-terse-mode is actually being set to nil on
line 2458 of vc.el. But, for me, that's too late. Hence the need
for my earlier change above.
Rodney
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta