From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QJlhJOFIgGDzdQAAgWs5BA (envelope-from ) for ; Wed, 21 Apr 2021 17:46:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +P0CIOFIgGCREQAAbx9fmQ (envelope-from ) for ; Wed, 21 Apr 2021 15:46:41 +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 11AFA1F630 for ; Wed, 21 Apr 2021 17:46:41 +0200 (CEST) Received: from localhost ([::1]:38600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZF3o-0001tH-8L for larch@yhetil.org; Wed, 21 Apr 2021 11:46:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZF3I-0001rf-LQ for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 11:46:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZF3G-00080P-HF for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 11:46:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A7DC92400FF for ; Wed, 21 Apr 2021 17:46:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619019962; bh=cID9+mcE3uiSz8GRUzTyHjbkaJB8MzEjrcpxtQwZPAo=; h=From:To:Subject:Date:From; b=a+5+YXEZBVbhExCgUpB8qmTRECFhINwmv1ia8Ese/C11Ns8JBXKCq5wdltd6LEoNh +zApm/N1rU8NnlMODPwGVCMWYw2jxWPW4XacpUcn2AByhgclyVbAarQX0/aG7FKg2R 9xZsUNstva5+crSJTRJttuoLaBSVH47uEkEbRtQK5T5g5qbaSmE6UA/rf3H4UcZmE2 ff+3xRJ4WkxGAloFXWvMAnC1PLmOJS6FMug3JtS7K+P4g7uw2T8j+oiG3+VTNuEPZL 5SX1/qwcluSWHr3g5osCZFRAJIeM/aeuWzhLVFaoTfQ9mWJinNJTqOKTvDXQzeMkHi nCSwwAkWy/Lgg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FQPzD33Xsz6tmJ for ; Wed, 21 Apr 2021 17:45:59 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode 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> <87lf9fa3ak.fsf@posteo.net> <87sg3n8f33.fsf@posteo.net> <87tuo2d670.fsf@nicolasgoaziou.fr> <87r1j6b6ku.fsf@nicolasgoaziou.fr> <87a6pt9hyd.fsf@nicolasgoaziou.fr> <874kg0ae0k.fsf@nicolasgoaziou.fr> Date: Wed, 21 Apr 2021 15:45:57 +0000 In-Reply-To: (Maxim Nikulin's message of "Wed, 21 Apr 2021 20:10:50 +0700") Message-ID: <87a6przlmy.fsf@posteo.net> 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: , 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=1619020001; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=L2Hj7KSTRRGhoycBmq0f/5sQkn2M7YqmeGX8ze7PC2E=; b=n2AEXgMeXAzBBW+BmjgVRBzEYVBc63qfuTYlBgBc5xfDvccj3Lj+i1wdhPf2Ea9riI5gId mFLBwc3mxbM//MSsMLncIdSMp1fIjSBHPBwmuI3mC1vLhVQkheLeLEBkXy6zWJeNenDu7+ t89fp+YtEkV821sA2XOQJkq6JazlYlqff5vTSxBM8NsZ3wJVCKMOhBbj5g6xORaSmQoJqV wAFEcYy+AA5iDzYFiv2MN3SMGwPJbNRDj4+gQJ+O5Ml1P1cj0SMzwMO9eOpU3CiIeFb2Y3 qLmpZJ7JvyWHelndhmZzyp+4HRnC+NK3cV0YKhcsCKxN1u/bFQoNJslQE2dKOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619020001; a=rsa-sha256; cv=none; b=GhlpIGDZCYE8csCJNaVAgtxvSMQWCXshzBFaE5mKyWyffLB8Ce5nfeUC30PxZWZPdtq9hv SDVD7uUC8c/QvtbpcbhnYFrSiWMyieNmMcH1fF9RiGhgbXigTpw9WTZilwUxGXsAlo0E0N e96Bzr4wH5nokm9dhq8Jpu6fHVPHHmhGNEfrN+Om81eJJfxxUolW1kCF3n4bgoImyOSuGV HMQzWT+5IjMEbDjzIkyECV0X3dlRrNSXgAlHDqPouG9E1TxwVNaLETCwroiU72smrnpQy6 ZUDO73H6CQtvjO9HWppD+57GAwZDaeqEAtl6dNpTOl4uPe672ya6YT3Yh9m5vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=a+5+YXEZ; 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=a+5+YXEZ; 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: 11AFA1F630 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: IncxmtUk02nP Hi all, Maxim Nikulin writes: > I think, new variant should be committed even it does not fix Juan's > case. He have not confirmed the fix yet. Sorry, I have been busy with other matters and had lost the thread of the discussion. I'm catching up on the messages... I have tried the Nicolas' patch (latest version) and I see that the items with emphasis are already ordered well. However, it seems that the problem with identical items with or without emphasis still persists: which items should go before and in what order? For example, in the following list I get: - /a/ - *a* - a - *b* - /b/ - b - /v/ - *v* - v Anyway, I think it is a minor problem (I can't think of many scenarios in real life where this problem is relevant). In a more realistic case, the result is correct: - lo /bueno/ - lo bueno - lo /vano/ - lo vano ... - /a/ - b - /v/ - *z* Best regards, Juan Manuel