From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SEvEETKPcWAcSgAAgWs5BA (envelope-from ) for ; Sat, 10 Apr 2021 13:42:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iA+PCzKPcWDHIAAAbx9fmQ (envelope-from ) for ; Sat, 10 Apr 2021 11:42:42 +0000 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 9805114679 for ; Sat, 10 Apr 2021 13:42:41 +0200 (CEST) Received: from localhost ([::1]:49140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVC0e-0000Mu-Kq for larch@yhetil.org; Sat, 10 Apr 2021 07:42:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVBzn-0000LA-KD for emacs-orgmode@gnu.org; Sat, 10 Apr 2021 07:41:47 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVBzl-0007xC-8u for emacs-orgmode@gnu.org; Sat, 10 Apr 2021 07:41:47 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 4F2DC2400FC for ; Sat, 10 Apr 2021 13:41:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618054902; bh=5aDDzrOc1OKxG/EKMdGFu4UAHYzGRFcJBcfWk7CXO1Q=; h=From:To:Cc:Subject:Date:From; b=B38sNtznkGAULK8CRsoWXUsMrOZh4WJkYTqEUReE2N0BNl8W3u/muJ5X1D/OS4Vzc ynKT01Ction3RgswKtytqISHtdzS+5iIxPxMug8+mvmfuZPwhuZW50Uanrqu/jy7W8 tXvsG0dtgsfZ7iMa7rq5IXkgErP7PrM5Ar/CuL+sP35E9wweDIz4q1YK4lbVwrIn9N rNXUGmsePU9vN/Riei5H4L7jQACX7l7cAs+qS3x2sUW/ytSXsWjTRV8Ik8jYpOaP33 sA0V+Y/gXSD/y5RAgK5QHRom29033OFT7AwPhu2pfahsCfLaGluWiRJvRcA2goNI44 qcwOT+1WCb1rA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FHY4P4h03z6tmH; Sat, 10 Apr 2021 13:41:41 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Nicolas Goaziou Subject: Re: [Patch] to correctly sort the items with emphasis marks in a list References: <87a6qg1rjx.fsf@posteo.net> <874kgft7n1.fsf@nicolasgoaziou.fr> <87blanxb1z.fsf@posteo.net> <87v98usaqt.fsf@nicolasgoaziou.fr> Date: Sat, 10 Apr 2021 13:41:40 +0200 In-Reply-To: <87v98usaqt.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 10 Apr 2021 12:19:06 +0200") Message-ID: <87pmz29xjf.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618054961; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UuAf3Q5OnR9Ed0O6/X8ZG9RblMveglzPCzRHtlSRQdU=; b=CiZdxw2BoZs78Ck6TncUOAbnJSx1Zsw1YSSvoJwJ0RkaLUzskfrrI863RveiZSLgBEoJG/ k/Om+X8PuNl70I4fd+3p9qjNlWV4HSMA76JyPFsZeiqRQhB8kTX3ANu9lU+oXKP05kK/iF nWkbHMCy4LEY5Isv172ceOe5Za46xtrDg4qeYZXoltTiBE2+m+9d/wWzXcwu1V10ZhG6nS F2Wdc4Y/WMD1tbdv12ql5l/OIZjvEJFVFc/qtTkCNFBAaWVNezergJO7XF7XMVwLpDIU9E 8vGX4TUlad5k7U4m/nkJQ+yN3D8+ROFOPt8JfnkPxaX0lvM0L6hvgBFeFQKyTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618054961; a=rsa-sha256; cv=none; b=T6qj8t86JtQrR2DTVsm51cfqBVf6Wpi2tew3EpwWhaO9wXb8Lz5FhEtZzy4xAj+/dRf9Fg yp0gvPfjlE6Pf1uITI0N1F1Eh0/i83mW71JA9UGWgSQ3qoReI0C1nabEZ08psIb2zQVGTk CitU3NjEN8Ba4yYvViVpkeG35btI4vk/XbB2NOXO/pDCvzTTLnk1Of9XxcJa6D0KMsfQxF uncqf3vqGgABrGrGeooelQYzbFHppPA7YW8KunZP0wZoacsgKvOy9R+430qSSAmEV3mRCU 5+EJFgK1E5NfgNxwq7RmjiWRT1OM8qP56JP1P0xXDkeQReno7ggu18Ah3xEItQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=B38sNtzn; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=B38sNtzn; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9805114679 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: iEkDH2FL/iBN Hello Nicolas, Nicolas Goaziou writes: > Do you have a simple test case to reproduce the problem? Currently > sorting the following trivial lists causes no issue: > > - b > - *a* > > and > > - *b* > - a Consider this (unordered) list: - a - b - /v/ - /a/ The current result is wrong: - /a/ - /v/ - a - b With the spaces removed in `org-sort-remove-invisible', this would be the expected result[1]: - a - /a/ - b - /v/ [1] According to the National Information Standards Organization: "Different typefaces (italic, boldface, blackletter, etc.) do not affect the arrangement of letters." (see p. 3 on: https://www.niso.org/sites/default/files/2017-08/tr03.pdf) Best regards, Juan Manuel