From: Peter Lee <pete.a.lee@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: diff mode weirdness
Date: Fri, 12 Sep 2008 15:15:11 -0500 [thread overview]
Message-ID: <4my71xt92o.fsf@gmail.com> (raw)
In-Reply-To: m3od2t3iwi.fsf@verona.se
>>>> 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
next prev parent reply other threads:[~2008-09-12 20:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-12 7:47 diff mode weirdness joakim
2008-09-12 14:37 ` Stefan Monnier
2008-09-12 15:46 ` joakim
2008-09-12 17:11 ` Stefan Monnier
2008-09-12 20:15 ` Peter Lee [this message]
2008-09-12 20:50 ` joakim
2008-09-12 21:02 ` Glenn Morris
2008-09-12 21:24 ` joakim
2008-09-13 1:53 ` Stefan Monnier
2008-09-14 21:01 ` joakim
2008-09-14 21:13 ` Pete Lee
2008-09-13 3:11 ` Tetsurou Okazaki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4my71xt92o.fsf@gmail.com \
--to=pete.a.lee@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.