From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.devel Subject: Re: VC Dired Mode doesn't support recursive directory? Date: Thu, 31 Jan 2008 12:21:52 +0900 Organization: the Church of Emacs Message-ID: References: <200801301559.m0UFxAWt014439@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201749744 6840 80.91.229.12 (31 Jan 2008 03:22:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jan 2008 03:22:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 31 04:22:44 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKQ0f-0001u1-2j for ged-emacs-devel@m.gmane.org; Thu, 31 Jan 2008 04:22:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKQ0D-0003r3-Jz for ged-emacs-devel@m.gmane.org; Wed, 30 Jan 2008 22:22:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKQ08-0003qy-NY for emacs-devel@gnu.org; Wed, 30 Jan 2008 22:22:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKQ06-0003qm-Be for emacs-devel@gnu.org; Wed, 30 Jan 2008 22:22:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKQ06-0003qj-6X for emacs-devel@gnu.org; Wed, 30 Jan 2008 22:22:06 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKQ05-0006Fq-PV for emacs-devel@gnu.org; Wed, 30 Jan 2008 22:22:06 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JKQ01-0008Tm-FS for emacs-devel@gnu.org; Thu, 31 Jan 2008 03:22:01 +0000 Original-Received: from gw.community-engine.co.jp ([210.255.51.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jan 2008 03:22:01 +0000 Original-Received: from william.xwl by gw.community-engine.co.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jan 2008 03:22:01 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gw.community-engine.co.jp User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (darwin) Cancel-Lock: sha1:/34nf7Nm8s0Zv+rEUaZT3xL/Srg= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87835 Archived-At: Dan Nicolaescu 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