unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: async-shell-command and prefix argument
Date: Wed, 16 Jan 2019 09:26:52 +0100	[thread overview]
Message-ID: <871s5dt3cj.fsf@mbork.pl> (raw)
In-Reply-To: <83zhs1ddxw.fsf@gnu.org>


On 2019-01-15, at 18:32, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Marcin Borkowski <mbork@mbork.pl>
>> 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



  reply	other threads:[~2019-01-16  8:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14 20:49 async-shell-command and prefix argument Marcin Borkowski
2019-01-15 17:32 ` Eli Zaretskii
2019-01-16  8:26   ` Marcin Borkowski [this message]
2019-01-19 21:19     ` Juri Linkov
2019-01-20  3:40       ` Eli Zaretskii
2019-01-20  5:10         ` Marcin Borkowski
2019-01-20 15:39           ` Eli Zaretskii
2019-01-20 20:26             ` Marcin Borkowski
2019-01-21 15:54               ` Eli Zaretskii
2019-01-24 17:32                 ` Marcin Borkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871s5dt3cj.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).