From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: diff mode weirdness Date: Fri, 12 Sep 2008 22:50:25 +0200 Message-ID: References: <4my71xt92o.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221252672 2300 80.91.229.12 (12 Sep 2008 20:51:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 20:51:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Peter Lee Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 12 22:52:07 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 1KeFca-0001fK-Th for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 22:52:05 +0200 Original-Received: from localhost ([127.0.0.1]:51154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeFba-0000UW-HN for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 16:51:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeFbW-0000UG-HV for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:50:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeFbT-0000TH-Ve for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:50:58 -0400 Original-Received: from [199.232.76.173] (port=46452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeFbT-0000TE-Qn for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:50:55 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:50599 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KeFbT-0000T1-As for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:50:55 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m8CKojCO004653; Fri, 12 Sep 2008 22:50:46 +0200 In-Reply-To: <4my71xt92o.fsf@gmail.com> (Peter Lee's message of "Fri, 12 Sep 2008 15:15:11 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:103857 Archived-At: Peter Lee writes: >>>>> joakim writes: > > joakim> I wanted to look at a diff file, and it opened nicely in diff mode, with > joakim> font-lock etc. Then I had some issues: > > joakim> - diff mode repeatedly asks me where the diff source is. In this case I > joakim> only had the diff, not the source. This was very annoying. > joakim> - after a while the diff buffer was automatically killed, to my > joakim> surprise. > > joakim> Do others experience the same problems? If so I can find out more > joakim> information. > > I've seen this as well... I have to C-g several times and quickly "move > off" the header line. > > It doesn't happen when I use diff for code under cvs. However, a > standalone .diff file in a directory where the file "test" doesn't exist > will happen everytime. Yes this is exactly what I am seeing as well. However, I dont get this behaviour with emacs -Q. I havent managed to diagnose it further. > >>>> snip > Index: test > =================================================================== > RCS file: /home/cvsroot.2/testmod/test,v > retrieving revision 1.1956.2.122.4.437.4.228 > retrieving revision 1.1956.2.122.4.437.4.229 > diff -u -r1.1956.2.122.4.437.4.228 -r1.1956.2.122.4.437.4.229 > --- Version 12 Sep 2008 00:59:19 -0000 1.1956.2.122.4.437.4.228 > +++ Version 12 Sep 2008 14:59:22 -0000 1.1956.2.122.4.437.4.229 > @@ -1,4 +1,4 @@ > -xx_build="206" > +xx_build="207" > xx_version="1.1.1" > xx_branch="" > # zzzz > <<< snip > > copy between the snips and save as /tmp/test.diff > > Then open the file... > > The modeline will continuously prompt for: > Use file Version: /tmp/test > > > -- Joakim Verona