From a4f57ffcf960345d44e01cc01a62d2b9d78d0a41 Mon Sep 17 00:00:00 2001 From: mms Date: Wed, 3 Jul 2024 23:55:34 +0200 Subject: feat --- mms-ox-publish.org | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) (limited to 'mms-ox-publish.org') diff --git a/mms-ox-publish.org b/mms-ox-publish.org index fd1847a..555dcd4 100644 --- a/mms-ox-publish.org +++ b/mms-ox-publish.org @@ -90,26 +90,30 @@ Finally, I want to have quick access * Language tool #+begin_src emacs-lisp - (use-package languagetool - :ensure t - :commands (languagetool-check - languagetool-clear-suggestions - languagetool-correct-at-point - languagetool-correct-buffer - languagetool-set-language - languagetool-server-mode - languagetool-server-start - languagetool-server-stop) - :config - (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8") - languagetool-java-bin "doas" - languagetool-console-command "/root/ltex/languagetool-commandline.jar" - languagetool-console-arguments '("--languagemodel" "/var/ngrams/" "-l" "en-US") - languagetool-server-command "/root/ltex/languagetool-server.jar")) - - (defun languagetool-console-command-exists-p () t ) + (use-package languagetool + :ensure t + :commands (languagetool-check + languagetool-clear-suggestions + languagetool-correct-at-point + languagetool-correct-buffer + languagetool-set-language + languagetool-server-mode + languagetool-server-start + languagetool-server-stop) + :config + ;; (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8") + ;; languagetool-java-bin "doas" + ;; languagetool-console-command "/root/ltex/languagetool-commandline.jar" + ;; languagetool-console-arguments '("--languagemodel" "/var/ngrams/" "-l" "en-US") + ;; languagetool-server-command "/root/ltex/languagetool-server.jar") + + + (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8") + languagetool-server-urls "http://languagetool.org") + :init + (defun languagetool-console-command-exists-p () t )) #+end_src #+RESULTS: -: languagetool-console-command-exists-p +: [nil 26245 23595 987957 nil elpaca-process-queues nil nil 111999 nil] -- cgit v1.2.3