From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: grischka Newsgroups: gmane.emacs.devel Subject: Re: System calls without error checks in w32 Date: Mon, 07 Jun 2010 20:54:48 +0200 Message-ID: <4C0D4078.1030208@gmx.de> References: <4C037EFE.4040304@gmx.de> <87zkz9qu2r.fsf@home.jasonrumney.net> <4C0CCBCE.8080503@gmx.de> <87k4qa99l4.fsf@uwakimon.sk.tsukuba.ac.jp> <4C0D2A87.3070403@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275936980 7662 80.91.229.12 (7 Jun 2010 18:56:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Jun 2010 18:56:20 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org, Jason Rumney To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 07 20:56:18 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OLhUb-0006r3-FQ for ged-emacs-devel@m.gmane.org; Mon, 07 Jun 2010 20:56:13 +0200 Original-Received: from localhost ([127.0.0.1]:37752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLhUb-00080z-0L for ged-emacs-devel@m.gmane.org; Mon, 07 Jun 2010 14:56:13 -0400 Original-Received: from [140.186.70.92] (port=45689 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLhUP-0007yI-Pq for emacs-devel@gnu.org; Mon, 07 Jun 2010 14:56:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLhUO-0003tI-N0 for emacs-devel@gnu.org; Mon, 07 Jun 2010 14:56:01 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:55773) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OLhUO-0003t7-8h for emacs-devel@gnu.org; Mon, 07 Jun 2010 14:56:00 -0400 Original-Received: (qmail invoked by alias); 07 Jun 2010 18:55:55 -0000 Original-Received: from unknown (EHLO [10.62.5.112]) [82.113.106.188] by mail.gmx.net (mp024) with SMTP; 07 Jun 2010 20:55:55 +0200 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX187S/pvFkA7Q4vwqGq5+4qrgf3w7lPQOghV7TrxSF wQHmYbE9cdsA0c User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:125605 Archived-At: Lennart Borgman wrote: > On Mon, Jun 7, 2010 at 7:21 PM, grischka wrote: >> Lennart Borgman wrote: >>> I guess the idea of having two event loops/thread is not in itself >>> bad. If the gui thread is never blocked it can be used to convey >>> status information at least to the user. (You can put these in >>> temporary windows inside the frame for example.) > >> Since this is Emacs you'd probably want to format your status info >> in Lisp. Bye nice idea and welcome to thread hell. > > I see no reason to format it in Lisp. Or rather my idea is that the > status information is formated by the lisp thread in advance and sent > to the gui thread in a non-lisp format. Then the gui thread can offer > that information without contactinog the lisp thread. But then what is the benefit from that additional effort of preparing and sending a "non-lisp" representation forth and back, except to satisfy the requirements of having two threads? Have only one thread and you can format and display the info in one go. Simple, reliable, conclusive. --- grischka