unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 72779@debbugs.gnu.org, Johann De Waal <njdewaal@gmail.com>
Subject: bug#72779: EGLOT pyright bug
Date: Sat, 24 Aug 2024 10:01:02 +0100	[thread overview]
Message-ID: <CALDnm52cfiF0J0ufVuYUJ0sSdEGMUfc2Hq9pKdEjQvdF25rE3w@mail.gmail.com> (raw)
In-Reply-To: <86zfp2o2lf.fsf@gnu.org>

On Sat, Aug 24, 2024 at 7:29 AM Eli Zaretskii <eliz@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





  reply	other threads:[~2024-08-24  9:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-23 16:44 bug#72779: EGLOT pyright bug Johann De Waal
2024-08-24  6:29 ` Eli Zaretskii
2024-08-24  9:01   ` João Távora [this message]
2024-08-24 10:12     ` Johann De Waal
2024-08-29 11:38       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALDnm52cfiF0J0ufVuYUJ0sSdEGMUfc2Hq9pKdEjQvdF25rE3w@mail.gmail.com \
    --to=joaotavora@gmail.com \
    --cc=72779@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=njdewaal@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).