zsh-workers
 help / color / mirror / code / Atom feed
From: Adam Spiers <adam@spiers.net>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: nocorrect deduced from completion list?
Date: Fri, 17 Dec 1999 17:47:16 +0000	[thread overview]
Message-ID: <19991217174716.A10366@thelonious.new.ox.ac.uk> (raw)

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?


             reply	other threads:[~1999-12-17 17:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-17 17:47 Adam Spiers [this message]
2000-01-04  9:32 Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19991217174716.A10366@thelonious.new.ox.ac.uk \
    --to=adam@spiers.net \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).