[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Starting multiple async processes from inside dired using &
From: |
Juri Linkov |
Subject: |
Re: Starting multiple async processes from inside dired using & |
Date: |
Mon, 19 Oct 2009 01:05:17 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
>> IMO, the right thing would be to create another *Async Shell Command*
>> buffer, uniquified with the executed command and its pid or something
>> like that.
>>
>> Am I missing something obvious, because it looks to me like some quite
>> normal dired use case?
>
> The only problem I can see is that these buffers will proliferate if you
> execute lots of async commands over the course of a session.
Yes, this is a real problem. I've tried for some time using a patch
that creates a new *Async Shell Command* buffer for every async process
and it ends up collecting a lot of dead *Async Shell Command*<N> buffers.
> So instead of uniquifying, the code first needs to search for an
> *Async Shell Command XXX* buffer containing a dead process, and only
> uniquify if no such buffer exists.
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.
--
Juri Linkov
http://www.jurta.org/emacs/