From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#59275: Unexpected return value of `string-collate-lessp' on Mac Date: Tue, 15 Nov 2022 10:51:42 +0100 Message-ID: <87wn7wczpt.fsf@gmail.com> References: <87zgcsdfma.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16108"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59275@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 10:52:23 2022 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 1ouscA-0003v3-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 10:52:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ousbx-00042l-Q2; Tue, 15 Nov 2022 04:52:09 -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 1ousbq-0003jI-R0 for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 04:52:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ousbq-0003vy-Hh for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 04:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ousbq-0002My-DW for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 04:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Nov 2022 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59275 X-GNU-PR-Package: emacs Original-Received: via spool by 59275-submit@debbugs.gnu.org id=B59275.16685059119092 (code B ref 59275); Tue, 15 Nov 2022 09:52:02 +0000 Original-Received: (at 59275) by debbugs.gnu.org; 15 Nov 2022 09:51:51 +0000 Original-Received: from localhost ([127.0.0.1]:52990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ousbf-0002Ma-H6 for submit@debbugs.gnu.org; Tue, 15 Nov 2022 04:51:51 -0500 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:43566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ousbd-0002MM-QG for 59275@debbugs.gnu.org; Tue, 15 Nov 2022 04:51:50 -0500 Original-Received: by mail-wr1-f54.google.com with SMTP id g12so23106262wrs.10 for <59275@debbugs.gnu.org>; Tue, 15 Nov 2022 01:51:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=nQGURAH3IDIA/Q7OkBIEkx0iP1SVxsK5bxkZHlEzafA=; b=UQadF8lQxxriKWjiwGu9walr4Qczg/zU8jFkbz4baJ4jtGQlk3ZBAmFYFkoLtW9RWr hjXAUeh/B76qI2Yuc2yZkUeY8Y/5qRejsXpm1/g2E/bdQk0y50udOyLSm2Le5HK/8OMV 3SrLoW2EfL0GBu1GPMOEFcoF+vY97yVxdcZGMendJe0Nrv4BFscQuL9R6L4rUFIJMyRo G6Cs4sufOuCxrpNpqyi+1uIsO67GueunnDatAIrV7M97l4nCPeemF+Vg+xycSmiF45pz vZG8wUC9anPpziUqOr8XGgtMfuiPZUPPFhHPfof+L8VQCUHgjTmx2wshbzXH59X4Mv3H kUuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nQGURAH3IDIA/Q7OkBIEkx0iP1SVxsK5bxkZHlEzafA=; b=GLfzzDkCsAjz//+zI34p2G0iMFmvB59HvfebJftRQbPDxxHF8LZPHw7zDDYWxAfpD4 WHhhiXb174zUXCfvyCeOhIExIGsfE8nwqu+9WMACfzpp8BAL6i3lnEd3HXWkvdLp+qiT ERk1EblJlZsle15zelB9xJwbX/VRft7lSwkT+3+pyseXKf63UET3gA1pFRWcmyWfO9A7 N7f2zZaDwhI+96EKjg4NDRw+qofMHSMprN0D1iFYcrLFhqQBjzxZQXXyamVsIm2U24b6 aiyEJ1UHXk7mMpOyDje7Adck0AK/w3yEOwWS6Qki2bK6G9A2Y+Z7ZGe/vAXR8G/N1mFr z0Jg== X-Gm-Message-State: ANoB5pkEY1Se+DhpootY2nvcTS2h9i38QnOPmannKEwo5WW8sa8GFm8D qe2nELEnctb21xNPFgHnNGBCac2jgtI= X-Google-Smtp-Source: AA0mqf4+GjJZgtgbD+8hFjYz5rw83YyJoiwXVTP4sm5DKJRgOL4MhR1TJL6ycwsN0xsJ7xJzavMKWA== X-Received: by 2002:a05:6000:512:b0:239:339e:2e14 with SMTP id a18-20020a056000051200b00239339e2e14mr10197364wrf.592.1668505903346; Tue, 15 Nov 2022 01:51:43 -0800 (PST) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id m14-20020a05600c4f4e00b003a1980d55c4sm23307363wmq.47.2022.11.15.01.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 01:51:42 -0800 (PST) In-Reply-To: <87zgcsdfma.fsf@localhost> (Ihor Radchenko's message of "Tue, 15 Nov 2022 04:08:13 +0000") 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:247928 Archived-At: >>>>> On Tue, 15 Nov 2022 04:08:13 +0000, Ihor Radchenko said: Ihor> Hi, Ihor> I am forwarding an issue originally reported on Org mailing list. Ihor> https://orgmode.org/list/m2ilkwso8r.fsf@me.com Ihor> On Emacs 29 (adaa2fc90e) MacOS build: Ihor> (string-collate-lessp "a" "B" "C" t) ; => nil Ihor> On Linux: Ihor> (string-collate-lessp "a" "B" "C" t) ; => t Ihor> The return value on MacOS is unexpected. Ihor> See more information, including locale date, in the Org ML thread. I think this is expected. See the long thread on emacs-devel back in July, eg https://lists.gnu.org/archive/html/emacs-devel/2022-07/msg00940.html (it resulted in the addition of `string-equal-ignore-case') Robert --