GNU bug report logs - #4719
23.1; M-& to run commands asynchronously (async-shell-command)

Previous Next

Package: emacs;

Reported by: dcl441-bugs <at> yahoo.com

Date: Wed, 14 Oct 2009 00:20:04 UTC

Severity: wishlist

Merged with 8023

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: dcl441-bugs <at> yahoo.com
Subject: bug#4719: closed (Re: bug#4719: 23.1; M-& to run commands
 asynchronously (async-shell-command))
Date: Sun, 29 Jul 2012 00:23:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#4719: 23.1; M-& to run commands asynchronously (async-shell-command)

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 4719 <at> debbugs.gnu.org.

-- 
4719: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4719
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: dcl441-bugs <at> yahoo.com, 4719-done <at> debbugs.gnu.org,
	Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#4719: 23.1;
	M-& to run commands asynchronously (async-shell-command)
Date: Sun, 29 Jul 2012 03:04:12 +0300
>> 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.

[Message part 3 (message/rfc822, inline)]
From: Daniel Clemente <dcl441-bugs <at> yahoo.com>
To: bug-gnu-emacs <at> gnu.org
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-&.








This bug report was last modified 12 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.