GNU bug report logs - #60557
[PATCH] Fix eglot prompt when connection already exists

Previous Next

Package: emacs;

Reported by: Evgeni Kolev <evgeni.d.kolev <at> gmail.com>

Date: Wed, 4 Jan 2023 15:46:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Evgeni Kolev <evgeni.d.kolev <at> gmail.com>
Cc: 60557 <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: bug#60557: [PATCH] Fix eglot prompt when connection already exists
Date: Thu, 12 Jan 2023 11:35:37 +0200
> Cc: joaotavora <at> gmail.com
> From: Evgeni Kolev <evgeni.d.kolev <at> 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?




This bug report was last modified 2 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.