[Top][All Lists]

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

Re: request: make-frame-visible hook

From: Stefan Monnier
Subject: Re: request: make-frame-visible hook
Date: Fri, 20 Feb 2009 21:23:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

> IMO, the real problem using post-command-hook is that there is no way to
> control the sequence of things that is done via that hook - so if you have
> two packages putting stuff on the hook - and they both do something which
> modifies either buffer contents or visual appearence - then users may see
> different results depending on which package is loaded first.

Another problem with it is that it is not always sufficient: stuff can
happen in Emacs without post-command-hook being run (e.g. process
filters, sentinels, ...).  Sometimes per/post-redisplay-hook would be
closer to what is needed.


reply via email to

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