GNU bug report logs -
#75592
29.4; Eglot Invalid Slot Name Error
Previous Next
Reported by: Заболотько <zabolotko <at> gmail.com>
Date: Wed, 15 Jan 2025 18:49:02 UTC
Severity: normal
Found in version 29.4
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 75592 <at> debbugs.gnu.org (full text, mbox):
[Sorry forgot to send this to the bug tracker]
On Sat, Jan 18, 2025 at 10:35 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Заболотько
> > <zabolotko <at> gmail.com>
> > Date: Wed, 15 Jan 2025 19:33:47 +0300
> >
> > 1. Start 'emacs -Q'.
> > 2. M-x toggle-debug-on-error
> > 3. C-x d (open with dired directory with one file only) ~/development/temp/
> > 4. Open with dired the `hello.hs`file with following content:
> > main :: IO ()
> > main = putStrLn "Hello, World!"
> > 5. M-x eglot
> > 6. On prompt:
> > "[eglot] Couldn't guess LSP server for `fundamental-mode'
> > Enter program to execute (or <host>:<port>):" insert (without double quotes):
> > "haskell-language-server-wrapper" (I use language server 2.9.0.1 installed from
> > https://www.haskell.org/ghcup/ )
> > 7. See *Backtrace* buffer with following content:
> > Debugger entered--Lisp error: (invalid-slot-name "#<eglot-lsp-server eglot-lsp-server-622e880>" :
> > events-buffer-config)
> João, could you please look into this?
The reporter probably isn't running the recipe they gave us. If they did,
they wouldn't get the error, because Emacs -Q does not initialize the package
system automatically and so does not load in any eglot.el version that expects
eglot-lsp-server instances to have an events-buffer-config slot.
So this is a mismatch between the Eglot and Jsonrpc package versions and
it is not triggered in Emacs 29.4 (the version reported by M-x report-emacs-bug)
when used with the -Q flag.
João
This bug report was last modified 111 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.