From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: & and M-& to run programs asynchronously Date: Wed, 01 Jul 2009 03:02:55 +0300 Organization: JURTA Message-ID: <87zlbps06o.fsf@mail.jurta.org> References: <87hcbkpo0e.fsf@gmail.com> <86y74wzeq1.fsf@lola.quinscape.zz> <874p7ifonh.fsf@jurta.org> <873amryzdu.fsf_-_@gmail.com> <87iqt9dwtm.fsf@gmail.com> <87zlmfpov5.fsf@jurta.org> <87tz20660j.fsf@yahoo.com> <873a9km3fh.fsf@mail.jurta.org> <87y6rbgez1.fsf@CPU107.opentrends.net> <87hbxy373a.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246409349 27445 80.91.229.12 (1 Jul 2009 00:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 00:49:09 +0000 (UTC) Cc: Daniel Clemente , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 01 02:49:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLo0T-0007nZ-HV for ged-emacs-devel@m.gmane.org; Wed, 01 Jul 2009 02:49:01 +0200 Original-Received: from localhost ([127.0.0.1]:50441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLo0S-0000ZF-OT for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 20:49:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLo0N-0000XV-Hc for emacs-devel@gnu.org; Tue, 30 Jun 2009 20:48:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLo0J-0000SF-L2 for emacs-devel@gnu.org; Tue, 30 Jun 2009 20:48:55 -0400 Original-Received: from [199.232.76.173] (port=47451 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLo0J-0000Rs-Dr for emacs-devel@gnu.org; Tue, 30 Jun 2009 20:48:51 -0400 Original-Received: from smtp-out3.starman.ee ([85.253.0.5]:37150 helo=smtp-gw1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLo0I-0002MT-W3 for emacs-devel@gnu.org; Tue, 30 Jun 2009 20:48:51 -0400 Original-Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.17]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 86E9627C84; Wed, 1 Jul 2009 03:48:47 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.29.94.cable.starman.ee [82.131.29.94]) by mx2.starman.ee (Postfix) with ESMTP id EDC703F404E; Wed, 1 Jul 2009 03:48:42 +0300 (EEST) In-Reply-To: (Stefan Monnier's message of "Tue, 30 Jun 2009 22:16:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111843 Archived-At: >> Below is a ready patch submitted for verification before checking in: > > As it stands its usefulness is rather dubious: the user could just as > easily type the extra & at the end. Could someone remind me what were > the arguments for adding it? What are the expected use-cases and > planned improvements? Sure, in its current state it is useless. That's why I said it is just a starting point for adding more options relevant only for asynchronous commands. These options include using M-& as an application launcher that will allow automatic creation of multiple *Async Shell Command* buffers, deciding whether to display the output buffer for GUI apps or not, etc. -- Juri Linkov http://www.jurta.org/emacs/