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

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

bug#15029: 24.3; feature-request: add window-focus-lost-hook


From: Stefan Monnier
Subject: bug#15029: 24.3; feature-request: add window-focus-lost-hook
Date: Thu, 08 Aug 2013 12:37:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>     We are talking about when the input focus enters and leaves Emacs in a
>     GUI environment.
> It's the same kind of issue.  I don't think Emacs should run any Lisp
> code when that happens -- it would make things hard to predict.

Following that same reasoning, we shouldn't have jit-lock.
And post-command-hook.  And mouse-autoselect-window.  And timers.  Etc...
These all make debugging at times difficult.

Yes, these things should be used with care, but that doesn't mean we
shouldn't provide them, because they can be very useful.


        Stefan





reply via email to

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