all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <jwiegley@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: async-shell-command
Date: Mon, 18 Apr 2016 17:47:36 -0700	[thread overview]
Message-ID: <m2inzemnkn.fsf@newartisans.com> (raw)
In-Reply-To: <87k2jubsih.fsf@mbork.pl> (Marcin Borkowski's message of "Mon, 18 Apr 2016 21:56:22 +0200")

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

>>>>> Marcin Borkowski <mbork@mbork.pl> writes:

> That sounds interesting. What if the command ends with "!" alone? Should it
> be synchronous and silent? (I guess not.)

That doesn't seem to make a lot of sense, does it...

> John, would you like me to explore this idea further and try to come up with
> a patch? Are there any other ideas for the UI?

I'm not sure about changing these functions in core Emacs. I can think of
still other behaviors (like not showing the async output buffer until there is
output to display). Rather than changing these venerable commands, it might be
better to explore the UI possibilities in an add-on (using advice, maybe?) for
the time being.

Or maybe the concept the "execute but hide the buffer" should just be a new
command, provided by an ELPA package that offers more options related to
executing shell commands from the minibuffer?

> Also, I'm pretty sure that the current meaning of the prefix argument for
> `async-shell-command' /must/ be documented - it is far from obvious, and can
> be learned only from careful reading of the code. I'm going to prepare such
> a patch for docs (both the docstring and the manual) first.

Yes, it should definitely be documented.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 629 bytes --]

  parent reply	other threads:[~2016-04-19  0:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-16  7:54 async-shell-command Marcin Borkowski
2016-04-16 20:44 ` async-shell-command John Wiegley
2016-04-18 19:56   ` async-shell-command Marcin Borkowski
2016-04-18 20:09     ` async-shell-command Drew Adams
2016-04-19  0:47     ` John Wiegley [this message]
2016-04-19 20:30       ` async-shell-command 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

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

  git send-email \
    --in-reply-to=m2inzemnkn.fsf@newartisans.com \
    --to=jwiegley@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.