From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: grep-use-null-device Date: Fri, 02 Sep 2005 21:43:29 -0400 Message-ID: References: <87ll2kiczv.fsf@jurta.org> <878xyiyh2n.fsf-monnier+emacs@gnu.org> <87mzmy1wmh.fsf@jurta.org> <85slwovk53.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1125712553 17876 80.91.229.2 (3 Sep 2005 01:55:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2005 01:55:53 +0000 (UTC) Cc: juri@jurta.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 03 03:55:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EBNFx-00071J-14 for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2005 03:55:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EBNKG-0003si-Jz for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2005 22:00:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EBNFS-0002Ow-8O for emacs-devel@gnu.org; Fri, 02 Sep 2005 21:55:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EBNFE-0002F4-3D for emacs-devel@gnu.org; Fri, 02 Sep 2005 21:55:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EBNF9-0002DF-Dy for emacs-devel@gnu.org; Fri, 02 Sep 2005 21:54:55 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EBN8M-0004EN-FT for emacs-devel@gnu.org; Fri, 02 Sep 2005 21:47:54 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EBN45-0007U0-1p; Fri, 02 Sep 2005 21:43:29 -0400 Original-To: David Kastrup In-reply-to: <85slwovk53.fsf@lola.goethe.zz> (message from David Kastrup on Thu, 01 Sep 2005 18:16:08 +0200) 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:42595 Archived-At: I think it is the wrong fix to just ignore an error which should not occur in the first place. Rather process-send-eof should be fixed not to throw an error as long as the process is not considered dead from Emacs' point of view. That there is nobody to actually look at the eof can't be considered a problem in asynchronous operations: the consuming process can close down without waiting for an explicit eof. That is a plausible argument, but I think the current way things work is ok too. This function is not used often, and catching the error (when that's what you want) is not hard.