unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: William Xu <william.xwl@gmail.com>, emacs-devel@gnu.org
Subject: Re: VC Dired Mode doesn't support recursive directory?
Date: Wed, 30 Jan 2008 16:36:40 -0500	[thread overview]
Message-ID: <jwvsl0fro9l.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200801301946.m0UJkeFM021693@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 30 Jan 2008 11:46:40 -0800")

>> >> >> 1. M-x vc-directory gives me a list of changed files in current
>> >> >> directory and one sub directory.
>> >> >> 
>> >> >> 2. I marked all files, then `v v', it prompts this in the minibuffer: 
>> >> >> 
>> >> >> ,----
>> >> >> | All members of a fileset must be under the same version-control system.
>> >> >> `----
>> >> 
>> >> > 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).
>> >> 
>> >> BTW, I think there's a fundamental error in VC's handling of backends,
>> >> right now:  The backend should be a buffer-local property, not
>> >> a file-local property.
>> 
>> > So what happens with files that are not in any buffer (like probably a
>> > lot of files that would appear in vc-dired)?
>> 
>> Huh?  If they're in vc-dired, they're in a buffer.

> There seems to be a misunderstanding here. Why would the files be in a
> buffer? One can edit something, quit emacs and then 2 weeks later run
> vc-dired.  It's possible that none of the files that vc-dired shows to
> be in a buffer.

But any VC operation is run from a buffer.  Either a file buffer or a VC
buffer.  The backend to use should depend on the buffer, not on the (set
of) file(s).


        Stefan




  reply	other threads:[~2008-01-30 21:36 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 [this message]
2008-01-30 23:23             ` Dan Nicolaescu
2008-01-31  2:02               ` Stefan Monnier
2008-01-31  3:21   ` William Xu
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=jwvsl0fro9l.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=william.xwl@gmail.com \
    /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).