unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: run-with-idle-timer, post-command-hook and self-insert-command do not play nice in Cocoa port
Date: Fri, 25 Dec 2009 15:40:29 +0000	[thread overview]
Message-ID: <xbai8wcrnjte.fsf@cam.ac.uk> (raw)
In-Reply-To: 4B345294.3050905@gmail.com

On 2009-12-25 05:50 +0000, Jimmy Yuen Ho Wong wrote:
> 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

Is this related to http://permalink.gmane.org/gmane.emacs.bugs/33490?

Thanks.

Leo





  reply	other threads:[~2009-12-25 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-25  5:50 run-with-idle-timer, post-command-hook and self-insert-command do not play nice in Cocoa port Jimmy Yuen Ho Wong
2009-12-25 15:40 ` Leo [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xbai8wcrnjte.fsf@cam.ac.uk \
    --to=sdl.web@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).