Comments (4)
I've updated config to this:
(setq-default wcheck-language "Default"
wcheck-language-data '(("Default"
(program . "spellcheck")
(args "-l")
(action-program . "spellcheck")
(action-args "-a")
(action-parser . wcheck-parser-ispell-suggestions)
(read-or-skip-faces
((emacs-lisp-mode c-mode c++-mode python-mode)
read font-lock-comment-face
)
(org-mode
skip org-block-begin-line org-block-end-line org-meta-line org-link
)
(nil)
)
)
)
and made small hunspell/enchant wrapper bash script to be sure that settings are identical with both:
#!/usr/bin/env bash
export DICPATH="${HOME}/.emacs.d/share/dict"
exec hunspell -d en_US "${@}"
So replacing hunspell with enchant makes wcheck to work properly, while using script directly in shell:
➤ spellcheck -l
next wrd is invalid
wrd
leads to the identical output.
From another side: i've tried hunspell with flyspell-mode and it works as expected (looks like it is not hunspell issue), but i want to make wcheck with hunspell to work properly.
Any suggestions?
from wcheck-mode.
Resolved. Need set connection type to 'pty with hunspell. Closing.
from wcheck-mode.
Thanks for your studies anyway. Yes, I have heard this before from another Hunspell user that PTY connection type works.
from wcheck-mode.
Maybe need to mention that use case in README? One line will be enough.
from wcheck-mode.
Related Issues (13)
- please provide fully functional "add word to dictionary" code snippet in README.org HOT 2
- Wish: Add hook for the situation when an incorrect word is detected HOT 1
- Any other way to show `action-parser` suggestions HOT 4
- Possible to support aspell directly? HOT 1
- Allow/document the ability to exclude URLs and other word patterns from spell-checking HOT 1
- [request] flyspell-correct-wrapper function in Wcheck
- emacs 24: aborting suggestions menu leaves an additional window HOT 1
- For the "add to dictionary" function in the readme, document how to force a rescan of the buffer HOT 1
- Correctness of the British English example HOT 1
- Buffer-local dictionaries
- Problem with apostrophe in Ukrainian HOT 2
- read-or-skip-faces ignores which modes inherit from others HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wcheck-mode.