emacs-devel
[Top][All Lists]
Advanced

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

Re: Confusion about first-change-hook


From: Stefan Monnier
Subject: Re: Confusion about first-change-hook
Date: Tue, 18 Dec 2012 15:43:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> However, I soon saw that whitespace-mode got immediately activated in my
> C++ buffers. The reason is that changing a text property apparently
> already counts as "changing the buffer". Is this really the desired
> behavior? If so, what else is there to achieve the above? Should I file
> a wishlist-bug for something like 'buffer-modified-hook'?

I think the bug is in the major mode that sets the text-property without
proper protection (e.g. with-silent-modifications).


        Stefan



reply via email to

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