Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: a plan for ZLE extendability



Zefram wrote:
> The syntax I am currently leaning towards would have
> 
> zle -h
> 
> to push a special thingy, {h}iding the rest of the stack; normal
> thingies could also be specified, so
> 
> zle -h get-key
> 
> would push a special thingy and then push and execute get-key.  The
> result would be the key read as the only visible thingy on the stack;
> after that had been popped, the special thingy could be popped.  Is
> this close enough to what you had in mind?

Yup, from the user point of view that's pretty much how I was
thinking.

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



Messages sorted by: Reverse Date, Date, Thread, Author