Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
nocorrect deduced from completion list?
- X-seq: zsh-workers 9110
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: nocorrect deduced from completion list?
- Date: Fri, 17 Dec 1999 17:47:16 +0000
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
This may be a totally unrealistic idea, but in principle it works
nicely (I think):
How about an option which intercepts command-line processing just
before spelling correction is invoked, and checks whether the word
under suspicion of incorrect spelling belongs to the list of
completions for that context? E.g.
% perldoc -f pos
zsh: correct 'pos' to 'os' [nyae]? n
would never happen, because `pos' is in the list of completions in the
:complete::perldoc::-f-1 context. It might slow things down too much
for some people's tastes, but would it be worth implementing anyway?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author