all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "João Távora" <joaotavora@gmail.com>
Cc: 62315@debbugs.gnu.org
Subject: bug#62315: 30.0.50; [BUG] Rust eglot tuple struct field completion
Date: Wed, 22 Mar 2023 22:52:12 +0800	[thread overview]
Message-ID: <sdv8rfovnqw.fsf@fw.net.yu> (raw)
In-Reply-To: <878rfpvzpe.fsf@gmail.com>


João Távora <joaotavora@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





      reply	other threads:[~2023-03-22 14:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21  2:33 bug#62315: 30.0.50; [BUG] Rust eglot tuple struct field completion Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-22  5:11 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-22 10:37   ` João Távora
2023-03-22 14:52     ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sdv8rfovnqw.fsf@fw.net.yu \
    --to=bug-gnu-emacs@gnu.org \
    --cc=62315@debbugs.gnu.org \
    --cc=joaotavora@gmail.com \
    --cc=ruijie@netyu.xyz \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.