From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: ielm uses the cat program Date: Thu, 30 Jan 2003 12:25:20 -0700 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E397C20.6090509@ihs.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1043954742 20263 80.91.224.249 (30 Jan 2003 19:25:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2003 19:25:42 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18eKJf-0005Gb-00 for ; Thu, 30 Jan 2003 20:25:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eKL1-0007K5-05 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 30 Jan 2003 14:27:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18eKKt-0007JV-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 30 Jan 2003 14:26:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18eKKr-0007JH-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 30 Jan 2003 14:26:54 -0500 Original-Received: from mailbox.ucsd.edu ([132.239.1.55] helo=mailbox3.ucsd.edu) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eKJK-0006mQ-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 30 Jan 2003 14:25:19 -0500 Original-Received: from mail.fu-berlin.de (mail.fu-berlin.de [160.45.11.165]) by mailbox3.ucsd.edu (8.12.3/8.12.3) with ESMTP id h0UJPCWO017742 for ; Thu, 30 Jan 2003 11:25:13 -0800 (PST) Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Thu, 30 Jan 2003 20:25:12 +0100 (MET) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Thu, 30 Jan 2003 20:25:12 +0100 (MET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 22 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: fu-berlin.de 1043954711 34796913 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-MailScanner: PASSED (v1.2.7 1091 h0UJPCWO017742 mailbox3.ucsd.edu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4355 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4355 Juanma Barranquero wrote: > On the trunk it's already fixed: > > ;; A dummy process to keep comint happy. It will never get any input > (unless (comint-check-proc (current-buffer)) > ;; Was cat, but on non-Unix platforms that might not exist, so > ;; use hexl instead, which is part of the Emacs distribution. > (condition-case nil > (start-process "ielm" (current-buffer) "hexl") > (file-error (start-process "ielm" (current-buffer) "cat"))) > (process-kill-without-query (ielm-process)) > (goto-char (point-max)) If hexl is distributed with Emacs, how could start-process signal a file-error? And if it doess, why is cat considered a viable fallback? -- Kevin Rodgers