--- Begin Message ---
Subject: |
23.1; M-& to run commands asynchronously (async-shell-command) |
Date: |
Tue, 13 Oct 2009 17:10:19 -0700 (PDT) |
I propose to add a new function, async-shell-command, bound to M-&, which in
analogous to shell-command (bound to M-!) but executes the command in the
background (as if you had written an ampersand at the end of M-!).
Both functions would respectively correspond to keys ! and & in dired, only
that ! and & work only in dired but M-! and M-& would be global (work
everywhere).
The code is in this message in an old thread:
http://article.gmane.org/gmane.emacs.devel/111825
There are still some details to decide: how many buffers to open, where to
direct STDOUT, whether output should be visible, …
Some modes should be checked since they might be using M-&.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#4719: 23.1; M-& to run commands asynchronously (async-shell-command) |
Date: |
Sun, 29 Jul 2012 03:04:12 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) |
>> So I propose a minimal change that just removes the current annoyance
>> where async-shell-command asks to kill the buffer instead of doing
>> something more constructive like creating a new buffer for running
>> another asynchronous command.
>>
>> This is implemented in the patch below.
>
> Patch looks fine to me.
Installed and closed.
--- End Message ---