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


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

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

> João and Stefan, any comments?
>
> FWIW, I'd rather think this is a feature, since users don't need
> separate Eglot settings for ada-mode and ada-ts-mode.  But maybe I'm
> missing something.

You didn't miss that much.  This is half-feature, half
headache-I-didn't-want-to-worry-about. So I put int the 'car'
on purpose.  The first of the modes listed in a e-s-programs entry
is usually the most representative one of the language, more or less.

Is there a downside to mentioning a major mode you don't
actually use in your .dir-locals.el, Troy?

João

PS: This is again because Emacs doesn't have a great way to
refer to "language" or to associate languages to modes and
vice-versa. I certainly don't want to reopen that can of worms.




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.