diff options
Diffstat (limited to 'assets/2026-02-03-languagetool-emacs.txt')
| -rw-r--r-- | assets/2026-02-03-languagetool-emacs.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/assets/2026-02-03-languagetool-emacs.txt b/assets/2026-02-03-languagetool-emacs.txt new file mode 100644 index 0000000..10431d9 --- /dev/null +++ b/assets/2026-02-03-languagetool-emacs.txt @@ -0,0 +1,37 @@ +LanguageTool - Grammar Checker for Emacs +======================================== + +REQUIREMENT +----------- +LanguageTool is used by Emacs for on-demand grammar checking in prose +files (org-mode, markdown, text-mode). It integrates with Flycheck to +provide comprehensive grammar and style suggestions. + +USAGE IN EMACS +-------------- +- Press C-; ? in an org buffer to run grammar check +- Errors appear in the *Flycheck errors* buffer +- Catches issues like "This are wrong" -> "This is wrong" + +INSTALLATION +------------ +Arch Linux: + sudo pacman -S languagetool + +Note: This will also install a Java runtime (JDK) as a dependency, +approximately 900 MB total. + +VERIFICATION +------------ +After installation, verify with: + languagetool --version + +FILES +----- +- ~/.emacs.d/modules/flycheck-config.el (Flycheck integration) +- ~/.emacs.d/scripts/languagetool-flycheck (Python wrapper script) +- ~/.emacs.d/tests/test-flycheck-languagetool-setup.el (Unit tests) +- ~/.emacs.d/tests/test-integration-grammar-checking.el (Integration tests) + +The wrapper script converts LanguageTool's JSON output to Flycheck's +expected format (filename:line:column: message). |
