[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diff mode weirdness
From: |
joakim |
Subject: |
Re: diff mode weirdness |
Date: |
Fri, 12 Sep 2008 22:50:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Peter Lee <address@hidden> 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
Re: diff mode weirdness, Tetsurou Okazaki, 2008/09/12