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#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function` Date: Thu, 19 Aug 2021 14:29:17 +0100 Message-ID: References: <10d162d5-2cd6-dd87-3289-a0187dfbf51f@daniel-mendler.de> <871r6sw9iz.fsf@gmail.com> <87a6lfnld0.fsf@gmail.com> <87eearulft.fsf@gmail.com> <871r6pr8bk.fsf@gmail.com> <87zgtdd2yi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005febf005c9e98ab4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Mendler , Gregory Heytings , 48545@debbugs.gnu.org, Dmitry Gutov To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 19 15:30:36 2021 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 1mGi7v-00027A-DK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Aug 2021 15:30:35 +0200 Original-Received: from localhost ([::1]:39240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGi7t-0005O4-FY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Aug 2021 09:30:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGi7Q-0005KS-Gc for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 09:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGi7P-0003tE-OO for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 09:30:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGi7P-0000Cv-Gp for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 09:30:03 -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: Thu, 19 Aug 2021 13:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48545 X-GNU-PR-Package: emacs Original-Received: via spool by 48545-submit@debbugs.gnu.org id=B48545.1629379777705 (code B ref 48545); Thu, 19 Aug 2021 13:30:03 +0000 Original-Received: (at 48545) by debbugs.gnu.org; 19 Aug 2021 13:29:37 +0000 Original-Received: from localhost ([127.0.0.1]:58855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGi6z-0000BJ-3n for submit@debbugs.gnu.org; Thu, 19 Aug 2021 09:29:37 -0400 Original-Received: from mail-pg1-f175.google.com ([209.85.215.175]:36768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGi6x-0000B5-KU for 48545@debbugs.gnu.org; Thu, 19 Aug 2021 09:29:36 -0400 Original-Received: by mail-pg1-f175.google.com with SMTP id t1so5909818pgv.3 for <48545@debbugs.gnu.org>; Thu, 19 Aug 2021 06:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4ZI+hELIcG7H2ldPx/0jfqWDeNIpSBfBgCHJEkbEm1k=; b=ZXY8Lzl/932Bsy3XTOQrP1xwOpYbVuMdmYNHde3tK4wGNqqPLsqdzuarfEpN+t8n6R Wpb8aBMSpw16viXqfMCn5BxrLTSY5hN8IIvklphybJGU1T9zGEyAIawa5RoIqZp2sPQh yWjDF6FnbF1BwL+CCvlega6dBiybjiJ/3KULNNchi90Z6npT5o6qh+5/zPidkAFZa+Jk YfuCZ3HIBAbADTSlJhUkbiHDFxXWaClgzeFpRcF4uX17uYfZYFEgWG5PWpSFG9teFQ+3 lJfHb2yEb5Nkwa7iDrMqMc0jgvm3l286T9/gYG3er12ejKkhPdTDJzX4pnjftvsT4d/x ejGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4ZI+hELIcG7H2ldPx/0jfqWDeNIpSBfBgCHJEkbEm1k=; b=EXFvGSxTbE5Sl33NXCzMqM8TeZrtErl8wBsx3dLTFnFNDIzA0jwnpaezniX49Lh4Kj a3h6ME0EgBIYNUCHB9tmHKkiTVGoo10hcCL7OfMI9MP4SInHbi3vqTJq3FQsIYikaPmx QyN/+hmv1vPU7ZKUSgP2R/u+5sO8cXod2Q+XcnQzyZ9HRkOeEtwV0DZgj/m0NqUGEwqf fG+RzagwPwRuvSeCQVufuaJw8N5E3+OefJD7OWLC380zAe0PYqwzUoVNNh1Z1F4SqMrV f6C80VZjIBp0kvJiaVIdrTuy/PKlMPWpHBwbKU3HLoAtsVAafOzSLaAJnrvTqdcN+lQD +7bw== X-Gm-Message-State: AOAM532HZg+QKRvs2CawZroP5PfwmTetj1vf+c+SWp65fJSGZgYfGIrk ntWlsy7CKfXig6sGbMTp8rVKlqgfia9MtIkOkQM= X-Google-Smtp-Source: ABdhPJy3zvDTcOh8V5lgkm5dEvqPPEpf2wD1TVElg3DJx7dUkRyGW2/OmVKCXFnYS9hma21RCMO78LrYD7Pp+8ia5L8= X-Received: by 2002:aa7:9050:0:b029:3af:7e99:f48f with SMTP id n16-20020aa790500000b02903af7e99f48fmr14701115pfo.2.1629379769657; Thu, 19 Aug 2021 06:29:29 -0700 (PDT) In-Reply-To: <87zgtdd2yi.fsf@gmail.com> 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" Xref: news.gmane.io gmane.emacs.bugs:212213 Archived-At: --0000000000005febf005c9e98ab4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Aug 19, 2021, 13:38 K=C3=A9vin Le Gouguec wrote: > Jo=C3=A3o T=C3=A1vora writes: > > FWIW (I didn't take the time to understand the ins and outs of the > completion system nor the changes that are being made; sorry about > that), Don't beat yourself over it, it's not an easy or pleasent thing to understand. with this tentative patch, Icomplete seems to honour > read-char-by-name-sort. With icomplete enabled and > read-char-by-name-sort set to 'code, try > > C-x 8 RET CLOCK FACE > > - with the current master branch, the completions are sorted > alphabetically, > - with the tentative patch applied, the completions are sorted by code > point. > Yes I think that's the idea. But do you think that's good or bad? This seems to compose well with completions-group AFAICT (see e.g. C-x 8 > RET ROMAN). > This is good, right? Jo=C3=A3o > --0000000000005febf005c9e98ab4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Aug 19, 2021, 13:38 K=C3=A9vin Le Gouguec <kevin.legouguec@gmail.com> wro= te:
Jo=C3=A3o T=C3=A1vora <joa= otavora@gmail.com> writes:

FWIW (I didn't take the time to understand the ins and outs of the
completion system nor the changes that are being made; sorry about
that),

Don't beat yourself over it, it's not an easy or pleasent thing = to understand.

with this tentative patch,= Icomplete seems to honour
read-char-by-name-sort.=C2=A0 With icomplete enabled and
read-char-by-name-sort set to 'code, try

=C2=A0 =C2=A0 C-x 8 RET CLOCK FACE

- with the current master branch, the completions are sorted
=C2=A0 alphabetically,
- with the tentative patch applied, the completions are sorted by code
=C2=A0 point.

Yes I think that's the idea. But do you think that's good or bad= ?

=
This seems to compose well with completions-group AFAICT (see e.g. C-x 8 RET ROMAN).

=C2=A0This is good, right?

Jo=C3=A3o
--0000000000005febf005c9e98ab4--