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: Re: async-shell-command and prefix argument Date: Wed, 16 Jan 2019 09:26:52 +0100 Message-ID: <871s5dt3cj.fsf@mbork.pl> References: <87bm4jnevo.fsf@mbork.pl> <83zhs1ddxw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547627207 22275 195.159.176.226 (16 Jan 2019 08:26:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2019 08:26:47 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 16 09:26:43 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 1gjgX4-0005dn-Ms for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2019 09:26:42 +0100 Original-Received: from localhost ([127.0.0.1]:47726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjgZB-0004Oj-J6 for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2019 03:28:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjgYT-0004Od-Sq for emacs-devel@gnu.org; Wed, 16 Jan 2019 03:28:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjgYS-0003m9-QB for emacs-devel@gnu.org; Wed, 16 Jan 2019 03:28:09 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:53480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjgYQ-0002Vg-Sb; Wed, 16 Jan 2019 03:28:07 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id D3043E6C1E; Wed, 16 Jan 2019 09:27:51 +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 wyk5J3RtV0qW; Wed, 16 Jan 2019 09:27:46 +0100 (CET) Original-Received: from localhost (83.25.93.162.ipv4.supernova.orange.pl [83.25.93.162]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 096D9E673F; Wed, 16 Jan 2019 09:27:44 +0100 (CET) In-reply-to: <83zhs1ddxw.fsf@gnu.org> 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:232382 Archived-At: On 2019-01-15, at 18:32, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Date: Mon, 14 Jan 2019 21:49:47 +0100 >> >> 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? > > Is something wrong with customizing async-shell-command-display-buffer? > I have it set to nil for quite some time. Would it help for this use-case? That is, make the output buffers disappear (even in the presence of some output), but not if a prefix argument is used? Best, -- Marcin Borkowski http://mbork.pl