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

Re: es globbing



> I have been trying to get es-0.84 to compile on our Cray C-90

can't help you with that, sorry.

> On an unrelated note:  I have read mention of people wishing to replace a couple of the globbing functions available (from the es 
> archives).  Has anyone ever thought of having a well-known list of globbing functions that are called in order and replacable.  
> For example:
> 
>     glob-list=( expand-tilde my-personal-regexp file-name-glob )
> 
> So, during future parsings, the builtin function expand-tilde will be called
> on the un-parsed command line first, followed by my-personal-regexp, followed by the builtin file-name-glob functions?
> 
> Just an idea.

And a good one at that. Of course, if es had a %glob, then you could spoof it to
do this yourself, but I agree that it would be nice to have the innards of the
globber exposed through more than one function.

The problem is that revealing the globber is a lot of work, because of the
way es has been implemented. globbing is done in order to derive the list
of arguments for function evaluation, rather than the other way around.
I don't see this change happening without a major es revision.

steve