From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: dired-do-shell-command munches all memory Date: Sat, 11 Oct 2003 01:37:28 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <874qyk4tmm.fsf@jidanni.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1065851011 20971 80.91.224.253 (11 Oct 2003 05:43:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Oct 2003 05:43:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Oct 11 07:43:30 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A8CXJ-0001XK-00 for ; Sat, 11 Oct 2003 07:43:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A8CXJ-0004We-00 for ; Sat, 11 Oct 2003 07:43:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8CWM-0007gy-Op for emacs-devel@quimby.gnus.org; Sat, 11 Oct 2003 01:42:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A8CUs-0007EL-Jn for emacs-devel@gnu.org; Sat, 11 Oct 2003 01:40:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A8CUL-00074M-GY for emacs-devel@gnu.org; Sat, 11 Oct 2003 01:40:56 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8CUL-00074D-6K for emacs-devel@gnu.org; Sat, 11 Oct 2003 01:40:25 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1A8CRU-0001Fd-1H; Sat, 11 Oct 2003 01:37:28 -0400 Original-To: Dan Jacobson In-reply-to: <874qyk4tmm.fsf@jidanni.org> (message from Dan Jacobson on Wed, 08 Oct 2003 05:37:05 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17032 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17032 $ minizip x a The file x.zip exist. Overwrite ? [y]es, [n]o : n Then in emacs, do (dired-do-shell-command "minizip x" nil (quote ("a"))) emacs apparently loops on the above question. Emacs version is in my headers. This is because minizip spews unending output. It does that when it hits eof on stdin while asking the yes or no question. I think that is a bug in minizip; can you tell me who to report that to? Meanwhile, perhaps it is a bug in Emacs that it runs out of memory just because a subprocess generates unending output. The question is, what else should it do? Perhaps when the output gets over a certain size, ask the user whether to continue reading it. What do people think?