From 331ff3b90629b4cc2014e49938d6971a6bffd941 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 31 Jul 2012 21:23:33 +0200 Subject: [PATCH] * TODO (NS port): Add text about event loop. --- etc/ChangeLog | 4 ++++ etc/TODO | 9 +++++++++ 2 files changed, 13 insertions(+) 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 -- 2.39.2