GNU bug report logs - #72779
EGLOT pyright bug

Previous Next

Package: emacs;

Reported by: Johann De Waal <njdewaal <at> gmail.com>

Date: Sat, 24 Aug 2024 05:56:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: João Távora <joaotavora <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72779 <at> debbugs.gnu.org, Johann De Waal <njdewaal <at> gmail.com>
Subject: Re: bug#72779: EGLOT pyright bug
Date: Sat, 24 Aug 2024 10:01:02 +0100
On Sat, Aug 24, 2024 at 7:29 AM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > Please let me know if I can improve my bug report in any way.

You can follow https://joaotavora.github.io/eglot/#Troubleshooting-Eglot
pay attention to the part about the emacs -q session.  In that
same shell where "pyright works as expected", you should be able
to start emacs -Q, navigate to a python file, and
C-u M-x eglot RET pyright RET.

pyright is a javascript program. It's possible you have a javascript
environment in your shell which is not your Emacs's session.

Also knowing that pyright in the command line works "as expected"
would manually issuing LSP commands to it from stdin.  I suspect
you haven't done that.

João




This bug report was last modified 320 days ago.

Previous Next


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