From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: async-shell-command and prefix argument Date: Mon, 14 Jan 2019 21:49:47 +0100 Message-ID: <87bm4jnevo.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547498971 2344 195.159.176.226 (14 Jan 2019 20:49:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2019 20:49:31 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 14 21:49:27 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gj9Al-0000Ug-DW for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2019 21:49:27 +0100 Original-Received: from localhost ([127.0.0.1]:52605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj9Cs-0002Ij-1W for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2019 15:51:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj9Bz-0002Ic-KJ for emacs-devel@gnu.org; Mon, 14 Jan 2019 15:50:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj9Bx-0000tu-Od for emacs-devel@gnu.org; Mon, 14 Jan 2019 15:50:43 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:52924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj9Bv-0000rI-Oc for emacs-devel@gnu.org; Mon, 14 Jan 2019 15:50:39 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8F061E673F for ; Mon, 14 Jan 2019 21:50:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FAPlJZrSo9qZ for ; Mon, 14 Jan 2019 21:50:29 +0100 (CET) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 9BF42E64BC for ; Mon, 14 Jan 2019 21:50:29 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.110.48.8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232347 Archived-At: Hi all, almost three years ago I wrote a blog post about `async-shell-command'. I wrote that I'm going to ask this on emacs-devel and (unfortunately) I seemingly forgot about it. I was reminded about this last week, so I'm doing it now. Basically, the post explains most of my problem: http://mbork.pl/2016-04-12_Showing_some_of_those_Async_Shell_Command_buffers and an (extremely hackish) solution. Since the prefix argument to `async-shell-command' is pretty useless, I would like it to make the output window disappear (or appear, whichever is the saner default, possibly decided by some variable). Does such an idea make sense? Should I file a feature request? Best, -- Marcin Borkowski http://mbork.pl