From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: [Emacs.app dev]: ghost cursor problem is still there Date: Sun, 27 Jul 2008 15:42:29 -0400 Message-ID: <1306D76A-43F4-4277-B7D2-1155E7825D20@gmail.com> References: <5f089c510807191428n349bdf55gebdff2e0ca668db7@mail.gmail.com> <7C93A2A7-54FD-43A9-BA1B-0B8502FFA5C6@gmail.com> <1AFEFF71-2AEA-4282-915E-B03050E98592@gmail.com> <8ED46157-6210-4767-A5AE-0DDE4C9DB1B3@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217189755 7886 80.91.229.12 (27 Jul 2008 20:15:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2008 20:15:55 +0000 (UTC) Cc: Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 27 22:16:44 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KNCfX-0004BJ-5s for ged-emacs-devel@m.gmane.org; Sun, 27 Jul 2008 22:16:39 +0200 Original-Received: from localhost ([127.0.0.1]:33887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNCed-0001ff-2V for ged-emacs-devel@m.gmane.org; Sun, 27 Jul 2008 16:15:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNCZi-0003NW-9O for emacs-devel@gnu.org; Sun, 27 Jul 2008 16:10:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNCZg-0003L9-7l for emacs-devel@gnu.org; Sun, 27 Jul 2008 16:10:37 -0400 Original-Received: from [199.232.76.173] (port=36675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNCZf-0003Kk-Uv for emacs-devel@gnu.org; Sun, 27 Jul 2008 16:10:36 -0400 Original-Received: from wr-out-0506.google.com ([64.233.184.227]:6491) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNCZf-0001cE-Vf for emacs-devel@gnu.org; Sun, 27 Jul 2008 16:10:36 -0400 Original-Received: by wr-out-0506.google.com with SMTP id c30so3611879wra.14 for ; Sun, 27 Jul 2008 13:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=yiA/+hDA9LFNH/ezqO6qKCeSWvrfWAUOxbyo0zCmdBw=; b=h9LhN2ntxvCjo6Jzrp07P5wSobfVi4MEGnvTCHjlOnx1S2XgpfhKod2JIbr/tlHcEt ua53dqSk2/mOdQ1c1mnZp/OmEmxb8ZPU94TFSRrudKOXZRI2AUyEnliOTau/gAfx0TqX Vq2vM/QK5qsN6vM0VxsYkaM+LCVn/pQIS4uBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=JYs56YLIMACoMpzWTlyeXHv9f66pctXAZZkB3QaoUxJMX/CzQHABl3BwSoCTtOpzWL dYj77hUrRRPsb5UuVMVx3EOUk7p6RxQpblylEzvXXp6KxRVJgP9dq438oqG2xM8uweVp shhgnVUaFizfWE5x4wBNE5WFs5kkoRQ32RLn8= Original-Received: by 10.90.51.13 with SMTP id y13mr5075024agy.46.1217187769932; Sun, 27 Jul 2008 12:42:49 -0700 (PDT) Original-Received: from ?10.0.1.200? ( [97.73.30.9]) by mx.google.com with ESMTPS id 38sm13965852agd.18.2008.07.27.12.42.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Jul 2008 12:42:48 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.926) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101588 Archived-At: On Jul 22, 2008, at 9:41 AM, David Reitter wrote: > Well, if someone could explain why redisplay noticed a change in - > >cursor_off_p in Carbon or X, but not in NS, then that would already > be helpful. I don't think enabling the original blink-cursor-mode > will be difficult, and you get a lot of functionality for free that > way. I think this might be due to differences in event loop handling between NS and the other ports. I've summarized the NS port approach to event loop integration and a few other areas in nextstep/DEV-NOTES. Basically, the NS port does not poll for events, but goes into a loop where only a timeout firing or a user event will return control to emacs. (Sometimes the timeout period is specified by emacs itself.) I'm guessing that maybe waiting for events is supposed to be interrupted (for a redisplay pass) when emacs internally decides to change the cursor state, but this interrupting is not happening for some reason.