emacs-devel
[Top][All Lists]
Advanced

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

Index header in diff-mode


From: Juri Linkov
Subject: Index header in diff-mode
Date: Thu, 08 Dec 2005 09:44:19 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

cvs diff generates index headers that look like

Index: lisp/simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.777
diff -u -r1.777 simple.el

After saving them to files and visiting in diff-mode, sometimes I type
`C-c C-c' or `RET' on such index headers with the intention to visit the
first hunk.  But instead, it visits the last hunk of the previous file
in the same multi-file diff.  Wouldn't it be better to handle the index
header as part of the file header?

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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