GNU bug report logs -
#59138
Eglot support for java-language-server
Previous Next
Reported by: Robert Brown <robert.brown <at> gmail.com>
Date: Wed, 9 Nov 2022 00:35:02 UTC
Severity: wishlist
Tags: patch
Fixed in version 30.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59138 in the body.
You can then email your comments to 59138 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Wed, 09 Nov 2022 00:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robert Brown <robert.brown <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 09 Nov 2022 00:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The attached patch adds Eglot support for Java LSP server
https://github.com/georgewfraser/java-language-server
[0001-Support-for-java-language-server.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Wed, 09 Nov 2022 15:16:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 59138 <at> debbugs.gnu.org (full text, mbox):
Robert Brown <robert.brown <at> gmail.com> writes:
> The attached patch adds Eglot support for Java LSP server
> https://github.com/georgewfraser/java-language-server
> From 8c874c0f277e2e1b85126120da9dcc54e4a938f8 Mon Sep 17 00:00:00 2001
> From: Robert Brown <robert.brown <at> gmail.com>
> Date: Tue, 8 Nov 2022 19:23:10 -0500
> Subject: [PATCH] Support for java-language-server
>
> * lisp/progmodes/eglot.el (eglot-server-programs): Add support for
> Java server https://github.com/georgewfraser/java-language-server
> ---
> lisp/progmodes/eglot.el | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
> index ce989b5611..199c832f6b 100644
> --- a/lisp/progmodes/eglot.el
> +++ b/lisp/progmodes/eglot.el
> @@ -209,7 +209,8 @@ eglot-server-programs
> (go-mode . ("gopls"))
> ((R-mode ess-r-mode) . ("R" "--slave" "-e"
> "languageserver::run()"))
> - (java-mode . ("jdtls"))
> + (java-mode
> + . ,(eglot-alternatives '("jdtls" "java-language-server")))
Thanks for the patch.
Is there any particular reason why we should prefer jdtls to
java-language-server?
> (dart-mode . ("dart" "language-server"
> "--client-id" "emacs.eglot-dart"))
> (elixir-mode . ("language_server.sh"))
> --
> 2.25.1
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Wed, 09 Nov 2022 16:08:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 59138 <at> debbugs.gnu.org (full text, mbox):
[Please use "Reply to all" so that the discussion is recorded in the bug
tracker.]
Robert Brown <robert.brown <at> gmail.com> writes:
> I don't know what the relative popularity is. I found j-l-s to be
> easier to compile and configure for environments that are not Maven or
> Gradle. I think jdtls may have more features.
Thanks, that's good enough for me.
Have you signed the copyright assignment? I see one previous change
from you, so I'm not sure if this latest patch would take us over the
limit for what we could accept without one. Eli, any comments?
commit 96db005527ef9d9c45c5ec8e91b01e91ee37a7fd
Author: Robert Brown (tiny change) <robert.brown <at> gmail.com>
Date: Thu Jun 19 10:03:45 2014 -0400
* etc/NEWS: New Tramp method "nc".
* lisp/emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
(lisp-string-in-doc-position-p): New function, extracted from
lisp-font-lock-syntactic-face-function.
(lisp-font-lock-syntactic-face-function): Use them.
Fixes: debbugs:9130
etc/NEWS | 3 +++
lisp/ChangeLog | 7 +++++++
lisp/emacs-lisp/lisp-mode.el | 64
++++++++++++++++++++++++++++++++++++++--------------------------
3 files changed, 48 insertions(+), 26 deletions(-)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Wed, 09 Nov 2022 16:26:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 59138 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Not sure if I have signed a copyright assignment. Would have been a long
time ago. My email address would have been @bibliotech.com.
On Wed, Nov 9, 2022, 11:07 AM Stefan Kangas <stefankangas <at> gmail.com> wrote:
> [Please use "Reply to all" so that the discussion is recorded in the bug
> tracker.]
>
> Robert Brown <robert.brown <at> gmail.com> writes:
>
> > I don't know what the relative popularity is. I found j-l-s to be
> > easier to compile and configure for environments that are not Maven or
> > Gradle. I think jdtls may have more features.
>
> Thanks, that's good enough for me.
>
> Have you signed the copyright assignment? I see one previous change
> from you, so I'm not sure if this latest patch would take us over the
> limit for what we could accept without one. Eli, any comments?
>
> commit 96db005527ef9d9c45c5ec8e91b01e91ee37a7fd
> Author: Robert Brown (tiny change) <robert.brown <at> gmail.com>
> Date: Thu Jun 19 10:03:45 2014 -0400
>
> * etc/NEWS: New Tramp method "nc".
>
> * lisp/emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New
> fun.
> (lisp-string-in-doc-position-p): New function, extracted from
> lisp-font-lock-syntactic-face-function.
> (lisp-font-lock-syntactic-face-function): Use them.
>
> Fixes: debbugs:9130
>
> etc/NEWS | 3 +++
> lisp/ChangeLog | 7 +++++++
> lisp/emacs-lisp/lisp-mode.el | 64
> ++++++++++++++++++++++++++++++++++++++--------------------------
> 3 files changed, 48 insertions(+), 26 deletions(-)
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Wed, 09 Nov 2022 16:59:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 59138 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I can search for that address later in the copyright file. Your very simple
patch can go in regardless, marked as "Copyright-paperwork-exempt: Yes".
João
On Wed, Nov 9, 2022, 16:25 Robert Brown <robert.brown <at> gmail.com> wrote:
> Not sure if I have signed a copyright assignment. Would have been a long
> time ago. My email address would have been @bibliotech.com.
>
>
> On Wed, Nov 9, 2022, 11:07 AM Stefan Kangas <stefankangas <at> gmail.com>
> wrote:
>
>> [Please use "Reply to all" so that the discussion is recorded in the bug
>> tracker.]
>>
>> Robert Brown <robert.brown <at> gmail.com> writes:
>>
>> > I don't know what the relative popularity is. I found j-l-s to be
>> > easier to compile and configure for environments that are not Maven or
>> > Gradle. I think jdtls may have more features.
>>
>> Thanks, that's good enough for me.
>>
>> Have you signed the copyright assignment? I see one previous change
>> from you, so I'm not sure if this latest patch would take us over the
>> limit for what we could accept without one. Eli, any comments?
>>
>> commit 96db005527ef9d9c45c5ec8e91b01e91ee37a7fd
>> Author: Robert Brown (tiny change) <robert.brown <at> gmail.com>
>> Date: Thu Jun 19 10:03:45 2014 -0400
>>
>> * etc/NEWS: New Tramp method "nc".
>>
>> * lisp/emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New
>> fun.
>> (lisp-string-in-doc-position-p): New function, extracted from
>> lisp-font-lock-syntactic-face-function.
>> (lisp-font-lock-syntactic-face-function): Use them.
>>
>> Fixes: debbugs:9130
>>
>> etc/NEWS | 3 +++
>> lisp/ChangeLog | 7 +++++++
>> lisp/emacs-lisp/lisp-mode.el | 64
>> ++++++++++++++++++++++++++++++++++++++--------------------------
>> 3 files changed, 48 insertions(+), 26 deletions(-)
>>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Wed, 09 Nov 2022 17:01:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 59138 <at> debbugs.gnu.org (full text, mbox):
> Cc: 59138 <at> debbugs.gnu.org,
> João Távora <joaotavora <at> gmail.com>
> From: Robert Brown <robert.brown <at> gmail.com>
> Date: Wed, 9 Nov 2022 11:25:40 -0500
>
> Not sure if I have signed a copyright assignment. Would have been a long time ago. My email address
> would have been @bibliotech.com.
I see an old disclaimer for you, but without any email address, and
only for a single source file.
I think it is best to start the assignment process now, if it's okay
with you. If instead you'd like first to find out what is the status
of that old disclaimer, please write to Craig Topham
<copyright-clerk <at> fsf.org> and ask him.
Thanks.
Severity set to 'wishlist' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 12 Nov 2022 20:24:03 GMT)
Full text and
rfc822 format available.
Added tag(s) patch.
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 12 Nov 2022 20:24:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Fri, 25 Nov 2022 08:16:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 59138 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Cc: 59138 <at> debbugs.gnu.org,
>> João Távora <joaotavora <at> gmail.com>
>> From: Robert Brown <robert.brown <at> gmail.com>
>> Date: Wed, 9 Nov 2022 11:25:40 -0500
>>
>> Not sure if I have signed a copyright assignment. Would have been a long time ago. My email address
>> would have been @bibliotech.com.
>
> I see an old disclaimer for you, but without any email address, and
> only for a single source file.
>
> I think it is best to start the assignment process now, if it's okay
> with you. If instead you'd like first to find out what is the status
> of that old disclaimer, please write to Craig Topham
> <copyright-clerk <at> fsf.org> and ask him.
That was two weeks ago. Robert, what do you think?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Sat, 03 Dec 2022 01:07:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 59138 <at> debbugs.gnu.org (full text, mbox):
Please forward copyright assignment forms to me or send me a pointer
to the specific agreement you'd like me to sign.
Thanks!
On Fri, Nov 25, 2022 at 3:15 AM Stefan Kangas <stefankangas <at> gmail.com> wrote:
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> Cc: 59138 <at> debbugs.gnu.org,
> >> João Távora <joaotavora <at> gmail.com>
> >> From: Robert Brown <robert.brown <at> gmail.com>
> >> Date: Wed, 9 Nov 2022 11:25:40 -0500
> >>
> >> Not sure if I have signed a copyright assignment. Would have been a long time ago. My email address
> >> would have been @bibliotech.com.
> >
> > I see an old disclaimer for you, but without any email address, and
> > only for a single source file.
> >
> > I think it is best to start the assignment process now, if it's okay
> > with you. If instead you'd like first to find out what is the status
> > of that old disclaimer, please write to Craig Topham
> > <copyright-clerk <at> fsf.org> and ask him.
>
> That was two weeks ago. Robert, what do you think?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59138
; Package
emacs
.
(Sat, 03 Dec 2022 03:15:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 59138 <at> debbugs.gnu.org (full text, mbox):
Robert Brown <robert.brown <at> gmail.com> writes:
> Please forward copyright assignment forms to me or send me a pointer
> to the specific agreement you'd like me to sign.
> Thanks!
Great! See below.
Please email the following information to assign <at> gnu.org, and we
will send you the assignment form for your past and future changes.
Please use your full legal name (in ASCII characters) as the subject
line of the message.
----------------------------------------------------------------------
REQUEST: SEND FORM FOR PAST AND FUTURE CHANGES
[What is the name of the program or package you're contributing to?]
Emacs
[Did you copy any files or text written by someone else in these changes?
Even if that material is free software, we need to know about it.]
[Do you have an employer who might have a basis to claim to own
your changes? Do you attend a school which might make such a claim?]
[For the copyright registration, what country are you a citizen of?]
[What year were you born?]
[Please write your email address here.]
[Please write your postal address here.]
[Which files have you changed so far, and which new files have you written
so far?]
Added tag(s) pending.
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 07 Sep 2023 21:06:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Stefan Kangas <stefankangas <at> gmail.com>
:
You have taken responsibility.
(Wed, 12 Feb 2025 03:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Robert Brown <robert.brown <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 12 Feb 2025 03:24:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 59138-done <at> debbugs.gnu.org (full text, mbox):
Version: 30.1
Robert Brown <robert.brown <at> gmail.com> writes:
> The attached patch adds Eglot support for Java LSP server
> https://github.com/georgewfraser/java-language-server
Installed on emacs-30 as commit 316893ca387.
I'm therefore closing this bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 12 Mar 2025 11:24:20 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.