From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: System calls without error checks in w32 Date: Mon, 31 May 2010 06:05:37 +0300 Message-ID: <838w70u5xa.fsf@gnu.org> References: <83ocfytxhg.fsf@gnu.org> <83mxvitsay.fsf@gnu.org> <83ljb2tn6i.fsf@gnu.org> <83k4qmt7lb.fsf@gnu.org> <83hblpthpt.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1275275147 23751 80.91.229.12 (31 May 2010 03:05:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 03:05:47 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 31 05:05:46 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 1OIvJw-0001yR-JN for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 05:05:44 +0200 Original-Received: from localhost ([127.0.0.1]:57077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIvJw-0004uq-50 for ged-emacs-devel@m.gmane.org; Sun, 30 May 2010 23:05:44 -0400 Original-Received: from [140.186.70.92] (port=56518 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIvJq-0004t7-IS for emacs-devel@gnu.org; Sun, 30 May 2010 23:05:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIvJp-0008N8-7R for emacs-devel@gnu.org; Sun, 30 May 2010 23:05:38 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42205) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIvJo-0008Mt-Tq for emacs-devel@gnu.org; Sun, 30 May 2010 23:05:37 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L3900200KJ4G300@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 31 May 2010 06:05:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.62.239]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L39001F7KLAMK40@a-mtaout22.012.net.il>; Mon, 31 May 2010 06:05:35 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:125387 Archived-At: > From: Lennart Borgman > Date: Mon, 31 May 2010 00:37:26 +0200 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > On a quick look I got the impression that file calls are better > handled than GUI system calls. That's because when it happens with files, it's quite clear what to do. But what do you do when you try to display a menu, and the API returns an error? > So both you and Eli think that way is ugly. It obfuscates the source code, that's the main problem.