all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Michael Reilly <pmr@pajato.com>
To: "João Távora" <joaotavora@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Setting up language servers for Eglot
Date: Fri, 7 Aug 2020 11:05:35 -0400	[thread overview]
Message-ID: <CAGwjgEh6bfttNifxKBRwNxe9Ey65D8zTvJyxX5-q5fq6iVNz9A@mail.gmail.com> (raw)
In-Reply-To: <CALDnm527SBrXZ0oj=28TFOtPysYSLrLofKsvvgYOTzhu2ddCDg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

>
> As I told you offline I am quite busy at the moment to help you with this
> directly.
>

No problem, I posted to emacs-devel so someone who might not be as busy
might comment. Chilling out doesn't work so well for me. :-)

But if you look at Eglot's homepage you'll see that you need an entry in
> `eglot-server-programs` variable.
> That entry should associate a major mode with a program (the executable).
> So you need a `kotlin-mode`
> major mode.  Emacs doesn't come with one but you can probably get one
> somewhere.  Also, earlier I
> linked to an issue describing how someone got Eglot working with Kotlin
> using this simple technique.
> Maybe searching Eglot's bug tracker for "Kotlin" will bring you to that
> issue.
>

I do use a Kotlin mode from ELPA/MELPA so Eglot did try to execute the
Kotlin language server. Of course it did not find it because I had not
installed it. I now understand an issue to be a documentation issue in that
Eglot needs text via the README.md file to  address missing modes and
server setup.  I'll check the Eglot bug tracker and then post an
appropriate PR incorporating any feedback I see in this thread.

fwiw, once installed, the server dies after being started by Eglot. I'll
flail at this problem and gladly accept suggestions to expedite a solution.

-pmr

[-- Attachment #2: Type: text/html, Size: 2048 bytes --]

  reply	other threads:[~2020-08-07 15:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07 14:27 Setting up language servers for Eglot Paul Michael Reilly
2020-08-07 14:32 ` João Távora
2020-08-07 15:05   ` Paul Michael Reilly [this message]
2020-08-07 15:58     ` Yuan Fu
2020-08-07 15:59       ` João Távora
2020-08-08  5:59         ` Paul Michael Reilly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGwjgEh6bfttNifxKBRwNxe9Ey65D8zTvJyxX5-q5fq6iVNz9A@mail.gmail.com \
    --to=pmr@pajato.com \
    --cc=emacs-devel@gnu.org \
    --cc=joaotavora@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.