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
View this message in rfc822 format
On Sat, Feb 1, 2025 at 11:51 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: João Távora <joaotavora <at> gmail.com>
> > Date: Sat, 18 Jan 2025 19:51:45 +0000
> >
> > [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.
>
> Thanks. No further comments within 2 weeks, so I'm now closing this
> bug.
OP contacted my directly and we confirmed it was a packaging system flub-up.
I assume the problem is solved.
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.