Zsh Mailing List Archive
Messages sorted by:
Re: bug in 3.1.4 completion
- X-seq: zsh-workers 4545
- From: greg@xxxxxxxxxxxxx (Greg Klanderman)
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: bug in 3.1.4 completion
- Date: Wed, 4 Nov 1998 19:32:27 -0500 (EST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx, greg@xxxxxxxxxxxxx
- In-reply-to: <199811040904.KAA29172@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <199811040904.KAA29172@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: greg@xxxxxxxxxxxxx
>>>>> "Sven" == Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
Sven> greg@xxxxxxxxxxxxx wrote:
Thanks for the patch, I'll try it with 3.1.5 after you follow up
to Bart's question.
>> [how to improve complete-in-word]
Sven> That would be expand-or-complete-prefix with a little hacking (the remove-
Sven> the-matched-prefix-of-the-suffix part), not too hard.
OK, I implemented it as a shell function and it works nicely.
I'm having a suffix removal problem but that might be fixed
by your patch.
>> While I'm on little nits, it would be nice if the FIGNORE variable
>> were not used when listing completions:
Sven> I'm not too sure about this one, since C-d should list the completions
Sven> and if there are other matching files the ignored ones aren't
Sven> completions. If there are no other files fignore will be ignored and
Sven> the files will be listed. I could be convinced to list the ignored
Sven> files separately (this indeed may make sense).
I believe tcsh works as I suggest. Not that that's a good reason
to change, but it makes sense to me that if you're listing
completions, that you be shown everything that matches what you've
typed so far, because then you can get to an otherwise ignored file if
you want. This is pretty minor, I'm not going to argue it.
Sven> We got many requests for this. For 3.1.5 there is a proposed patch
Sven> that adds a generic way to control the matching behavior of
Sven> completion. With this you can get case-insensitive completion, partial
Sven> word completion and several other things.
I'll look for it sometime in the future...
Hey, one more minor suggestion - if you abort a command you're typing
(C-c or C-g) it'd be nice to indicate that on the aborted line so it
doesn't look like you actually executed it. Csh prints "^C" at the
end of the line, for example.
Messages sorted by: