GNU bug report logs -
#38370
26.2; Confusing message 'Hunk already applied' in diff-mode
Previous Next
Reported by: ndame <emacsuser <at> freemail.hu>
Date: Mon, 25 Nov 2019 21:33:40 UTC
Severity: minor
Tags: fixed
Found in version 26.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Recently I turned on next-error-follow-minor-mode in diff buffers, so
the source context is shown automatically as I move around in the diff
buffer.
It works well, but after a while I noticed there is always a 'Hunk
already applied' message in the echo area.
I investigated and turns out the message comes from here:
next-error
next-error-function
diff-next-error
diff-goto-source
diff-hunk-status-msg
So goto source prints this message every time, even if one just
presses RET in a diff buffer.
I found it confusing, because I was just moving around, I didn't try
to apply anything, so this message wasn't really informative, it
stopped my flow with its unwanted appearance and reference to an other
operation.
Shouldn't this 'Hunk already applied' message appear only if the user
actually tries to apply something?
[Message part 2 (text/html, inline)]
This bug report was last modified 4 years and 276 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.