[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: eshell and external commands
From: |
Chong Yidong |
Subject: |
Re: address@hidden: eshell and external commands |
Date: |
Thu, 09 Aug 2007 11:58:00 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
John Wiegley <address@hidden> writes:
> Chong Yidong <address@hidden> writes:
>
>> The following patch fixes this. However, maybe it is too drastic
>> because it imposes the use of eshell-eval-command on *every* build-in
>> command.
>
> This is how Eshell used to behave. It's is a bit drastic, because
> eshell-eval-command is much, much slower than plain eval.
I thought so at first, but after trying out, I don't notice any
observable slowdown for using eshell-eval-command for the eshell/*
lisp commands.
> I'm prefer to find a fix which preservers the faster behavior for all cases
> except those which break.
Another simple possibility is to make the code that falls back on
external commands perform eshell/wait on the external process, but
this has obvious drawbacks too.
I don't know how to hack the code to implement the deferment behavior
for "fallback to external programs" commands. Do you have an idea how
to do it?