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: Dan Nicolaescu
Subject: Re: VC Dired Mode doesn't support recursive directory?
Date: Wed, 30 Jan 2008 15:23:21 -0800

Stefan Monnier <address@hidden> writes:

  > >> >> >> 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).

Well, for vc-dired different files can belong to different backends. If
you are saying that its not a good idea, then we are in complete
agreement.




reply via email to

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