GNU bug report logs - #62198
[PATCH] Eglot: Send clientInfo during the initialize request

Previous Next

Package: emacs;

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

Date: Wed, 15 Mar 2023 11:55:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: João Távora <joaotavora <at> gmail.com>
To: Alan Donovan <adonovan <at> google.com>, 62198 <at> debbugs.gnu.org, 
 Felician Nemeth <felician.nemeth <at> gmail.com>
Subject: Re: eglot feature request: set Initialize.ClientInfo.{Name,Version}
Date: Wed, 28 Jun 2023 22:02:40 +0100
On Wed, Jun 28, 2023 at 9:41 PM Alan Donovan <adonovan <at> google.com> wrote:

> > >Hi João,
> > > would you mind making eglot populate the clientInfo.{name,version}
> > > fields of the Initialize request parameters? All that's necessary is
> > > the one-line change below, though I'm sure you know a cleaner way to
> > >express the JSON literal and the version constant.
> > No I wouldn't mind.
> Great!   I found that this expression works for the version, assuming
> eglot is actually installed:
>
>  (package-desc-version (cadr (assoc 'eglot package-alist)))

That's the thing.  Sometimes it is installed in that variable, sometimes
it's a builtin described in some other variable.  There is, I think,
a library for this.

I've found the bug thread: bug#62198.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62198

Taking the liberty of CCing there. Felicián was also looking for this.

João




This bug report was last modified 1 year and 294 days ago.

Previous Next


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