unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4719: 23.1; M-& to run commands asynchronously (async-shell-command)
@ 2009-10-14  0:10 Daniel Clemente
  2009-10-14  3:01 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Clemente @ 2009-10-14  0:10 UTC (permalink / raw)
  To: bug-gnu-emacs


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-&.











^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-29  0:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14  0:10 bug#4719: 23.1; M-& to run commands asynchronously (async-shell-command) Daniel Clemente
2009-10-14  3:01 ` Stefan Monnier
2009-10-14  7:50   ` Daniel Clemente
2009-10-14 20:41     ` Juri Linkov
2009-10-16  6:48       ` Daniel Clemente
2012-07-17 18:57         ` Juri Linkov
2012-07-28 15:19           ` Chong Yidong
2012-07-29  0:04             ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).