From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#72824: Eglot highlights matches incorrectly wrt case sensitivity Date: Wed, 28 Aug 2024 10:03:58 +0100 Message-ID: References: <05924929-997f-4d37-ba3b-a4620a687c03@gutov.dev> <7cf49afe-e52f-471c-942d-72a0a39d0905@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72824@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 28 11:04:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sjEbB-0002jc-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Aug 2024 11:04:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjEb5-0003Hm-Ad; Wed, 28 Aug 2024 05:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjEb2-0003HV-L0 for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2024 05:04:08 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjEb2-0004yA-C3 for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2024 05:04:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=xgtUXERDtRYfhPUksp3QtaRWDDt7U6wp41LPVd26p0c=; b=atZTpD0oSy8DPNp0x+CEddjSqvu46HN6Bmcd2arfBFya+RHxSMmmoShqKvqDy55P9rkPErXUEoACnx+xn8GllaQkawbGARsA3wNbZq7F+rfrahq3gm1VdKiiApTUYOyhvtTA/pQ37PWwAQbC9mpCx8CmzSYb1k+8G9J6Z5GK/ZruwU+RHhvVVJb6jJwII3eSb9RSdFal/1YcLiwKjeRP3Qe/869msBkpxu9w1LrhR9oMUkDYu8BzkBqlZCMJMU+mM6LCoDiMmFfTAFJRBYt88+SsTS2ctK0qSnJMh6AZz3CXM/qnZEEJp2PFstoXZpj6IRDiznFOsRjXmNz4FbDSKQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjEbu-0004rI-2g for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2024 05:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Aug 2024 09:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72824 X-GNU-PR-Package: emacs Original-Received: via spool by 72824-submit@debbugs.gnu.org id=B72824.172483588518646 (code B ref 72824); Wed, 28 Aug 2024 09:05:02 +0000 Original-Received: (at 72824) by debbugs.gnu.org; 28 Aug 2024 09:04:45 +0000 Original-Received: from localhost ([127.0.0.1]:48206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjEbd-0004qd-BC for submit@debbugs.gnu.org; Wed, 28 Aug 2024 05:04:45 -0400 Original-Received: from mail-oo1-f50.google.com ([209.85.161.50]:44411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjEba-0004qO-MJ for 72824@debbugs.gnu.org; Wed, 28 Aug 2024 05:04:43 -0400 Original-Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-5d5d0535396so3751558eaf.1 for <72824@debbugs.gnu.org>; Wed, 28 Aug 2024 02:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724835763; x=1725440563; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xgtUXERDtRYfhPUksp3QtaRWDDt7U6wp41LPVd26p0c=; b=b/x8QUtbM5gAM39GdZ0Lf6p37Nr/Ju2eDWEhKo8J3BIslSpFJbS+Fx/uWPCcRpD+wv SgjNm8DaqMwPQv0G5glwj9rUkdVQ/JkCe4A2eQCMVFpYB5ltMWcLBvCNz1GVw4tpZIU3 x5AQDQqPvdWV1SmpyHtiUDvuA6w1mEplZZlczhNPnCGwooF87Q2S0jKpE6aCxxcOkUk9 Qy431pcfjBOhGI4umsx3sWhnh3kVsoIKsbi+gebLgWu3VnA4/93F5frVy69pX3C9B5Mr aNimS/ZEi5GUynAEjfkNqLMLDg0O0miJT9/rFJeFDHI0EbfcYMLPg2Wjg9dNzVyh/H9c 2UZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724835763; x=1725440563; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xgtUXERDtRYfhPUksp3QtaRWDDt7U6wp41LPVd26p0c=; b=OUL7dGd+8+SmsXWj62pGW8IqEzhvkldeZ2h6in4iWP92kxEfxJ+c8dTv2U94nSWvgl jVHnzwHwce1yvjGOTy60GW6U4Nmc8gtkdl7UBXRGyW/Zbgc5e/hKvbLQR6DKNkZdfNI/ 4xi4Wp7m8nQ8/bSFYKc4kVrXXktz7qpN338KA2pY+MRW0CovtkcOu33NmjwISKXyJ7Ex jv84RDEreu1AzJQPZMllOj4gIX3iNQb9po6A16IgN0AWjVKEw1+uW1bj1c5Jtup0G94m /z5JNScUQYkVDJ+nh4GtApWD/kkc1huuYIubJkk9eadU7pn4mg+xGZON9Q6T1NZtIZ2m IUyQ== X-Gm-Message-State: AOJu0YwIYHHMs2M0WkYOBZI4xyyj7NPth+8HtJrDzWoL44yTBS5IfQMS ErmGsPxehyEUzM3jI1KByY0NFhzOQkfb1ZnxXrj2HHZlAmDUHXSnm+3O0hEr6//9iGYcwiVf/jY zv8zk+KqFK2srEhyQAaE+4u3ChG0= X-Google-Smtp-Source: AGHT+IFYKRVuDIL/tfe4D56yycQVMmUrNF5qfFOReHvpNk/5oLT7GDIAPeR4zkD8hV3rNWi19+OtGOuk5o7BOveXHAE= X-Received: by 2002:a05:6820:1609:b0:5dc:9b06:7681 with SMTP id 006d021491bc7-5dcc6214660mr18521000eaf.4.1724835763020; Wed, 28 Aug 2024 02:02:43 -0700 (PDT) In-Reply-To: <7cf49afe-e52f-471c-942d-72a0a39d0905@gutov.dev> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290854 Archived-At: On Tue, Aug 27, 2024 at 11:57=E2=80=AFPM Dmitry Gutov wr= ote: > 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. What's that? Modulo bugs (one of which you've fixed recently) the "dumb" is the most passthrough one, except for the completion-ignore-case. Do you want to remove that? I added it at some user request... seemed reasonable. Maybe it's not. > 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. There is no way to do that. We don't have a say in what the server gives us. If the user types foo and the server ignores "foobar" and prefers "farfromsober" or std::foobar for whatever scoring reason, then there's nothing we can do about it. These users are continuously misinformed about LSP inability to follow Emacs's completion styles, despite my frequent admonishing. Jo=C3=A3o T=C3=A1vora