From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#68214: Completion sorting customization by category Date: Tue, 07 Jan 2025 20:22:55 +0200 Organization: LINKOV.NET Message-ID: <8734huiiv4.fsf@mail.linkov.net> References: <86a5pnzst1.fsf@mail.linkov.net> <871pxfviho.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19704"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 68214@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 07 19:24:23 2025 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 1tVEFb-0004zz-Ms for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jan 2025 19:24:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVEFJ-0000sj-HF; Tue, 07 Jan 2025 13:24: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 1tVEFG-0000sD-BU for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 13:24:02 -0500 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 1tVEFG-0000eD-30 for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 13:24:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=AbYbFfMY6oLLZFDcAnj/B5fn2FNVdG/9pXZI0Mu3zjM=; b=pKph1l89ZhnFQqEzCFddfNhIdLUw3zsG9pDJJdBpzHh7VbdG+Vz3M+MgpyWioEuCZ2RYFRPNGBp9IdHYyhMJTv+oTxiV2kRhZqU3wPVTWXX/Xdw4mGvT+B1a0egoJiL4lO61HEJmX36DuO9NFmMAepmNtQ/QnSookMywEDWx/3rtxwg+XHRaAVr6NRwO4jsNeaDJTpkCZrf/J+2Hp1jOEtH6+cgdcoeO/7GCzuycha/ogFEM7eGT8AFmgdXE1ZBV9aMbvKeHsLcDxwESlqCkzX1lirY5+G8Tdgse1Sn+zCSiR8kXfDInY7kcSLFyfdqapepgDFRDpNnqWJ1vNXv+Og==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVEFF-00064v-TE for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 13:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jan 2025 18:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68214 X-GNU-PR-Package: emacs Original-Received: via spool by 68214-submit@debbugs.gnu.org id=B68214.173627420823278 (code B ref 68214); Tue, 07 Jan 2025 18:24:01 +0000 Original-Received: (at 68214) by debbugs.gnu.org; 7 Jan 2025 18:23:28 +0000 Original-Received: from localhost ([127.0.0.1]:44615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVEEi-00063M-2m for submit@debbugs.gnu.org; Tue, 07 Jan 2025 13:23:28 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:47545) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVEEf-00062c-R5 for 68214@debbugs.gnu.org; Tue, 07 Jan 2025 13:23:26 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 4C20440004; Tue, 7 Jan 2025 18:23:15 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Mon, 06 Jan 2025 15:22:35 -0500") X-GND-Sasl: juri@linkov.net 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:298738 Archived-At: >>>> (setopt completion-category-overrides >>>> '((calendar-month >>>> (display-sort-function . identity)))) >>> Why should the users need to customize their Emacs to get the "natural" order? >> This was already added to completion-category-defaults, >> so it's enabled by default. > > So let me state it some other way: why should it be customizable? > When/why would a user prefer some other ordering? > IMO `(display-sort-function . identity)` should be in the metadata of > the completion table, like we do in several other completion tables. Agreed. Now moved to the metadata.