unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: dired-do-shell-command munches all memory
       [not found] <874qyk4tmm.fsf@jidanni.org>
@ 2003-10-11  5:37 ` Richard Stallman
  0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2003-10-11  5:37 UTC (permalink / raw)
  Cc: emacs-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-11  5:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <874qyk4tmm.fsf@jidanni.org>
2003-10-11  5:37 ` dired-do-shell-command munches all memory Richard Stallman

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).