unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: dired-do-shell-command munches all memory
Date: Sat, 11 Oct 2003 01:37:28 -0400	[thread overview]
Message-ID: <E1A8CRU-0001Fd-1H@fencepost.gnu.org> (raw)
In-Reply-To: <874qyk4tmm.fsf@jidanni.org> (message from Dan Jacobson on Wed, 08 Oct 2003 05:37:05 +0800)

    $ 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?

           reply	other threads:[~2003-10-11  5:37 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <874qyk4tmm.fsf@jidanni.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1A8CRU-0001Fd-1H@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).