From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.devel Subject: Re: diff mode weirdness Date: Fri, 12 Sep 2008 15:15:11 -0500 Organization: x Message-ID: <4my71xt92o.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221250543 27561 80.91.229.12 (12 Sep 2008 20:15:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 20:15:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 12 22:16:39 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 1KeF4E-0008Uz-CI for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 22:16:34 +0200 Original-Received: from localhost ([127.0.0.1]:46143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeF3D-0001rj-TP for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 16:15:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeF39-0001pY-8d for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:15:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeF38-0001mq-4w for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:15:26 -0400 Original-Received: from [199.232.76.173] (port=39012 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeF38-0001ma-1H for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:15:26 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:59268 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KeF37-0003Gx-JZ for emacs-devel@gnu.org; Fri, 12 Sep 2008 16:15:25 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KeF33-0004pz-T4 for emacs-devel@gnu.org; Fri, 12 Sep 2008 20:15:21 +0000 Original-Received: from 66-194-80-196.static.twtelecom.net ([66.194.80.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Sep 2008 20:15:21 +0000 Original-Received: from pete.a.lee by 66-194-80-196.static.twtelecom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Sep 2008 20:15:21 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 66-194-80-196.static.twtelecom.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:NBOym+6oaQ5rAVSrPY9STm12zyM= 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:103856 Archived-At: >>>> 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. >>> 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