From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iKGwOQzrQmNvDQEAbAwnHQ (envelope-from ) for ; Sun, 09 Oct 2022 17:38:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uFe7OQzrQmPrXQEA9RJhRA (envelope-from ) for ; Sun, 09 Oct 2022 17:38:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B423B2E4A0 for ; Sun, 9 Oct 2022 17:38:52 +0200 (CEST) Received: from localhost ([::1]:57660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohYOB-0008PZ-LN for larch@yhetil.org; Sun, 09 Oct 2022 11:38:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohYNn-0008PD-QH for emacs-orgmode@gnu.org; Sun, 09 Oct 2022 11:38:27 -0400 Received: from mr85p00im-ztdg06021101.me.com ([17.58.23.180]:58714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohYNm-0003Vs-Bo for emacs-orgmode@gnu.org; Sun, 09 Oct 2022 11:38:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1665329905; bh=ymGfTQYFbqt0fHFjWsrXsEsuJNIH/Za7kHofTcw3bzI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=EV9SIIJOv00JKEwFmMdO1wamG2o81dXoK8/6Druhom6xngpE2qVZ79/UU9VApEEJs UJWmUp3vse3f+rUUY6EgKHBgSWY7sYkDDJt6GbfIXsa74gePNlWOFoBY9v1CJTsuil dCEKJKCMfknnZA80fDqbRzjtGB3ORTrxifszVzwMdh2aeEL1uFlSiB04Grji2pBrHD 1v4tCQajIs124LzB+qHuihs//qYb2VGXSorjFMhvyTzbd/+enxuTj91HsnMHi+pzaT qws2z5ON8FAxcMITZW8MXvP7SrdW5l0P3GWELnai+PGHkYW43MRkQQdfd/e2qv1dft rkXtdhcI4adAQ== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06021101.me.com (Postfix) with ESMTPSA id D8230808C5; Sun, 9 Oct 2022 15:38:23 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko , Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: test-org-table/sort-lines: Failing test on macOS In-Reply-To: <87y1tpejfm.fsf@localhost> References: <87ilkulwdy.fsf@localhost> <87y1tpejfm.fsf@localhost> Date: Sun, 09 Oct 2022 17:38:21 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: FaNPA2jQeJ2IiwWzsh9YyUa2exUbXY4x X-Proofpoint-ORIG-GUID: FaNPA2jQeJ2IiwWzsh9YyUa2exUbXY4x X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.572,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-14=5F01:2022-01-14=5F01,2020-02-14=5F11,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 clxscore=1015 phishscore=0 bulkscore=0 mlxlogscore=651 malwarescore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210090101 Received-SPF: pass client-ip=17.58.23.180; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06021101.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665329932; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ymGfTQYFbqt0fHFjWsrXsEsuJNIH/Za7kHofTcw3bzI=; b=NlqkHPS7LNjNA71+HAci9s/nGcTSOQwl6iWiL3ZgaNlfq+EXW8k9pQWCq0NJkxYLtiZ1D5 kCdBWmUSyuIlyiJ2sIMdsyn8EZZN2xYM7nXXs51jrvMq/tHacrg4VsVYYYver5+cfUwkQQ wCTE0V6FfCLhM0ALbq0O5cfXeOKs9TCykEb+O/h+0YdpoWobM9PijVMqqkPhpQUYcaAh8o I8IJx82bTyGh+SD7DxA52uStbH0bXQKBkUHnE4EmWiLjkBn/VK1VcNZf/7orI41yAFhvoD 462HPni7WyWySbImbTqlOXJaI9ZSBNYVRLMLV6ZQnWYlbbQotcECSEH9wwqJmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665329932; a=rsa-sha256; cv=none; b=m6/nJ9Y9bN83lkpqoecC60+r5PRV4u1pR+8W7vXc6+2BWNvmD1sxuCSBJ3EyFkxGRPp3qa nvcKt2Sx4Ng6/sQ4s9gntIzbjliP0a7fF8PsF6CfKHiGoHSTfryxC1B5eBBC4dp+tx4Re5 Ota8LPwUHBXVIPzFSl9rrQjv/UWH5Mr8wViqLbkWPhLFvP6D1O3NsTrNlDFbikiM1ut0m2 mBXSzcF56GSiqM+sRbmZ6pOK4yqq5Qsn2zu4yo1r/0IeE3BV/8lA9/WhIj/KBUS7hzcUj7 qqUksd0rVnweALZCtEBXWvS4T0T17Bh9AhMeHEb2To2009T2Jhf3JmMBmOhiOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=EV9SIIJO; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=EV9SIIJO; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B423B2E4A0 X-Spam-Score: -4.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: lOw3d1c9OI+h Ihor Radchenko writes: > Rudolf, can you (1) try sort in terminal to confirm that "C" locale > behaves as expected in MacOS; (2) If sort works fine, you may consider > reporting Emacs bug. For the two examples given by Max on Linux, I get on macOS: printf 'a\nB\n' | LC_COLLATE=3DC sort B a printf 'a\nB\n' | LC_COLLATE=3Den_US.UTF-8 sort B a For the other examples mentioned, I get on macOS: printf 'a\nb\n' | LC_COLLATE=3DC sort a b printf 'b\na\n' | LC_COLLATE=3DC sort a b printf 'A\nB\n' | LC_COLLATE=3DC sort A B printf 'B\nA\n' | LC_COLLATE=3DC sort A B printf 'a\nb\n' | LC_COLLATE=3DC.UTF-8 sort a b printf 'b\na\n' | LC_COLLATE=3DC.UTF-8 sort a b printf 'A\nB\n' | LC_COLLATE=3DC.UTF-8 sort A B printf 'B\nA\n' | LC_COLLATE=3DC.UTF-8 sort A B Rudy --=20 "Chop your own wood and it will warm you twice." -- Henry Ford; Francis Kinloch, 1819; Henry David Thoreau, 1854 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia