bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68699: Eglot completion has stopped working in some cases


From: João Távora
Subject: bug#68699: 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@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]