From: Juri Linkov <juri@jurta.org>
To: Miles Bader <miles@gnu.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: Starting multiple async processes from inside dired using &
Date: Wed, 21 Oct 2009 02:59:06 +0300 [thread overview]
Message-ID: <87d44h8sv9.fsf@mail.jurta.org> (raw)
In-Reply-To: <8763ac2rb4.fsf@catnip.gol.com> (Miles Bader's message of "Mon, 19 Oct 2009 08:52:31 +0900")
>>>> It seems the best option is to search and revive an existing buffer,
>>>> but there is another problem: the user might want to keep the output
>>>> of an old *Async Shell Command*<N> buffer and not overwrite it with
>>>> the output of another process.
>>
>> Emacs could retain the old output, concatenating the new output into it.
>
> That could be very confusing for someone who just wants "the output"
> tho...
Yes, unrelated command outputs will create a mess in the same buffer.
> Maybe it could keep a list of previously created async output buffers,
> and reuse any which are empty (and whose associated process is dead).
Empty async output buffers is a small subset of use cases.
The problem of reusing command buffers is more general -
e.g. grep and compile often overwrite old output that was
necessary to keep.
> Perhaps another issue, BTW is whether Emacs should kill asynch processes
> when exiting. For the most common uses I have, it _shouldn't_, and it's
> surprising and annoying when it does (I typically say "yes" to the "kill
> processes?" prompt because I'm thinking of only those synchronous
> processed I know about, so occasionally I end up inadvertently killing
> an async process that I didn't want to...]
Maybe asking an additional question about async processes and detaching
them when exiting will help?
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2009-10-20 23:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-18 16:15 Starting multiple async processes from inside dired using & Tassilo Horn
2009-10-18 20:36 ` Chong Yidong
2009-10-18 22:05 ` Juri Linkov
2009-10-18 22:20 ` Drew Adams
2009-10-18 22:36 ` Chong Yidong
2009-10-18 23:52 ` Miles Bader
2009-10-20 23:59 ` Juri Linkov [this message]
2009-10-19 0:18 ` Juri Linkov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d44h8sv9.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=miles@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.