[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: async-shell-command and prefix argument

From: Juri Linkov
Subject: Re: async-shell-command and prefix argument
Date: Sat, 19 Jan 2019 23:19:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>>> 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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]