From: Juri Linkov <juri@linkov.net>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: async-shell-command and prefix argument
Date: Sat, 19 Jan 2019 23:19:19 +0200 [thread overview]
Message-ID: <87won0fia8.fsf@mail.linkov.net> (raw)
In-Reply-To: <871s5dt3cj.fsf@mbork.pl> (Marcin Borkowski's message of "Wed, 16 Jan 2019 09:26:52 +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?
Does C-u already mean inserting the output in the current buffer?
Maybe then you could use e.g. M-0 prefix arg?
next prev parent reply other threads:[~2019-01-19 21:19 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
2019-01-19 21:19 ` Juri Linkov [this message]
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=87won0fia8.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mbork@mbork.pl \
/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).