New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xt/aspell.t - aspell issue #975
Comments
Sorry, this is confusing. What's the current status? |
No change. We have words whitelisted in xt/ that don’t need to be because of the bug in the test. |
Do we need to use |
And improves docs of aspell.t trying to deal with #975
I don't think aspell is developed any more. There are lots of issues, including this one, which is clearly a bug. I have checked that particular line with hunspell, and there's no problem with it... However there are lots of problems with lots of other words which are not in the hunspell dictionary, apparently. Maybe it's not using the local dictionary; I'll have to check that. |
Since we are "awk"'ing the text anyway, we could maybe awk \ and : out of the text... |
I see that what is being done now as a workaround is simply add those words to the personal dictionary. |
This has been broken since 6a69c0b (May 2018); awk's `gsub` returns the replacement count, not the substituted string, so we were spellchecking integers rather than doc content. This commit also drops deletion of `:` to prevent numerous false positives from type smilies. Backslash is still stripped per #975.
I've been looking into the issue reported by @coke in #2615. It seems that the current my $fixer = Proc::Async.new('awk', 'BEGIN {print "!"} {gsub("\\\\","",$0); print "^" $0}', $input-file); ought to read my $fixer = Proc::Async.new('awk', 「BEGIN {print "!"} {gsub("\\\\","",$0); print "^" $0}」, $input-file); otherwise we're feeding gsub
Those are from Thoughts? |
Also, I believe
We probably want |
Gave this some more thought; the above PR is the best I can muster at the moment. |
Workaround for aspell backslash escaping issues (#975).
Why all the opening and closing? |
aspell is convinced that doc/Language/grammars.pod6 has an spelling mistake here:
and doc/Language/operators.pod6 with:
and reports 'ull', and 'ffix' as mispelled words. For now, we're skipping them to silence the spell checker, but we should fix our aspell invocation to avoid the issue and remove them from the skiplist. (currently on spellcheck branch, moving to master shortly)
The text was updated successfully, but these errors were encountered: