On Dec 11, 2006, at 11:19 AM, Yakov Lerner wrote:
On 12/11/06, Lev Lvovsky <[EMAIL PROTECTED]> wrote:
The feature that I'm looking for specifically is being able to edit a
patch, and have vim do the line numbering math for me. Also the
splitting or combining of hunks.
Isn't it easier to use vimdiff, and edit left and/or right file, then
produce the diff ? I mean, having the diff plus the file, you
can apply the patch and produce the 2nd file, and then use vimdiff.
This particular functionality, though apparently part of emacs "diff"
mode, allows editing of a unified patch file, which can refer to more
than just two different files. Moreover the patch itself does not
need the actual source files to be edited. In addition with the two
files present that a particular hunk refers to can be opened in
addition to the patch file (three windows), and yanks/inserts can be
done, all the while changing the patch automatically.
I really think this is optimal to editing the raw diff.
I guess I should have specified that its a unified patch on more than
only two files
thanks!
-lev