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: Juri Linkov <juri <at> jurta.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#4719: closed (23.1; M-& to run commands asynchronously
 (async-shell-command))
Date: Sun, 29 Jul 2012 00:23:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 29 Jul 2012 03:04:12 +0300
with message-id <878ve35t6r.fsf <at> mail.jurta.org>
and subject line Re: bug#4719: 23.1; M-& to run commands asynchronously (async-shell-command)
has caused the debbugs.gnu.org bug report #4719,
regarding 23.1; M-& to run commands asynchronously (async-shell-command)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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-&.







[Message part 3 (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.


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

Previous Next


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