]> git.eshelyaron.com Git - emacs.git/commitdiff
* TODO (NS port): Add text about event loop.
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 31 Jul 2012 19:23:33 +0000 (21:23 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 31 Jul 2012 19:23:33 +0000 (21:23 +0200)
etc/ChangeLog
etc/TODO

index 410332037d058aa2ecb8818c2f9fbd8e4be1b160..3d26c9a1351ef74fdd7c8984de448f747765472c 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-31  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * TODO (NS port): Add text about event loop.
+
 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
 
        deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
index e4c0092c7e53b43287338a0b0146214fedd88752..2fcc8a69311cc6cd606ffeda3995ba6ad903e42e 100644 (file)
--- 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