emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VC Dired Mode doesn't support recursive directory?


From: William Xu
Subject: Re: VC Dired Mode doesn't support recursive directory?
Date: Thu, 31 Jan 2008 12:21:52 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (darwin)

Dan Nicolaescu <address@hidden> writes:

> Were some of the files that you selected unregistered? If yes, then the
> error you get is expected (although the wording could be improved to
> make it more clear).

No, they are all already registered. 

I found the cause, it is because i have sort directory first in dired
buffer. Namely, I have the following in my .emacs: 

,----
| ;; Sort directories first
| (defun sof/dired-sort ()
|   "Dired sort hook to list directories first."
|   (save-excursion
|     (let (buffer-read-only)
|       (forward-line 2) ;; beyond dir. header
|       (sort-regexp-fields t "^.*$" "[ ]*." (point)
|                           (point-max))))
|   (set-buffer-modified-p nil))
| 
| (add-hook 'dired-after-readin-hook 'sof/dired-sort)
`----

Can VC Dired Mode handle this case?

-- 
William

http://williamxu.net9.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]