From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: SIGPIPE in server Date: Sun, 03 Oct 2004 15:19:02 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20041003.202012.92555698.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096831184 10456 80.91.229.6 (3 Oct 2004 19:19:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2004 19:19:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 03 21:19:35 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CEBtP-0008Qn-00 for ; Sun, 03 Oct 2004 21:19:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEBzx-0004P2-K4 for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2004 15:26:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEBzr-0004Nz-Ee for emacs-devel@gnu.org; Sun, 03 Oct 2004 15:26:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEBzq-0004Ml-7S for emacs-devel@gnu.org; Sun, 03 Oct 2004 15:26:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEBzq-0004Md-4a for emacs-devel@gnu.org; Sun, 03 Oct 2004 15:26:14 -0400 Original-Received: from [206.47.199.164] (helo=simmts6-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEBst-0001AV-Oc for emacs-devel@gnu.org; Sun, 03 Oct 2004 15:19:04 -0400 Original-Received: from empanada.home ([67.68.216.150]) by simmts6-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041003191842.WVQQ1635.simmts6-srv.bellnexxia.net@empanada.home>; Sun, 3 Oct 2004 15:18:42 -0400 Original-Received: by empanada.home (Postfix, from userid 502) id 36BC03117E4; Sun, 3 Oct 2004 15:19:03 -0400 (EDT) Original-To: Masatake YAMATO In-Reply-To: <20041003.202012.92555698.jet@gyve.org> (Masatake YAMATO's message of "Sun, 03 Oct 2004 20:20:12 +0900 (JST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27847 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27847 > emacsclient -n -d localhost:10 --eval '(make-frame-on-display "localhost:10")' emacsclient -n -d locahost:12 -e '(make-frame)' should work just as well. > It seems that `process-send-region' gets SIGPIPE because -n(--no-wait) > option make the process dead quickly. The next patch suppresses the > error with `condition-case'. Question is what I should do after receiving > the error. In the patch, the error is just reported by `message'. > Is this OK? I think the error should just be ignored without even a `message'. Stefan