Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Enhancing math expressions a bit
- X-seq: zsh-workers 7010
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Enhancing math expressions a bit
- Date: Wed, 7 Jul 1999 15:23:48 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Wed, 07 Jul 1999 14:29:34 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> I changed them a bit to make them presentable, so here's what I actually
> put in Functions/Zle. I hope I've deciphered the behaviour OK --- does the
> incremental_completer really work yet?
I had planned to add some comments when they are stored in files
anyway.
The incremental completer does work for me and the completion
configuration I have. Due to Andrej's comment I also tried it with
`zsh -f' and the new completion system and there it worked,
too. However, I haven't tested everything (of course) and did only
very cursory testing without the new completion system. Also there may
be other things we might want to make configurable... (this started as
a play, after all).
Btw. if we once make auto-autoloading generic, we probably want to do
the same for configuration? With online-documentation a la run-help?
With registration of configuration keys (so that we can complete them)?
> Comments on behaviour:
>
> - <TAB> in i-c-w should probably cause the function to exit if it
> gets a unique completion. (Note menucompletion is now explicitly
> turned off inside the function.)
Yes, maybe. We'll then need a way to find that out, though. And we
probably should make it user-configurable since now you can just
happily go on typing multiple words and from time to time hit TAB when
the list says that it may be interesting. This also suggests another
enhancement: let it play together with the new completion system so
that that gives i-c-w information about the unambiguous string. i-c-w
could then display that in the prompt or something (and draw attention
toward it if there is something the code could insert automatically).
> - a left parenthesis typed in insert-files is causing the whole function to
> crash; probably also nobadpattern needs to be set inside (I have it
> set all the time).
Yes, I used this only to test the list-display-stuff. I've no idea if
and when this may be interesting to have.
> # incremental_completer Name of completion widget to call to get choices
Nay, it's the list of completers to give to _main_complete.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author