From: Jan Djärv Date: Tue, 31 Jul 2012 19:23:33 +0000 (+0200) Subject: * TODO (NS port): Add text about event loop. X-Git-Tag: emacs-24.2.90~951 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=331ff3b90629b4cc2014e49938d6971a6bffd941;p=emacs.git * TODO (NS port): Add text about event loop. --- diff --git a/etc/ChangeLog b/etc/ChangeLog index 410332037d0..3d26c9a1351 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2012-07-31 Jan Djärv + + * TODO (NS port): Add text about event loop. + 2012-07-29 Paul Eggert deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) diff --git a/etc/TODO b/etc/TODO index e4c0092c7e5..2fcc8a69311 100644 --- a/etc/TODO +++ b/etc/TODO @@ -614,6 +614,15 @@ http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02234.html *** Bugs +**** The event loop relies on polling and that hurts performance. + A better strategy is to have the select part in its own thread and let + the main thread communicate with that thread (see how Gdk does it for + inspiration). A problem is that redraw don't happen during resize, + because we can't break out from the NSapp loop during resize. + There is a special trick to detect mouse press in the lower right + corner and track mouse movements, but this does not work well, and is + not scalable to the new Lion "resize on every window edge" behavior. + **** (mouse-avoidance-mode 'banish) then minimize Emacs, will pop window back up on top of all others