[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20608: 25.0.50; vc-git-log-view-mode inserts "Show 2X entries" at bo
bug#20608: 25.0.50; vc-git-log-view-mode inserts "Show 2X entries" at bob when interrupted
Tue, 26 May 2015 16:53:12 -0400
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
>> Could it be that the problem is that in vc-do-command we first do
>> and only afterwards do we do
> Swapping them makes no difference.
Hmm... so I guess in the case at hand, the issue is that the buffer is
setup (e.g. erased) before calling vc-do-command (unless the issue is
that the sentinel is not run during delete-process but only later, but
my reading of process.c makes me think this should not be the case).
But I think the real fix is in this direction: kill the process (and run
its sentinel) earlier, i.e. before setting up the buffer.
The reason why I think this is the better way forward, is that it lets
us run the sentinels in the normal way, so we don't need to worry about
what the sentinels might or might not do.