From: Eli Zaretskii <eliz@gnu.org>
To: Evgeni Kolev <evgeni.d.kolev@gmail.com>
Cc: 60557@debbugs.gnu.org, joaotavora@gmail.com
Subject: bug#60557: [PATCH] Fix eglot prompt when connection already exists
Date: Thu, 12 Jan 2023 11:35:37 +0200 [thread overview]
Message-ID: <83cz7kksd2.fsf@gnu.org> (raw)
In-Reply-To: <CAMCrgaXriH_1YS-QQYJZXDe7qo=7s-f36Tox_SFpkhya=kqgXQ@mail.gmail.com> (message from Evgeni Kolev on Wed, 4 Jan 2023 17:44:27 +0200)
> Cc: joaotavora@gmail.com
> From: Evgeni Kolev <evgeni.d.kolev@gmail.com>
> Date: Wed, 4 Jan 2023 17:44:27 +0200
>
> [CC-ing João Távora, author of eglot]
>
> This patch fixes an incorrect behavior of eglot. To reproduce:
> - run M-x eglot
> - run M-x eglot (again)
> - eglot now prompts whether to reconnect to the existing LSP
> - enter "n" (for no)
> - now eglot shuts down the LSP process and reconnects - this is not
> correct, the expected behavior is to not reconnect
>
> The patch is below.
João, any comments?
next prev parent reply other threads:[~2023-01-12 9:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-04 15:44 bug#60557: [PATCH] Fix eglot prompt when connection already exists Evgeni Kolev
2023-01-12 9:35 ` Eli Zaretskii [this message]
2023-01-12 10:53 ` João Távora
2023-01-14 6:02 ` Evgeni Kolev
2023-01-14 17:22 ` João Távora
2023-01-16 11:53 ` João Távora
2023-01-16 14:08 ` Eli Zaretskii
2023-01-16 14:15 ` Eli Zaretskii
2023-01-16 14:42 ` João Távora
2023-01-16 14:54 ` Eli Zaretskii
2023-01-18 5:58 ` Evgeni Kolev
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83cz7kksd2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=60557@debbugs.gnu.org \
--cc=evgeni.d.kolev@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).