help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Asynchronous commands with eshell-command


From: Sebastian Tennant
Subject: Re: Asynchronous commands with eshell-command
Date: Tue, 27 Jan 2009 18:55:05 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Quoth Thierry Volpiatto <thierry.volpiatto@gmail.com>:
> Sebastian Tennant <sebyte@smolny.plus.com> writes:
>
>> Quoth Michael Heerdegen <michaelh@minet.uni-jena.de>:
>>> Does anybody know how to start external commands asynchronously with
>>> `eshell-command'? I tried `xterm &' for example, which works but also
>>> raises an error.
>>>
>>> The source code seems to support the asynchronous case, but I don't
>>> know what to type.
>>
>> Where's Thierry Volpiatto when you need him :)
>
> I am here again!

Great :)

> But i am not a specialist of eshell, just a user that use always
> eshell-command instead of shell-command (M-!) because it's much more
> powerful: It accept elisp code, shell code, the both mixed, alias, all
> completion and more.

The fact it is so powerful is what puts me off.  I can sees days, and
even weeks, disappearing as I get more and more into it :)

> But if you want to make more complex async commands, why not creating
> a specialized function using start-process/start-process-shell-command
> with another sentinel-function that use set-process-sentinel ?

Hmm... like interactive-asynchronous-shell-command? :)

 http://article.gmane.org/gmane.emacs.sources/3147

I suspect Michael knows all about these kinds of methods and is being a
little braver than I am in starting to explore the capabilities of
eshell.

Seb
-- 
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap





reply via email to

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