emacs-languagetool / flymake-languagetool

Flymake support for LanguageTool
GNU General Public License v3.0
33 stars 11 forks source link

Not working using LangTool from Arch repos #18

Closed fabcontigiani closed 8 months ago

fabcontigiani commented 8 months ago

Hi! I'm running Arch Linux, after installing LanguageTool with the package manager sudo pacman -S languagetool I had no luck making this package work with my config, so I decided to try with a clean Emacs.

I run emacs -Q and evaluated the following:

(require 'package)
(add-to-list 'package-archives '("MELPA" . "http://melpa.org/packages/"))
(package-initialize)

(use-package flymake-languagetool
  :ensure t
  :hook ((text-mode       . flymake-languagetool-load)
         (latex-mode      . flymake-languagetool-load)
         (org-mode        . flymake-languagetool-load)
         (markdown-mode   . flymake-languagetool-load))
  :init
  (setq flymake-languagetool-server-jar "/usr/share/java/languagetool/languagetool-server.jar"))

Then opening the example.org file from this repo and M-x flymake-mode I get no errors/suggestions.

Found a similar issue from another package.

fabcontigiani commented 8 months ago

Can confirm that downloading the latest version from dev.languagetool.org works just fine. So I guess is an issue with how it is packaged in the Arch repos. Feel free to close the issue if you consider it is not worth entertaining a fix/tweak.

jcs090218 commented 8 months ago

Thanks for the report! I don't use Arch Linux, so I don't know how the languagetools has been packaged over there. I'm closing this issue since it's the packaging bug from the Arch Linux’s side.