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 #8 received at 38370 <at> debbugs.gnu.org (full text, mbox):
ndame <emacsuser <at> freemail.hu> writes:
> 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 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?
Yeah, I've always found that messaging to be confusing and worrisome, as
if I had entered a command to change the source code instead of just
moving around in it.
I've now removed it.
Looking at the code in diff-mode, as far as I can see, the actual
"apply" functions will still output the hunk status.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
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.