From: Miles Bader <miles@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: Daniel Clemente <dcl441-bugs@yahoo.com>,
Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel@gnu.org
Subject: Re: & and M-& to run programs asynchronously
Date: Wed, 01 Jul 2009 10:03:26 +0900 [thread overview]
Message-ID: <buoy6r9kye9.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <87zlbps06o.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 01 Jul 2009 03:02:55 +0300")
Juri Linkov <juri@jurta.org> writes:
>> As it stands its usefulness is rather dubious: the user could just as
>> easily type the extra & at the end. Could someone remind me what were
>> the arguments for adding it? What are the expected use-cases and
>> planned improvements?
>
> Sure, in its current state it is useless. That's why I said
> it is just a starting point for adding more options relevant only
> for asynchronous commands. These options include using M-& as an
> application launcher that will allow automatic creation of
> multiple *Async Shell Command* buffers, deciding whether to
> display the output buffer for GUI apps or not, etc.
I agree -- a separate command feels much cleaner to me than insisting
the user type "&" at the end of the command. The "&" syntax is a nice
_add-on_ hack for people used to using a shell, but it shouldn't be the
primary method of invocation for background apps.
I personally would often like to use emacs to launch GUI apps, rather
than needing to use a shell or search through menus.
In general, the current Emacs support for asynchronous apps seems quite
clumsy. I usually don't want the "*Async Shell Command*" output buffer,
or at least, don't want to see it unless there's actually some
output... (which there usually isn't). The current restriction to a
single background app is simply dumb.
Fixing those problems isn't necessarily connected with having a
separate command -- both forms of invocation should benefit -- but the
dedicated command still seems a much nicer interface to me
-Miles
--
Philosophy, n. A route of many roads leading from nowhere to nothing.
next prev parent reply other threads:[~2009-07-01 1:03 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 8:13 Short explanation for & in key ! of dired Daniel Clemente
2008-06-23 9:24 ` David Kastrup
2008-06-23 9:31 ` Miles Bader
2008-06-24 23:05 ` Juri Linkov
2008-06-25 6:51 ` joakim
2008-06-25 6:59 ` Miles Bader
2008-06-25 7:10 ` David Kastrup
2008-06-25 7:15 ` David Kastrup
2008-06-25 8:19 ` joakim
2008-06-25 8:30 ` Miles Bader
2008-06-25 8:44 ` joakim
2008-06-25 16:14 ` Paul R
2008-06-26 12:04 ` Lynbech Christian
2008-06-26 12:10 ` David Kastrup
2008-06-26 22:46 ` Phil Jackson
2008-06-27 23:30 ` Juri Linkov
2008-06-28 1:04 ` Miles Bader
2008-06-28 19:47 ` Juri Linkov
2008-06-25 18:03 ` Mathias Dahl
2008-06-25 18:52 ` Stefan Monnier
2008-07-03 11:34 ` & and M-& to run programs asynchronously (was: Re: Short explanation for & in key ! of dired) Daniel Clemente
2008-07-03 11:45 ` & and M-& to run programs asynchronously David Kastrup
2008-07-06 18:54 ` Juri Linkov
2008-07-06 19:41 ` David Kastrup
2008-07-07 22:12 ` Juri Linkov
2008-07-08 0:37 ` Miles Bader
2008-07-08 23:07 ` Juri Linkov
2008-07-09 5:30 ` Edward O'Connor
2008-07-09 20:35 ` Juri Linkov
2008-07-09 20:39 ` Edward O'Connor
2008-07-06 18:57 ` Juri Linkov
2008-07-16 18:46 ` Daniel Clemente
2008-07-17 0:33 ` Juri Linkov
2008-07-18 9:20 ` Daniel Clemente
2008-07-19 0:27 ` Juri Linkov
2008-07-22 19:50 ` Mathias Dahl
2008-07-22 22:48 ` Juri Linkov
2008-07-29 14:53 ` Daniel Clemente
2008-07-29 16:51 ` Juri Linkov
2008-07-31 14:07 ` Chong Yidong
2008-07-31 15:30 ` Juri Linkov
2008-08-18 0:24 ` Daniel Clemente
2008-08-25 19:52 ` Juri Linkov
2008-08-28 17:33 ` Daniel Clemente
2008-08-29 5:59 ` tomas
2008-09-10 23:57 ` Juri Linkov
2009-10-14 0:47 ` Daniel Clemente
2008-09-06 17:10 ` Daniel Clemente
2008-09-10 23:52 ` Juri Linkov
2008-11-15 13:13 ` Daniel Clemente
2008-11-15 16:12 ` Chong Yidong
2009-06-28 9:51 ` Daniel Clemente
2009-06-28 21:52 ` Juri Linkov
2009-06-29 16:52 ` Daniel Clemente
2009-06-30 0:02 ` Juri Linkov
[not found] ` <jwvljn91ns5.fsf-monnier+emacs@gnu.org>
2009-06-30 20:19 ` Lennart Borgman
2009-07-01 0:02 ` Juri Linkov
2009-07-01 1:03 ` Miles Bader [this message]
2009-07-02 23:27 ` Juri Linkov
2009-07-05 19:42 ` Fernando
2009-07-06 23:51 ` Juri Linkov
2009-07-07 10:02 ` Jan Djärv
2009-07-01 15:03 ` Stefan Monnier
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=buoy6r9kye9.fsf@dhlpc061.dev.necel.com \
--to=miles@gnu.org \
--cc=dcl441-bugs@yahoo.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=monnier@iro.umontreal.ca \
/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).