From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61532: 30.0.50; [PATCH]: Make completions without sortText fall to back of the list Date: Sun, 19 Feb 2023 17:56:06 -0500 Message-ID: References: <87ttzn6kxb.fsf@thornhill.no> <875yby62j9.fsf@thornhill.no> <348D7924-284D-4D14-882E-02C8CAD7A925@thornhill.no> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12309"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61532@debbugs.gnu.org, Augusto Stoffel , Theodor Thornhill To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 19 23:57:24 2023 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 1pTscV-0002ut-UZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Feb 2023 23:57:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTscC-0002NS-QV; Sun, 19 Feb 2023 17:57:05 -0500 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 1pTscA-0002N1-4Z for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 17:57:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTsc9-0001mV-SI for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 17:57:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTsc9-0007kf-Ot for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 17:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2023 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61532-submit@debbugs.gnu.org id=B61532.167684737629737 (code B ref 61532); Sun, 19 Feb 2023 22:57:01 +0000 Original-Received: (at 61532) by debbugs.gnu.org; 19 Feb 2023 22:56:16 +0000 Original-Received: from localhost ([127.0.0.1]:49905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTsbP-0007jZ-Ug for submit@debbugs.gnu.org; Sun, 19 Feb 2023 17:56:16 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:47367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTsbO-0007jK-DZ for 61532@debbugs.gnu.org; Sun, 19 Feb 2023 17:56:14 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E5BFA80800; Sun, 19 Feb 2023 17:56:08 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 95253805B7; Sun, 19 Feb 2023 17:56:07 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1676847367; bh=3xVolDwkUrXVUD3/uB9Yk/i1/ZbAo2INkkRnbi1vdbM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CliLhXvNEk1g07W0cU42ftkLgmXiBReZ+e6eeOX2YsBow4hu5kNkuiNgcdbjQ7HBG Sh+e1OgWPMgaJswzu0AQC1G3zkj+th90goYvAn2pUUfMevptjEhXjH3VzlMGbkf2Zy dHZZKLh6d/iZObbICf6Mnt1gTAaJvYOYa+SJyJEOvvTno1d45vi4A1Xn32qnae6PKD F+DUK0/4M9sa8qVmtE6u8pp+SAIfE/H7moAK01ojK7rF2pre2H10FS8HBJkAehi/iY wSSz+w+k+w/n5n0A+Waebei39vDts35y5fvTRrAdiMcIH5AXDgxCPewdllMOUGpVa8 +ecdB/tdIYBZg== Original-Received: from pastel (unknown [216.154.34.24]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5C32B12321C; Sun, 19 Feb 2023 17:56:07 -0500 (EST) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 19 Feb 2023 18:19:02 +0000") 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:256113 Archived-At: > Anyway, this boils down to a limitation of LSP, that it doesn't report on > what kind of matching style it uses for textDocument/completion. It's not just "matching style". It's that it's designed under the premise that all the control is on the LSP server side, and the client (editor) side just provides a "dumb UI". A better API is probably harder to design (e.g. you need to define what is a "matching style", for one), admittedly. > At least it used to be a limitation of LSP, maybe someone else has > fixed it in the meantime, or added something that we can use. Not that I know. But I think if we want that to happen, we need to move out of our comfort zone and start participating in discussions over in VScode land where the decisions are made :-( Stefan