GNU bug report logs -
#21067
25.0.50; [PATCH] With mercurial, vc-print-log puts point at eob
Previous Next
Reported by: Wolfgang Jenkner <wjenkner <at> inode.at>
Date: Wed, 15 Jul 2015 18:25:01 UTC
Severity: normal
Tags: moreinfo, patch
Found in version 25.0.50
Fixed in version 26.2
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Sun, Jul 19 2015, Dmitry Gutov wrote:
> I like the idea, but FWIW the patch breaks diff-hl-revert-hunk
> (diff-hl is in GNU ELPA). Haven't investigated it further yet.
If I read diff-hl-revert-hunk correctly the code in vc-exec-after
expects point where (the synchronous call to) vc-diff-internal left it,
which should not be at eob, which is exactly where my patch would put
it :-(
It seems some code (not so far) out there uses synchronous calls for
a reason and also does much more weird things in vc-exec-after than I'd
have thought.
So, I'd rather just accept that the synchronous and asynchronous case
behave in different ways and scrap my proposed patch.
Thanks for pointing out this example.
> And the particular bug you've described, naturally, can also be fixed
> by making vc-hg-print-log asynchronous:
If all -print-log backend functions can be made asynchronous there's
nothing left to fix in the frontend I guess...
This bug report was last modified 4 years and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.