GNU bug report logs - #4368
23.1; diff-hunk-kill -vs- final hunk in a file

Previous Next

Package: emacs;

Reported by: Tom Tromey <tromey <at> redhat.com>

Date: Tue, 8 Sep 2009 04:20:05 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #30 received at 4368 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Tom Tromey <tromey <at> redhat.com>
Cc: 4368 <at> debbugs.gnu.org
Subject: Re: bug#4368: 23.1; diff-hunk-kill -vs- final hunk in a file
Date: Tue, 08 Sep 2009 17:47:57 -0400
> I'm using diff-mode to edit a patch.
> The patch was generated by "git diff".
> I typed M-k to remove the last hunk in a file.
> However, it left the "header" around:

>     diff --git a/src/data.c b/src/data.c
>     index 7b59673..9063cef 100644
>     --- a/src/data.c
>     +++ b/src/data.c
>     diff --git a/src/eval.c b/src/eval.c
>     index 4b7aa32..dbaa385 100644
>     --- a/src/eval.c
>     [...]

Can you show the content before the last M-k ?


        Stefan



This bug report was last modified 15 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.