From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Rogers Newsgroups: gmane.emacs.bugs Subject: bug#7350: 24.0.50; make vc-deduce-backend smarter Date: Sun, 14 Nov 2010 18:21:34 -0500 Message-ID: <19680.28414.314610.707478@rgr.rgrjr.com> References: <19669.54304.980911.220632@rgr.rgrjr.com> <19671.7412.608640.593137@rgr.rgrjr.com> <19672.26151.150217.308712@rgr.rgrjr.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289778329 8760 80.91.229.12 (14 Nov 2010 23:45:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2010 23:45:29 +0000 (UTC) Cc: 7350@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 15 00:45:25 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PHmG9-0000Hg-EB for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Nov 2010 00:45:23 +0100 Original-Received: from localhost ([127.0.0.1]:39433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHmFy-00066l-4y for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Nov 2010 18:45:10 -0500 Original-Received: from [140.186.70.92] (port=52398 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHmFl-000660-So for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2010 18:45:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHmEw-00050r-Gl for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2010 18:44:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHmEw-00050f-F0 for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2010 18:44:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PHlok-0001om-F1; Sun, 14 Nov 2010 18:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bob Rogers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Nov 2010 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7350 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7350-submit@debbugs.gnu.org id=B7350.12897766036979 (code B ref 7350); Sun, 14 Nov 2010 23:17:02 +0000 Original-Received: (at 7350) by debbugs.gnu.org; 14 Nov 2010 23:16:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHloR-0001oW-1g for submit@debbugs.gnu.org; Sun, 14 Nov 2010 18:16:43 -0500 Original-Received: from rgrjr.com ([216.146.47.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHloP-0001oR-Mz for 7350@debbugs.gnu.org; Sun, 14 Nov 2010 18:16:42 -0500 Original-Received: from rgrjr.dyndns.org (c-66-30-196-77.hsd1.ma.comcast.net [66.30.196.77]) by rgrjr.com (Postfix on CentOS) with ESMTP id 87822160160 for <7350@debbugs.gnu.org>; Sun, 14 Nov 2010 23:21:35 +0000 (UTC) Original-Received: (qmail 11807 invoked by uid 89); 14 Nov 2010 23:21:35 -0000 Original-Received: from unknown (HELO rgr.rgrjr.com) (192.168.57.1) by home with SMTP; 14 Nov 2010 23:21:35 -0000 Original-Received: by rgr.rgrjr.com (Postfix, from userid 500) id A97D0A4E6E; Sun, 14 Nov 2010 18:21:34 -0500 (EST) In-Reply-To: X-Mailer: VM 7.19 under Emacs 24.0.50.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 14 Nov 2010 18:17:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41628 Archived-At: From: Stefan Monnier Date: Fri, 12 Nov 2010 08:48:30 -0500 > It can definitely be generalized, but I'd rather stick to buffers where > there's a clear association with a particular file or directory. > E.g. *Help* buffers aren't good candidates. > Fair enough. Seems odd that default-directory is not nil for these. There are all kinds of reasons why we don't like default-directory to be nil. > Works for me. It doesn't cover the cases where I'm looking at a > generated file, or test output, but (in my workflow anyway) those cases > are rarer. I've installed the patch into the trunk (i.e. not for Emacs-23.3 but Emacs-24) and added compilation-mode to shell-mode, since it's also clearly linked to a particular location in the file-system. Great; thank you. > This was the result of a trade-off (get rid of one RET since it's > almost never used). But I guess we could/should prompt the user for > a file/dir rather than signal "File is not under version control" or > some such error. > That would be much nicer, especially since the underlying functionality > (i.e. support for vc-diff of directories) still works. Patch welcome. Hmm. TRT would be to figure this out in the "interactive" form, so that repeat-complex-command works, but that would change the args to vc-diff. How big a change are you willing to contemplate? > P.S. I mailed the signed copyright assignment today, so FSF should > have it tomorrow. Great (tho, OT1H I can't remember for which patch this is, and OTOH the FSF itself usually takes a little while to process those mail). Stefan NP; it was on my mind, so I just thought I'd mention it. -- Bob