From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous events in Carbon or Cocoa Emacs (macosx) Date: Sat, 11 Oct 2008 04:04:04 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223697892 2269 80.91.229.12 (11 Oct 2008 04:04:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Oct 2008 04:04:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 11 06:05:50 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 1KoVjJ-0000TB-CR for ged-emacs-devel@m.gmane.org; Sat, 11 Oct 2008 06:05:46 +0200 Original-Received: from localhost ([127.0.0.1]:41893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoViF-0004LO-7L for ged-emacs-devel@m.gmane.org; Sat, 11 Oct 2008 00:04:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoViB-0004LI-Hn for emacs-devel@gnu.org; Sat, 11 Oct 2008 00:04:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoViA-0004L6-Se for emacs-devel@gnu.org; Sat, 11 Oct 2008 00:04:15 -0400 Original-Received: from [199.232.76.173] (port=57342 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoViA-0004L3-OW for emacs-devel@gnu.org; Sat, 11 Oct 2008 00:04:14 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:42765 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KoViA-00057D-5I for emacs-devel@gnu.org; Sat, 11 Oct 2008 00:04:14 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KoVi8-0006Ig-5e for emacs-devel@gnu.org; Sat, 11 Oct 2008 04:04:12 +0000 Original-Received: from nadie.us ([216.27.138.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Oct 2008 04:04:12 +0000 Original-Received: from ljz by nadie.us with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Oct 2008 04:04:12 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 216.27.138.216 (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:104474 Archived-At: YAMAMOTO Mitsuharu math.s.chiba-u.ac.jp> writes: > >>>>> On Fri, 10 Oct 2008 23:51:22 +0000 (UTC), Lloyd Zusman asfast.com> said: > > > [ ... ] > > > > In other words, if I am trapping [sigusr1] as described above and > > send a USR1 signal to the process, nothing happens until after I > > click in the Emacs window with the mouse or perform some sort of > > keyboard interaction with it, at which time the [sigusr1] events > > that have accumulated all get processed, one after the other. > > [ ... ] > > That's a known limitation in the `select' emulation of the Carbon > port, and I mentioned that when I updated the platform-independent > part of user-signal handling code to the current form: > > http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00443.html > > I have some experimental code to remedy this limitation, but it's not > tested that much. > > YAMAMOTO Mitsuharu > mituharu math.s.chiba-u.ac.jp > > [ ... etc. ... ] Thank you very much. I do remember reading that post, but I confess that at the time, I didn't understand the significance of it regarding the issue that I reported here. I'll get a hold of the Carbon Emacs source code and play with this patch. Once I have some results, I'll post them here. -- Lloyd Zusman ljz@asfast.com God bless you.