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, 31 May 2010 11:18:54 +0200 Message-ID: <4C037EFE.4040304@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 1275298692 22714 80.91.229.12 (31 May 2010 09:38:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 09:38:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: lennart.borgman@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 31 11:38:10 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 1OJ1Rg-0000ez-Ta for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 11:38:09 +0200 Original-Received: from localhost ([127.0.0.1]:33677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ1FN-0003bS-Bt for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 05:25:25 -0400 Original-Received: from [140.186.70.92] (port=44344 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ19l-0006a6-0O for emacs-devel@gnu.org; Mon, 31 May 2010 05:19:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ19E-00042S-FW for emacs-devel@gnu.org; Mon, 31 May 2010 05:19:08 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:47659) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OJ19E-000423-2e for emacs-devel@gnu.org; Mon, 31 May 2010 05:19:04 -0400 Original-Received: (qmail invoked by alias); 31 May 2010 09:19:00 -0000 Original-Received: from unknown (EHLO [10.62.15.204]) [82.113.106.188] by mail.gmx.net (mp036) with SMTP; 31 May 2010 11:19:00 +0200 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX1+374B0s+W3+yn+zbiOmnS8iQAP0ln54OJ5H4HgWk Az1C37GMPmF5X2 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-References: AANLkTilZjww4ThFzZCfHnyitzvDSLX96vu2JTU2b2YOK@mail.gmail.com 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:125391 Archived-At: > ... For example I know Drew recently wrote about problems when > creating new frames. It is quite hard to both understand what is > happening and what is a bug and what is not. Is there just a bad > timing? A missing hook to proceed the function etc (you may have to > wait until the frame creation is finished)? Typically such problems have to do with the two-thread approach in the "w32" code, which again has to do with emacs unfortunate event system (aka. command_loop) which is not really compatible with GUI backends (w32, gtk). Basically: Replace the command_loop by callbacks, then get rid of the w32-GUI-thread, then watch how the problems disappeared. Magically ;-) --- grischka