GNU bug report logs - #68699
Eglot completion has stopped working in some cases

Previous Next

Package: emacs;

Reported by: Brennan Vincent <brennan <at> umanwizard.com>

Date: Wed, 24 Jan 2024 20:38:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: João Távora <joaotavora <at> gmail.com>
To: Brennan Vincent <brennan <at> umanwizard.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: Eglot completion has stopped working in some cases
Date: Thu, 25 Jan 2024 00:43:38 +0000
On Wed, Jan 24, 2024 at 8:37 PM Brennan Vincent <brennan <at> umanwizard.com> wrote:

> For example, in a Rust crate with the following main file:
>
> fn foo_len() {
> }
>
> fn main() {
>     len
> }

I've reproduced this with latest master:

~/Source/Emacs/emacs/src/emacs -Q ~/MoreSource/Rust/hello/src/main.rs
-f rust-ts-mode -f eglot

where main.rs is the provided snippet.

Pressing C-M-i with point after 'len' yields the error.

The error only happens in partial-completion is in the completion-styles
variable, so a workaround is to remove partial-completion from
completion-styles, at least in Eglot enabled buffers.

I will look now for the underlying cause.




This bug report was last modified 1 year and 118 days ago.

Previous Next


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