From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#69709: `sort` interface improvement and universal ordering predicate Date: Sun, 10 Mar 2024 19:54:16 +0200 Message-ID: References: <0A9CE0FD-AE2D-462C-906D-567F331CC98B@gmail.com> <0e13de8a-ab0c-404d-9d93-d3756abcfa43@gutov.dev> <86wmqauiv2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16673"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 69709@debbugs.gnu.org To: Eli Zaretskii , 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 18:54:37 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 1rjNNc-0004A0-MX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Mar 2024 18:54:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjNNW-0006NK-EU; Sun, 10 Mar 2024 13:54: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 1rjNNU-0006Mv-R5 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 13:54:28 -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 1rjNNU-0005XS-IA for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 13:54:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjNO1-0000IX-Q6 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 13:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Mar 2024 17:55: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.17100932981133 (code B ref 69709); Sun, 10 Mar 2024 17:55:01 +0000 Original-Received: (at 69709) by debbugs.gnu.org; 10 Mar 2024 17:54:58 +0000 Original-Received: from localhost ([127.0.0.1]:37854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjNNy-0000ID-Ea for submit@debbugs.gnu.org; Sun, 10 Mar 2024 13:54:58 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjNNw-0000I0-LR for 69709@debbugs.gnu.org; Sun, 10 Mar 2024 13:54:57 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2484A5C003F; Sun, 10 Mar 2024 13:54:18 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 10 Mar 2024 13:54:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1710093258; x=1710179658; bh=7KRiLafAgo5iY5MPTZhMAk2NGufxOuZku/2cJrmuGdA=; b= okiltGTtFNub5D2eJJEE8d28m/vxh0Pjxa8ziF4Jz18C047Wu9MDNKgz6QVKVd96 +MPvs8CmxvhMoOPqkD765zGURKgeMyddanBY/ZfFq5lVLoZb1XwL26HwhS7YCtx5 Sty+Jyiad7DiS34qWzhM5Jsnl/amfwhjKnZ6RrJuvre7AyKYUWGR5Fbm+cCGlEBM x4ZHqx0Nn5rZzF02ZCP226wgnoVwWFlvouq+LE3m903mkW8W/DdpuxmOpHexJmdN LoKiyXsR2J3cJP7k3td7I2D1gFHr/DsXQOz5yo6QmpmA+kmxCs8CuDWjwST3JL55 ohHRzjNXTC+U9r17MzueoQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1710093258; x= 1710179658; bh=7KRiLafAgo5iY5MPTZhMAk2NGufxOuZku/2cJrmuGdA=; b=a TiljYyOGMdbCGRmsdqD9fl0FRGSYP7uLEqYAuGHdkpLdXF0oduZ9Elqz/GtCU7IM NZPAUjp084E1lpssF3zV9z/HXbS2caIXsRHlxeFhJBWKrVcurntsjAR4Wfive56T IKxp2V4a9EO2KeQRrDSdBtED6GrvEzh/jKkM9yfRT18z3yiL35LaBk5NvBipQ96W uhVFS46Yg8GKnjtZ9dqW6LRVKFpKvMUiv1eBzv6kBXxwfZi+osvaytB0uRCfeCF3 Z+YoTtmdluot2oUaBKjz3f2Yg08NEGkXRxLVV3HyNCRPjReTq1zBSwU7GupUf2B+ 3G2gnNMfKrmBPWyG1MW5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrieelgddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepgeelfeetkefghfdvhfdtgeevveevteetgeetveegtedthefhudekteehffeu keeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Mar 2024 13:54:16 -0400 (EDT) Content-Language: en-US In-Reply-To: <86wmqauiv2.fsf@gnu.org> 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:281423 Archived-At: On 10/03/2024 18:55, Eli Zaretskii wrote: >> 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. I do think it's problematic, but it's not a deal-breaker, so if everyone else is fine with it, let's proceed.