GNU bug report logs - #59214
[PATCH] Alternate rust-analyzer command added

Previous Next

Package: emacs;

Reported by: Pankaj Jangid <pankaj <at> codeisgreat.org>

Date: Sat, 12 Nov 2022 11:54:02 UTC

Severity: wishlist

Tags: patch

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "M. Ian Graham" <hello+emacs <at> miangraham.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 59214 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, João Távora <joaotavora <at> gmail.com>
Subject: bug#59214: [PATCH] Alternate rust-analyzer command added
Date: Thu, 17 Nov 2022 10:52:54 +0000
Pankaj Jangid <pankaj <at> codeisgreat.org> wrote:

> -(defvar eglot-server-programs `((rust-mode . ,(eglot-alternatives '("rust-analyzer" "rls")))
> +(defvar eglot-server-programs `((rust-mode . ,(eglot-alternatives '(("rustup" "run" "stable" "rust-analyzer") "rls")))

Another open question and source of future bug reports: How does a rustup user make eglot work with the nightly release channel when stable is specified here?

Nightly is required by some libraries, and a minority of people use it in development for improved error messages and other benefits.

Are we asking those people to redefine eglot-server-programs?

Cheers,
Ian





This bug report was last modified 2 years and 186 days ago.

Previous Next


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