Open laotse opened 7 months ago
If I change the default value in languagetool-server.el
i.e., line 67: (defcustom languagetool-server-url "http://languagetool.example.com"
, then it works as expected. It's just the setting in .emacs
, which is apparently ignored.
When I start-up emacs
none of the languagetool-
variables are known. After pressing <f7>
, languagetool-server-url
exists, but has its default value. Manually setting it after the system has been initialized by <f7>
: M-: (setq languagetool-server-url "http://languagetool.example.com")
pressing <f7>
again it works as expected.
I have no clue about emacs lisp, but could it be that languagetool-server-url
is not declared at the point where .emacs
attempts to set it?
Hello @laotse,
Is the first time I encounter a bug like this.
This part of the code is intended for the use of Emacs customize
I believe the the bug you are encountering have to deal with the usage of use-package
, but as you set the defer flag to non-nil
, it must load all the customize
options after all the package is load. So we end up as the beginning.
It is weird that only the languagetool-server-url
variable have this problem. Tell me if I'm wrong.
I will study the bug. And try to fix it asap.
Maybe this could be related to #19?
Hello @PillFall,
the issue may affect other variables as well. It's just that I have only languagetool-server-url
set to a non default value. All the rest are default.
Concerning issue #19 it seems that the entire command is not set, which is not the case on my side. The commands are working fine.
What version of Emacs are you running?
28.2
What version of LanguageTool are you running?
6.3
What version of this package are you running?
1.3.0
What is the current behaviour?
What is you expect to happen?
What do you do to get this bug?