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: Mon, 06 Jan 2025 21:40:19 +0200 Organization: LINKOV.NET Message-ID: <871pxfviho.fsf@mail.linkov.net> References: <86a5pnzst1.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="36785"; 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 Mon Jan 06 20:44:31 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 1tUt1Z-0009Oi-Uq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 20:44:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUt1C-0000nb-2x; Mon, 06 Jan 2025 14:44:06 -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 1tUt19-0000my-2y for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 14:44:03 -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 1tUt18-0001U5-Qt for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 14:44: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=s49ROce511FyRs84a7ZjET1B1yS/qk7efHyimDGcMCA=; b=aB+I0BpuvRucokOpHt07MxIoqZJMbp11XOFgny+pHdnB7CDlBhKYBpyMnWjC8b6C+lLQ0QfsRqAD8AKJDIXBfeLdaXhCwGhuujv2TDp8w1JQkdguZ/wdAHxtVXZVhooyp8waS09WOEGt8HOvRI/pFHr5qYdVkAc92zocyL1l1i1uv7Qpg4SC6IE8SYNGvqp5WMzllXaBneHNws02i5emdGvkoSdQE3ToLgPlVBmSGdpwxp6kxTbncbxye3dUOUcO2j2oeeuMh1J0gL4vnlV2J8EzA2u6ghH7bBD3pQB3w+PH8rmAcERG4hxmaAGrrkyr2TD4IgW2oQB2nPwg6yITvA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUt18-000711-Hq for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 14:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jan 2025 19:44:02 +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.173619261026909 (code B ref 68214); Mon, 06 Jan 2025 19:44:02 +0000 Original-Received: (at 68214) by debbugs.gnu.org; 6 Jan 2025 19:43:30 +0000 Original-Received: from localhost ([127.0.0.1]:40182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUt0b-0006zu-Hh for submit@debbugs.gnu.org; Mon, 06 Jan 2025 14:43:29 -0500 Original-Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]:52807) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUt0X-0006zK-SN for 68214@debbugs.gnu.org; Mon, 06 Jan 2025 14:43:27 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 1BF6D40002; Mon, 6 Jan 2025 19:43:16 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Thu, 02 Jan 2025 10:31:28 -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:298692 Archived-At: >> Month names are sorted alphabetically that makes no sense: >> >> April August December February January July >> June March May November October September >> >> What is worse is that currently it's impossible to customize >> this sorting order. >> >> This was discussed recently in >> https://lists.gnu.org/archive/html/emacs-devel/2023-11/msg01233.html >> >> Here is a patch that allows such customization >> >> (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.