unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: "João Távora" <joaotavora@gmail.com>
Cc: 72824@debbugs.gnu.org
Subject: bug#72824: Eglot highlights matches incorrectly wrt case sensitivity
Date: Wed, 28 Aug 2024 01:57:21 +0300	[thread overview]
Message-ID: <7cf49afe-e52f-471c-942d-72a0a39d0905@gutov.dev> (raw)
In-Reply-To: <CALDnm53jsV6sC0yWwCspL=Rba2pe4hODCUy7SwR+2gGt66tTDQ@mail.gmail.com>

On 27/08/2024 17:38, João Távora wrote:
> Also, btw, completion highlighting is naturally borked too.  There is
> no guarantee that that naive flex algorithm is what the server used
> to select those completions.

True. For example, tn this scenario the server uses case-insensitive 
matching, whereas we (by default) match case-sensitively in the 
completion style.

This change should help eliminate the inconsistency between parts of the 
current completion style, but for the next release we might migrate to a 
more "passthrough" one.

Or not, you know. I've seen users request prefix-only matching instead 
of the fuzzy one provided by the language servers, and I'm sure there 
will be ones who prefer to match case-sensitively only too.





  reply	other threads:[~2024-08-27 22:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27  1:38 bug#72824: Eglot highlights matches incorrectly wrt case sensitivity Dmitry Gutov
2024-08-27 14:36 ` João Távora
2024-08-27 14:38   ` João Távora
2024-08-27 22:57     ` Dmitry Gutov [this message]
2024-08-28  9:03       ` João Távora
2024-08-28 21:20         ` Dmitry Gutov
2024-08-27 23:23   ` Dmitry Gutov

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=7cf49afe-e52f-471c-942d-72a0a39d0905@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=72824@debbugs.gnu.org \
    --cc=joaotavora@gmail.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).