From: William Xu <william.xwl@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: VC Dired Mode doesn't support recursive directory?
Date: Thu, 31 Jan 2008 12:21:52 +0900 [thread overview]
Message-ID: <m2myqmel2n.fsf@gmail.com> (raw)
In-Reply-To: 200801301559.m0UFxAWt014439@sallyv1.ics.uci.edu
Dan Nicolaescu <dann@ics.uci.edu> 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
next prev parent reply other threads:[~2008-01-31 3:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-30 11:48 VC Dired Mode doesn't support recursive directory? William Xu
2008-01-30 15:59 ` Dan Nicolaescu
2008-01-30 17:54 ` Stefan Monnier
2008-01-30 17:59 ` Dan Nicolaescu
2008-01-30 19:42 ` Stefan Monnier
2008-01-30 19:46 ` Dan Nicolaescu
2008-01-30 21:36 ` Stefan Monnier
2008-01-30 23:23 ` Dan Nicolaescu
2008-01-31 2:02 ` Stefan Monnier
2008-01-31 3:21 ` William Xu [this message]
2008-01-31 15:55 ` Dan Nicolaescu
2008-02-01 3:16 ` William Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2myqmel2n.fsf@gmail.com \
--to=william.xwl@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).