unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Brennan Vincent <brennan@umanwizard.com>
Cc: 68699@debbugs.gnu.org
Subject: bug#68699: Eglot completion has stopped working in some cases
Date: Thu, 25 Jan 2024 00:43:38 +0000	[thread overview]
Message-ID: <CALDnm514mmFo7pF1J2ovGR6L8-AU6O=1FVzbN5czmR8nm36gNA@mail.gmail.com> (raw)
In-Reply-To: <87mssutqm8.fsf@prescott.mail-host-address-is-not-set>

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.





  parent reply	other threads:[~2024-01-25  0:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24 20:37 bug#68699: Eglot completion has stopped working in some cases Brennan Vincent
2024-01-24 20:41 ` João Távora
2024-01-25  0:43 ` João Távora [this message]
2024-01-25  1:35   ` João Távora
2024-01-25 15:34     ` Brennan Vincent
2024-01-25 19:11       ` João Távora

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='CALDnm514mmFo7pF1J2ovGR6L8-AU6O=1FVzbN5czmR8nm36gNA@mail.gmail.com' \
    --to=joaotavora@gmail.com \
    --cc=68699@debbugs.gnu.org \
    --cc=brennan@umanwizard.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).