From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Have `C-x v =' run `diff-backup' Date: Thu, 14 Apr 2011 08:32:21 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302791563 11508 80.91.229.12 (14 Apr 2011 14:32:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2011 14:32:43 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 14 16:32:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QANb4-0000et-Lh for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2011 16:32:38 +0200 Original-Received: from localhost ([::1]:37679 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QANb3-0000Mb-Uf for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2011 10:32:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QANaz-0000MH-9q for emacs-devel@gnu.org; Thu, 14 Apr 2011 10:32:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QANau-0004tC-8o for emacs-devel@gnu.org; Thu, 14 Apr 2011 10:32:33 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:47468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QANat-0004t0-TE for emacs-devel@gnu.org; Thu, 14 Apr 2011 10:32:28 -0400 Original-Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3EEWOlX014197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 14 Apr 2011 10:32:24 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3EEWN2a013979; Thu, 14 Apr 2011 10:32:23 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p3EEWMNk018564; Thu, 14 Apr 2011 10:32:22 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 3FF2137831B; Thu, 14 Apr 2011 08:32:21 -0600 (MDT) X-Attribution: Tom In-Reply-To: (Deniz Dogan's message of "Thu, 14 Apr 2011 15:41:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138477 Archived-At: >>>>> "Deniz" == Deniz Dogan writes: Deniz> 2011/4/14 Lars Magne Ingebrigtsen : >> When looking at files, I often wonder what the diff is between the >> current version and the previous one, so my fingers go `C-x v =' >> automatically, only to be presented with "No fileset is available here". >> >> Wouldn't it be nice if that command, if there was no fileset there, and >> there were backup files, would then run `diff-backup' instead of just >> erroring out? >> Deniz> I guess this would be confusing to many people if they're not aware of Deniz> this behaviour. If this is implemented, maybe it would be best to tell Deniz> the user that there is no fileset and ask if s?he wants to diff with Deniz> the backup? How about, if there are no differences, put a "diff against previous revision" button into the *vc-diff* buffer? Tom