emacs-devel
[Top][All Lists]
Advanced

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

Re: & and M-& to run programs asynchronously


From: Chong Yidong
Subject: Re: & and M-& to run programs asynchronously
Date: Thu, 31 Jul 2008 10:07:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> I suppose the next step is to do the same for async-shell-command and
>> bind it to M-& That's in simple.el. A function can read the user's
>> input, add "&", and pass the command to shell-command.
>
> This can be done with the following patch that adds a new command
> `async-shell-command'.  I also noticed that code that sets
> `minibuffer-default-add-shell-commands' could be moved from the
> interactive spec of `shell-command' to `read-shell-command' so this
> feature will be available for all functions that read a shell command
> from the minibuffer (including a new command `async-shell-command').

This is not such a trivial change, since M-& is bound elsewhere in a
couple of modes.  Let's leave this for after the release.




reply via email to

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