From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Clemente Newsgroups: gmane.emacs.bugs Subject: bug#4719: 23.1; M-& to run commands asynchronously (async-shell-command) Date: Tue, 13 Oct 2009 17:10:19 -0700 (PDT) Message-ID: <313827.88804.qm@web53205.mail.re2.yahoo.com> Reply-To: dcl441-bugs@yahoo.com, 4719@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255480055 27316 80.91.229.12 (14 Oct 2009 00:27:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 00:27:35 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 02:27:25 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mxri8-00053G-TV for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 02:27:25 +0200 Original-Received: from localhost ([127.0.0.1]:54283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxri8-00032J-4N for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2009 20:27:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxri2-00030B-RM for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxrhx-0002vD-TJ for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:27:18 -0400 Original-Received: from [199.232.76.173] (port=36977 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxrhx-0002v5-IH for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:27:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42365) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mxrhw-0000g9-Qv for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:27:13 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E0RAJA014137; Tue, 13 Oct 2009 17:27:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9E0K4o3012901; Tue, 13 Oct 2009 17:20:04 -0700 Resent-Date: Tue, 13 Oct 2009 17:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Daniel Clemente Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 14 Oct 2009 00:20:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4719 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125547902812084 (code B ref -1); Wed, 14 Oct 2009 00:20:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Oct 2009 00:10:28 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E0AQET012077 for ; Tue, 13 Oct 2009 17:10:27 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxrRi-0001dg-5D for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:10:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxrRc-0001Zs-VW for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:10:25 -0400 Original-Received: from [199.232.76.173] (port=32944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxrRc-0001Zk-Rm for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:10:20 -0400 Original-Received: from web53205.mail.re2.yahoo.com ([206.190.49.75]:24886) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MxrRc-0006xT-HD for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 20:10:20 -0400 Original-Received: (qmail 90568 invoked by uid 60001); 14 Oct 2009 00:10:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255479019; bh=Fs74GPz1jt0HkwunBI8ZA6+z4B66ZU+P6HDiOKrq+os=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kI17b1QuKSajxxurvRDbWc8BjmCnil7ng4c/jaBNUJi50IfYD6w2j6gBQ2n2DXnIqX/E1bIgnpqlqcqRjfYk/b+8FGTNtvnIe0yWPEOTeN4ECTXEjZBmAabNvIqnCHpwhvPnfhGjN1OBT03k3WDPErveqF091QfP/98jzKETH2k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qL9totTcVT8aS/kSy0FX1XIC6HUdwkM3ta4LqHuqWh1AWwEw8lycjpMor5MlGQq7+5sPzfBKX0Pp/uBCNdipcD2zTmuA27qiQMZdtz7LzFviTrx66O9hgcNP1gPcslXLGkVj1q4sKv2J/BeLIfBneLA6RZe2A/uqZrHHxdL0roI=; X-YMail-OSG: 3j2xBNYVM1lIu9L3IRJwJyku1CeM8puAucs6pGaOA8k5lvh7zzkn3uICTJQF3KtsC040aUTpCqKr9t0M9CXhmdhwkOgD_LkYwzHP8B8URVfsvebLrfETUJrHsIoIGtqFoEzC4jV2bztMX1RBBCteqih.lPMi2p7QMmv7XOiO3VQeMGojgOEm.JmLPFp4fG_k201lv_diG9hMrM5oVsggnm.sqpmoUWbwGnsTtBu1lcRUmHOHhsNGJWl934ySPseKZ_SjTUM4aTOMlFafgRAmrcu69C4wJQryHWywiGIF.rONoY07M7fr6e1g_1LINCQ_hI9gpV3gTRcKT8c_QYw_3EHDhU.n3ZUHQCc6NIPB4rPRIlUk5LC66nzOHzik7qOIzW7_iU8_gj19a9hwC8w5hw4- Original-Received: from [89.6.42.98] by web53205.mail.re2.yahoo.com via HTTP; Tue, 13 Oct 2009 17:10:19 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 13 Oct 2009 20:27:18 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31892 Archived-At: I propose to add a new function, async-shell-command, bound to M-&, which i= n 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 ever= ywhere). 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, =E2=80=A6 Some modes should be checked since they might be using M-&. =0A=0A=0A