diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-05 00:20:37 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-05 00:20:37 -0600 |
| commit | 62e006aa68df78c681cc3fa0450538c594324ed4 (patch) | |
| tree | d3356cd256ec8a5eec19502b2a14ef6b618abc65 /assets/2026-02-03-languagetool-emacs.txt | |
| parent | 9a05b1849d5dab94b499c82acc60cea0a2e6805e (diff) | |
| download | archsetup-62e006aa68df78c681cc3fa0450538c594324ed4.tar.gz archsetup-62e006aa68df78c681cc3fa0450538c594324ed4.zip | |
chore(assets): archive processed inbox items
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). |
