GNU bug report logs - #62315
30.0.50; [BUG] Rust eglot tuple struct field completion

Previous Next

Package: emacs;

Reported by: Ruijie Yu <ruijie <at> netyu.xyz>

Date: Tue, 21 Mar 2023 03:01:02 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: Ruijie Yu <ruijie <at> netyu.xyz>
To: João Távora <joaotavora <at> gmail.com>
Cc: 62315 <at> debbugs.gnu.org
Subject: Re: 30.0.50; [BUG] Rust eglot tuple struct field completion
Date: Wed, 22 Mar 2023 22:52:12 +0800
João Távora <joaotavora <at> gmail.com> writes:

> [...]
> Emacs/Eglot is not doing the right thing, but I don't think the server
> is doing the right thing either.
>
> Probably the server should be saying "I don't have completions for this
> position given my current view of the document".  Maybe this could be
> reported to the rust-analyzer people for their input.

Thanks.  I have filed an issue upstream in rust-analyzer:
https://github.com/rust-lang/rust-analyzer/issues/14391.

> However, given this "faulty" server exchange, I'm inclined to say
> completion-at-point should offer to insert '0','1', and other
> completions, and not immediately insert the "1".

I agree, this change makes sense to me.

> João

--
Best,


RY




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

Previous Next


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