From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill 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:08:19 +0100 Message-ID: <348D7924-284D-4D14-882E-02C8CAD7A925@thornhill.no> References: <87ttzn6kxb.fsf@thornhill.no> <875yby62j9.fsf@thornhill.no> Reply-To: Theodor Thornhill 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="9266"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61532@debbugs.gnu.org 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 17:09:28 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 1pTmFj-0002Dc-8N for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Feb 2023 17:09:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTmFM-0000ic-M3; Sun, 19 Feb 2023 11:09:04 -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 1pTmFL-0000iS-0M for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 11:09:03 -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 1pTmFK-00014n-La for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 11:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTmFK-0003qX-Du for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 11:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2023 16:09:02 +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.167682290914740 (code B ref 61532); Sun, 19 Feb 2023 16:09:02 +0000 Original-Received: (at 61532) by debbugs.gnu.org; 19 Feb 2023 16:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:49539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTmEn-0003pf-8l for submit@debbugs.gnu.org; Sun, 19 Feb 2023 11:08:29 -0500 Original-Received: from out2.migadu.com ([188.165.223.204]:33095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTmEl-0003pX-UZ for 61532@debbugs.gnu.org; Sun, 19 Feb 2023 11:08:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1676822906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IuNLa4du9oJTiHSOha7ftm4+vI26hYMJZ/93xszPs9s=; b=J+hZuMqojh3PGpFR3Ju9Kg7B9FwJhUcZYLQmWBnuH9QZtgcLy+ah7VBcYet2gz6qXfclK6 FLc96EDLx/J/0yeXiiUF6IHkfmJU139s5HyPVZj/++RPVDJaSRbxgHK6QStmDXi68diVPx tlONTdo4RZqh1E9AD0zdUgpPKV3YobQfi+UP2S9qf95vm7qahImvHZXs+x3TBFelh6VUfz Cis7VFKb0LNnQgTI/g6K5I+51goIm7QD5ruTK/n9A2Lpf+kjV/F9cVT6EULisiBVU9f1HM 8qFw2+hOzx3GPYyoWyvPmFUQMFOZGG/hWZ2FaYTTU6BbYhuBe18u+JU5fPYxJw== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: X-Migadu-Flow: FLOW_OUT 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:256087 Archived-At: On 19 February 2023 12:13:46 CET, "Jo=C3=A3o T=C3=A1vora" wrote: >On Sat, Feb 18, 2023 at 10:18 PM Theodor Thornhill >wrote: > >> >> Ping :-) > > >[Thanks for the ping=2E Without it, i would probably not be aware of the >message >which was primarily intented for me, since I'm not (at the present) >following the >bug tracker list=2E Next time, you can add me to the special X-Debbugs-C= C: >header] Pretty sure I did that, but it doesn't matter :) > >To your patch, I think it is quite acceptable=2E I've pushed it to emacs= -29=2E > Great news! >I'll keep the bug open, since there is also the second problem which I >still don't >quite understand, but it looks like a bug, too=2E But I think I have eno= ugh >information >to investigate on my own for now=2E > >Jo=C3=A3o I don't think it's a bug, really=2E Isn't it just the flex style greedines= s? It feels like it tries to match the longest string possible alphabetical= ly? It's just unintuitive because the json results doesn't match the output= , and debugstepping over was very unhelpful=2E We could maybe just add some= docs explaining that eglot default, which for many really is an eglot hard= -coding=2E But not sure, and the workaround in the report works anyways :) Theo