From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] Add CORRECT_IGNORE_NAME for file names pattern ignored during CORRECT_ALL
Date: Fri, 25 Apr 2014 17:09:21 +0100 [thread overview]
Message-ID: <20140425170921.2cc4668c@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <140425090149.ZM12281@torch.brasslantern.com>
On Fri, 25 Apr 2014 09:01:49 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Apr 24, 6:05pm, Tomoki Sekiyama wrote:
> }
> } When CORRECT_ALL is enabled, spell checking for file names may suggest
> } unwanted correction for command arguments.
> }
> } With this patch, we can avoid this by set CORRECT_IGNORE_NAME shell variable
> } to '.*', that means dotfile names shouldn't be suggested.
>
>
> No particular argument against this except the usual recent one about
> continuing to clutter up the parameter namespace.
>
> I do wonder if CORRECT_IGNORE_FILE or CORRECT_ALL_IGNORE or even
> CORRECT_FIGNORE might be better names for the shell variable. Opinions?
I was going to suggest CORRECT_IGNORE_FILE, or maybe even
ZSH_CORRECT_IGNORE_FILE to use the pseudo-namespace we've got with many
recent parameters (making them inconsistent with older ones).
pws
next prev parent reply other threads:[~2014-04-25 16:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 22:05 Tomoki Sekiyama
2014-04-25 16:01 ` Bart Schaefer
2014-04-25 16:09 ` Peter Stephenson [this message]
2014-04-28 14:11 ` [PATCH] Add CORRECT_IGNORE_FILE " Tomoki Sekiyama
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=20140425170921.2cc4668c@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.org \
/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).