mhayashi1120 / Emacs-langtool

LanguageTool for Emacs
GNU General Public License v3.0
378 stars 31 forks source link

Not working in emacs 24 #7

Closed sjbalaji closed 10 years ago

sjbalaji commented 10 years ago

It doesn't seem to work on emacs24 with the latest version of LangTool. Some times it shows "LanguageTool finished with code 1"

I have installed java 1.7 and the LangTool works fine in server mode setting with TexStudio.

mhayashi1120 commented 10 years ago

It doesn't seem to work on emacs24 with the latest version of LangTool.

It seems working on my environment.

LanguageTool-2.4

java -version

java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

You may need change langtool-language-tool-jar variable "languagetool.jar" to "languagetool-commandline.jar" .

Otherwise, please give me more specific to solve the problem.

sjbalaji commented 10 years ago

I am using LanguageTool-2.4 I have modified the variable to languagetool-commandline.jar It doesn't show the spelling mistakes. Is it included in language tool ? My java version java version "1.7.0_51" OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode.

How can I see if the buffer being passed to the language tool and the output from it ?

sjbalaji commented 10 years ago

Hey sorry for the trouble. It seems to work now.