GNU bug report logs - #72556
29.1.90; vc-diff does not undo hunk in end of source file

Previous Next

Package: emacs;

Reported by: Tomas Nordin <tomasn <at> posteo.net>

Date: Sat, 10 Aug 2024 12:12:01 UTC

Severity: normal

Found in version 29.1.90

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 72556 <at> debbugs.gnu.org (full text, mbox):

From: Tomas Nordin <tomasn <at> posteo.net>
To: Juri Linkov <juri <at> linkov.net>, Eli Zaretskii <eliz <at> gnu.org>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, 72556 <at> debbugs.gnu.org
Subject: Re: bug#72556: 29.1.90; vc-diff does not undo hunk in end of source
 file
Date: Sat, 01 Mar 2025 19:28:55 +0000
Tomas Nordin <tomasn <at> posteo.net> writes:

> The attached patch of diff-mode.el makes the assumption that hunk is
> already applied when both OLD and NEW yields non-nil, and checks if
> this is the case as the first or:ed attempt.  Optimistically assumes
> that this was the requested FIXME and so removes the FIXME comment.

But the patch seem to break the technique suggested by Dmitri,
'C-u C-c C-a', so I missed something.  I will see if I can find
some other fix.




This bug report was last modified 66 days ago.

Previous Next


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