From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
To: emacs-devel@gnu.org
Subject: run-with-idle-timer, post-command-hook and self-insert-command do not play nice in Cocoa port
Date: Fri, 25 Dec 2009 00:50:12 -0500 [thread overview]
Message-ID: <4B345294.3050905@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 789 bytes --]
Hi,
I'm using the GIT HEAD of Emacs' Cocoa port on MacOSX 10.5.8 PPC and GIT
HEAD of AutoComplete <http://github.com/m2ym/auto-complete>. The problem
I'm having is that the point in the Cocoa port doesn't return
immediately after typing and a post-command-hook has fired off a
function to be run with an idle timer. Supposedly AutoComplete should be
a whole lot faster with the new timer-based completion trigger in HEAD,
but this bug in the Cocoa port seems to be preventing that. I've tested
this with Emacs 22.3 in the terminal and CarbonEmacs 22.3 and both has
the cursor return immediately. I'm guessing something in the NS code
that deals with the point render is waiting on the idle timer thread
instead of having both threads running asynchronously?
Jimmy Yuen Ho Wong
[-- Attachment #2: Type: text/html, Size: 1022 bytes --]
next reply other threads:[~2009-12-25 5:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-25 5:50 Jimmy Yuen Ho Wong [this message]
2009-12-25 15:40 ` run-with-idle-timer, post-command-hook and self-insert-command do not play nice in Cocoa port Leo
2009-12-30 8:22 ` Jimmy Yuen Ho Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B345294.3050905@gmail.com \
--to=wyuenho@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.