[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diff mode weirdness

From: Peter Lee
Subject: Re: diff mode weirdness
Date: Fri, 12 Sep 2008 15:15:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

>>>> joakim  writes:

    joakim> I wanted to look at a diff file, and it opened nicely in diff mode, 
    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.
retrieving revision 1.1956.
diff -u -r1.1956. -r1.1956.
--- Version     12 Sep 2008 00:59:19 -0000      1.1956.
+++ Version     12 Sep 2008 14:59:22 -0000      1.1956.
@@ -1,4 +1,4 @@
 # 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]