Comments (7)
Did you tried to pass the absolute path to the .jar
file? without using the alias ~
.
Worked for me without issues.
from emacs-langtool.
The following works for me.
(require 'langtool)
(if (file-exists-p "/LanguageTool-3.4/")/LanguageTool-3.4/languagetool-commandline.jar"))
(setq langtool-language-tool-jar "
(global-set-key "\C-x4w" 'langtool-check)
(global-set-key "\C-x4W" 'langtool-check-done)
(global-set-key "\C-x4l" 'langtool-switch-default-language)
(global-set-key "\C-x44" 'langtool-show-message-at-point)
(global-set-key "\C-x4c" 'langtool-correct-buffer)
(setq langtool-default-language "en-US")
(setq langtool-mother-tongue "en")
railwaycat emacs port + melpa version of langtool
from emacs-langtool.
@yanivdll I had the same problem with it recently. My solution was to include /org
, /libs
and /META-INF
along with the languagetool-commandline.jar
. I thought the jar file was enough but it also needed those libraries to be beside it as well.
from emacs-langtool.
Thanks @FrancisMurillo. Where exactly did you put those references to /org
, /libs
and /META-INF
?
from emacs-langtool.
@yanivdll It is just the same as the extracted zip with only those files. The search path is where the languagetool-commandline.jar
is.
(setq langtool-language-tool-jar (expand-file-name "languagetool-commandline.jar" "~/.local/lib/LanguageTool-3.6") langtool-java-classpath nil)
The extracted and simplified ~/.local/lib/LanguageTool-3.6
contents
languagetool-commandline.jar
libs
META-INF
org
from emacs-langtool.
I just created a pull request on the readme where I added the info found here. I had the same issue. Thank you for the help @FrancisMurillo.
from emacs-langtool.
FWIW languagetool is available from homebrew, and might be a nicer way to install on macos.
from emacs-langtool.
Related Issues (20)
- Finalize check when all errors are done
- Feature: Enable using the web version of the language tool. HOT 3
- highlight different categories with different color?
- Langtool with Emacspeak
- Problems displaying special characters in the tips
- Question: check region HOT 1
- How do I correct word at point? HOT 3
- A possible way to integrate with LaTeX HOT 2
- why langtool-check only highlight the grammar error but ignore the spell error HOT 1
- How can I install latest version of LanguageTool? HOT 1
- Langtool exiting abnormally after languagetool update from 5.5-2 to 5.6-1 HOT 1
- langtool doesn't seem to handle emails very well.
- User defined ignore-list for words HOT 1
- Use a buffer-local variable for the buffer’s language HOT 2
- Allow running languagetool in a docker HOT 2
- Adding langtool to NonGNU ELPA HOT 1
- No longer maintained? HOT 2
- Offset off when non-BMP characters are in the document
- API features
- langtool-server--ensure-running doesn't work for languagetool installed with package manager
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 emacs-langtool.