GNU bug report logs - #76683
[PATCH] Eglot: Implement additionalPropertiesSupport for showMessage

Previous Next

Package: emacs;

Reported by: Felician Nemeth <felician.nemeth <at> gmail.com>

Date: Sun, 2 Mar 2025 13:40:03 UTC

Severity: normal

Tags: patch

Full log


Message #8 received at 76683 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Felician Nemeth <felician.nemeth <at> gmail.com>
Cc: 76683 <at> debbugs.gnu.org
Subject: Re: bug#76683: [PATCH] Eglot: Implement additionalPropertiesSupport
 for showMessage
Date: Sun, 2 Mar 2025 13:59:44 +0000
Looks good.  Minor comments.

* Why did you remove the gh#627 reference?  Not relevant anymore?
* Could eglot--lambda be used for simplicity (I know it wasn't used before)
* Are you 100% we'll return an 'equal' object for servers that don't
make use of this feature?
* In the original version it was obvious the structure returned, now
not so much.   Maybe
a very short comment showing what the typical object looks like.

After evaluating this, and doing changes (if any), feel free to push.

João

On Sun, Mar 2, 2025 at 1:40 PM Felician Nemeth
<felician.nemeth <at> gmail.com> wrote:
>
> Hi João,
>
> This small patch implements a harmless feature introduced in LSP version
> 3.16:
> https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#window_showMessageRequest
>
> It allows me to implement a rust-analyzer feautre in a simple, stateless
> manner.
>
> Thank you,
> Felicián
>


-- 
João Távora




This bug report was last modified 154 days ago.

Previous Next


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