GNU bug report logs - #73280
30.0.90; Eglot: eglot-workspace-configuration might not be found in .dir-locals.el

Previous Next

Package: emacs;

Reported by: Troy Brown <brownts <at> troybrown.dev>

Date: Sun, 15 Sep 2024 19:55:02 UTC

Severity: normal

Found in version 30.0.90

Full log


View this message in rfc822 format

From: João Távora <joaotavora <at> gmail.com>
To: Troy Brown <brownts <at> troybrown.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, monnier <at> iro.umontreal.ca, 73280 <at> debbugs.gnu.org
Subject: bug#73280: 30.0.90; Eglot: eglot-workspace-configuration might not be found in .dir-locals.el
Date: Mon, 16 Sep 2024 20:07:57 +0100
On Mon, Sep 16, 2024 at 7:54 PM Troy Brown <brownts <at> troybrown.dev> wrote:

> That would be fine if this was isolated to only "ts" vs "non-ts"
> modes.  Another example is "typescript-mode".  In order to configure
> the server, you have to use "js-mode" in .dir-locals.el.  Why?
> Because it's the first one in the list.

Well, typescript is a transpile-to-js language, doesn't strike me as
that odd.

Also have you read section 5.1.1 of the Eglot's user manual?  You
can just use `nil` as the mode and `w-s-configuration` will
be set buffer-locally in all modes for buffers within that dir.
This is probably easier.  Check it out.




This bug report was last modified 272 days ago.

Previous Next


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