Skip to content

Commit

Permalink
Release version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PillFall committed Jun 11, 2021
2 parents 531ab81 + 6000d5f commit 21ad874
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 119 deletions.
14 changes: 13 additions & 1 deletion ChangeLog.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Change Log
Joar Buitago <jebuitragoc@unal.edu.co>
v0.3.0, 2020-01-21
v0.4.0, 2020-01-21

All notable changes to this project will be documented in this file.

Expand All @@ -13,6 +13,18 @@ link:https://semver.org/spec/v2.0.0.html[Semantic Versioning].

== [Unreleased]

== [0.4.0]
=== Added
* LanguageTool Server Mode has a delay of two secconds before checking
the buffer when idle. (Close #2)
* LanguageTool Server Mode better support for external servers.

=== Changed
* `languagetool-clear-buffer` now recheck the buffer when LanguageTool
Server Mode is active
* LanguageTool Server Mode check every time it attemps to first
connect to a server.

== [0.3.0]
=== Added
* Support to LanguageTool HTTP server mode, and correction in real time.
Expand Down
37 changes: 21 additions & 16 deletions ReadMe.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= languagetool.el
Joar Buitago <jebuitragoc@unal.edu.co>
v0.3.0, 2020-01-21
v0.4.0, 2020-01-21

[.text-center]
--
Expand Down Expand Up @@ -28,22 +28,23 @@ supports more than 30 languages.
The first thing you need is *Java*, so download and install it.

You also need to download
*link:https://languagetool.org/[LanguageTool] Desktop Version* from
its official page.
*link:https://languagetool.org/download/[LanguageTool]* from its
official page.

After download, extract the contents in the folder you want
(e.g. `~/.languagetool/`), you will need to say to the package where
is the `languagetool-commandline.jar` file in your `.emacs` file like:
(e.g. `~/.languagetool/`). Now you will need to say to the package
where is the `languagetool-commandline.jar` file in your `.emacs` file
like:

[source,lisp]
----
(setq languagetool-language-tool-jar
"~/.languagetool/languagetool-commandline.jar")
----

Or via customize. It's preferred to use full path instead.
Or via customize. It's highly encouraged to use full path instead.

If you are going to use the LanguageTool HTML Server you instead need
If you are going to use the LanguageTool HTML Server instead, you need
to add to your `.emacs` file:

[source, lisp]
Expand Down Expand Up @@ -88,21 +89,22 @@ For this package the suggested keybinding is:

[source, lisp]
----
(global-set-key "\C-clc" 'languagetool-check)
(global-set-key "\C-cld" 'languagetool-clear-buffer)
(global-set-key "\C-clp" 'languagetool-correct-at-point)
(global-set-key "\C-clb" 'languagetool-correct-buffer)
(global-set-key "\C-cll" 'languagetool-set-language)
(global-set-key (kbd "C-c l c") 'languagetool-check)
(global-set-key (kbd "C-c l d") 'languagetool-clear-buffer)
(global-set-key (kbd "C-c l p") 'languagetool-correct-at-point)
(global-set-key (kbd "C-c l b") 'languagetool-correct-buffer)
(global-set-key (kbd "C-c l l") 'languagetool-set-language)
----

Once you are correcting with build in functions it will pop-up a
correction buffer at the minibuffer, you only need to choose.

Or you can use a LanguageTool HTTP Server with
``languagetool-server-mode`. In this mode the functions
`languagetool-check` and `languagetool-clear-buffer` will be
undefinded in the current buffer to prevent checking with another
tool. The other functions works as usual.
`languagetool-server-mode`. In this mode the function
`languagetool-check` will be undefinded in the current buffer to
prevent checking with another tool. `languagetool-clear-buffer`
clears and recheck the buffer in case of needed. The other functions
works as usual.



Expand Down Expand Up @@ -160,3 +162,6 @@ e.g.
Post request to this port. Set to `8081` by default.
* `languagetool-server-delayed-commands` A list of hooks for sending a
request to the server.
* `languegetool-server-request-delay` Controls the number og seconts
while idle before this package sends a new request to the
LanguegeTool Server.
4 changes: 2 additions & 2 deletions languagetool-issue-faces.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
;; Copyright (C) 2020 Joar Buitrago

;; Author: Joar Buitrago <jebuitragoc@unal.edu.co>
;; Keywords: grammar text docs tools
;; Keywords: grammar text docs tools convenience checker
;; URL: https://github.com/PillFall/Emacs-LanguageTool.el
;; Version: 0.3.0
;; Version: 0.4.0
;; Package-Requires: ((emacs "25.1") (request "0.3.2"))

;; This program is free software; you can redistribute it and/or modify
Expand Down
Loading

0 comments on commit 21ad874

Please sign in to comment.