From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69709: `sort` interface improvement and universal ordering predicate Date: Sun, 10 Mar 2024 18:55:29 +0200 Message-ID: <86wmqauiv2.fsf@gnu.org> References: <0A9CE0FD-AE2D-462C-906D-567F331CC98B@gmail.com> <0e13de8a-ab0c-404d-9d93-d3756abcfa43@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17580"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69709@debbugs.gnu.org, dmitry@gutov.dev To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 10 17:56:42 2024 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 1rjMTZ-0004OA-IB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Mar 2024 17:56:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjMTO-00055v-OT; Sun, 10 Mar 2024 12:56:30 -0400 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 1rjMTN-00055k-B0 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 12:56:29 -0400 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 1rjMTN-0005Zg-3L for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 12:56:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjMTu-00076Z-15 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Mar 2024 16:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69709 X-GNU-PR-Package: emacs Original-Received: via spool by 69709-submit@debbugs.gnu.org id=B69709.171008978527237 (code B ref 69709); Sun, 10 Mar 2024 16:57:01 +0000 Original-Received: (at 69709) by debbugs.gnu.org; 10 Mar 2024 16:56:25 +0000 Original-Received: from localhost ([127.0.0.1]:37782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjMTJ-00075E-AZ for submit@debbugs.gnu.org; Sun, 10 Mar 2024 12:56:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjMTH-00074y-Lv for 69709@debbugs.gnu.org; Sun, 10 Mar 2024 12:56:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjMSd-0005Po-CL; Sun, 10 Mar 2024 12:55:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=5hw+/p1QL5tR468NHdXPYSxmmloApomqxVdZSDlUdQo=; b=PFbrUeL/9k7v/bxKFIzz 6GXKwvSCV/sOsp5RkqENzkpzF6ySl4+vsMoWRtyAIrPywG2B+B7MfNFqEx34Ludm6uWLuMNUZ+sU5 br/6vsLA5snMQPeEOlSmDjWt7ORc7MoVvYuNtslk8Yy4hAWnHD0L/EOUQGKyVWvvOEYKwJnIu9dwT CnAaQw0YT+jXsgq/fMd428yH/hpFr3zVuLxtpQ4IDVE2f4Um+wBON4zI1YM1Zml3rsdgylfAKu1aC ye9qypPOG22oLtLb3p0RsVRzJ/O3IQ2d2U2f6c1vefRGwtDYci0hSPOPacEfJA6qULKeZnIhIyN4U 3JVU0BMrY0kfIw==; In-Reply-To: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Sun, 10 Mar 2024 17:46:59 +0100) 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:281408 Archived-At: > Cc: 69709@debbugs.gnu.org > From: Mattias EngdegÄrd > Date: Sun, 10 Mar 2024 17:46:59 +0100 > > 10 mars 2024 kl. 17.03 skrev Dmitry Gutov : > > > That sounds more confusing, though (you drop the 'pred' argument, and the function changes behavior, possibly becoming slower too). > > Is it really surprising that behaviour changes if you remove a previously-mandatory argument from a call without reading the documentation? It seems unlikely that this would happen by accident. I think we should delay this discussion until we see the first draft of the code and the documentation to go with it. As long as the issue is in Mattias's sights, I'm sure the result will be acceptable, to say the least.