bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10117: duplicate evaluation of after-change-functions hooks in rever


From: Stefan Monnier
Subject: bug#10117: duplicate evaluation of after-change-functions hooks in revert-buffer
Date: Wed, 23 Nov 2011 09:42:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

> Am I wrong when I assume that the sequence of modifications passed to the
> after-change-functions is an exact trace of the buffer contents evolution ?

Well, it should be, yes.

> What could possibly cause such a duplicate event ?

A bug in revert-buffer?  revert-buffer modifies the buffer on its own
rather than via calls to delete and insert, so it runs those
change-functions "by hand".  Do you have a small test case reproducing
the problem?


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]