From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: vc-directory breakage Date: Tue, 6 May 2008 04:21:12 -0400 Organization: Eric Conspiracy Secret Labs Message-ID: <20080506082112.GC23773@thyrsus.com> References: <20080505152149.E5BB99F054B@snark.thyrsus.com> <857ie8ahr3.fsf@lola.goethe.zz> <20080506000456.GA14206@thyrsus.com> <200805060036.m460aVto021222@sallyv1.ics.uci.edu> <20080506004849.GA14523@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210062216 21191 80.91.229.12 (6 May 2008 08:23:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2008 08:23:36 +0000 (UTC) Cc: "Eric S. Raymond" , Dan Nicolaescu , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 06 10:24:10 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 1JtIST-0005Rx-Io for ged-emacs-devel@m.gmane.org; Tue, 06 May 2008 10:23:33 +0200 Original-Received: from localhost ([127.0.0.1]:50106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtIRl-0007kH-P3 for ged-emacs-devel@m.gmane.org; Tue, 06 May 2008 04:22:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtIPY-0006ia-6F for emacs-devel@gnu.org; Tue, 06 May 2008 04:20:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtIPX-0006hh-Gt for emacs-devel@gnu.org; Tue, 06 May 2008 04:20:31 -0400 Original-Received: from [199.232.76.173] (port=45004 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtIPX-0006hX-Af for emacs-devel@gnu.org; Tue, 06 May 2008 04:20:31 -0400 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtIPX-0005fk-AX for emacs-devel@gnu.org; Tue, 06 May 2008 04:20:31 -0400 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id 295EB9F054C; Tue, 6 May 2008 04:21:12 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:96571 Archived-At: Stefan Monnier : > I believe you have misunderstood the request, then: "support the multi-VCS > case" means exactly what Dan asks, which is "make sure only one backend > is used for a given command, even if the command includes files that are > under various backends". > > I.e. the issue is not "several subdirs of *vc-dir* which each use > a different backend", but "all the files under *vc-dir* are under the > control of several backends at the same time". I understood the second part. But your first paragraph leaves me more confused than I was before. It is already the case that "only one backend is used for a given command, even if the command includes files that are under various backends". If a fileset is not all owned by the same backend, a consistency check in vc-deduce-fileset will fail. And C-u C-x v v allows us to change the preferred backend for a set of files. What I don't see is what any of this has to do with keeping a buffer-local backend variable per directory, which is what Dan is saying he wants. By hypothesis, backend is a per-*file* property. I don't see how trying to cache it per directory can be a good idea. -- Eric S. Raymond