From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: vc-diff in non-VC buffer Date: Sat, 13 Oct 2007 02:40:22 -0400 Message-ID: References: <20071011120005.GD6804@thyrsus.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1192257645 22621 80.91.229.12 (13 Oct 2007 06:40:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2007 06:40:45 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 13 08:40:35 2007 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 1Igafq-00047O-9J for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 08:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Igafk-0007yV-0l for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 02:40:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Igafh-0007xv-5e for emacs-devel@gnu.org; Sat, 13 Oct 2007 02:40:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Igaff-0007wd-O0 for emacs-devel@gnu.org; Sat, 13 Oct 2007 02:40:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Igaff-0007wU-Gr for emacs-devel@gnu.org; Sat, 13 Oct 2007 02:40:23 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Igaff-0006Wr-5W for emacs-devel@gnu.org; Sat, 13 Oct 2007 02:40:23 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Igafe-0001I2-OT; Sat, 13 Oct 2007 02:40:22 -0400 In-reply-to: <20071011120005.GD6804@thyrsus.com> (esr@thyrsus.com) 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:80765 Archived-At: Yes. For that particular operation, and some other non-modifying ones such as printing change-history logs, what users often want is a fallback rule for computing selected filesets that says, in effect: if the selected fileset is empty, look at all version-controlled files beneath the current directory. Is that really the right condition? I think it is not quite right. I do not want it to search your tree when that is not wanted. I'm testing code that errors out if you (a) have an empty fileset, and (b) no files are registered immediately under default-directory. Juanma thinks this will cover his use case. What will this do in the original case: you visit a file in your home dir and tyoe C-x v =. In that case, do you have a nonempty fileset? If so, it sounds like the criterion for the error would not be met, and it would search your whole tree.