From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ONtVFHlNz2bM3wAAqHPOHw:P1 (envelope-from ) for ; Wed, 28 Aug 2024 16:16:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ONtVFHlNz2bM3wAAqHPOHw (envelope-from ) for ; Wed, 28 Aug 2024 18:16:57 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=HSVsT0x+; dmarc=pass (policy=none) header.from=outlook.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"; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724861817; 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=yc9jLBQ8JqFy3AmWXrbKYyrHe9qQwYMpFWZiqqtpowY=; b=KZXqfbyLuI01RbBB9K7aR9Ol26gPbdLpA+ljtwVzQlSGjRGQ1lCQl293MDvczwvIGJvAzz XsQfPbt4WV3q2gISSfIEAA1sZPgNBDVidU5D9g6p/2NZEAYnZ0ugbmwteaarrhcOha4Nc9 zWTh2DysQoVXeO0xuGV9EZozh4ZMIY7yfDPOqrw4Dll49+HoDMU9PGbsNIUJbKi2kGOTNB +TJulXlFuhkwHaKqP/B6vh3RaH+s9fcx9k2jhvazTkFLe6XVag+w+ity1oGMGoDmIDQBMs Nr6HOOPwDOBVZ80eWc0Qv61QC5Xy/1VUz6lZp5daRmIjYWuB6WAGn3JuWDAKBQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1724861817; a=rsa-sha256; cv=pass; b=o/Ff7Eqy2Gzo43hW2f0C4IMvm18AHEv9sCyFIunhW7t+BhppvWxgWFWCLxsKzZE5g/ANOO 6aaEvr/yT0bWBY4LJEbH9Y0PXb3KNAVw5QzJtWlUG0DQE1j4oU4gddU4n1oLyiJsO+SvzO l6RGG/pSSnFWyPKhxgWnZARP36kKjXqleQkxEQ4WZqoy8SCp1cHZmQuAn7grZvldOm2mij V/SmcRDUI6Xnr9a36LseDk83ghWW/lOfDJ17nJ2svsKnSIxy2UqRYmRx6vc7qPrA2VPMlp gPcd4NGzQDlnOdOSol4oGOWuC/V0UmHoj8YufkH8vbT0zjAyZmW9fgK40Riu5w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=HSVsT0x+; dmarc=pass (policy=none) header.from=outlook.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"; arc=pass ("microsoft.com:s=arcselector10001:i=1") 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 EAB3713F30 for ; Wed, 28 Aug 2024 18:16:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjLLA-00023c-0C; Wed, 28 Aug 2024 12:16:12 -0400 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 1sjLL8-00022y-FS for emacs-orgmode@gnu.org; Wed, 28 Aug 2024 12:16:10 -0400 Received: from mail-bn8nam04olkn2045.outbound.protection.outlook.com ([40.92.47.45] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjLL4-0003Iw-SE for emacs-orgmode@gnu.org; Wed, 28 Aug 2024 12:16:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z6zuGalgFlnpzWZLAY8KZx6js+2U+KdKVWA1HQEIV3S1yZPPF8imPgqR2YIBmmeY16x9+qlsxM2Y5vkR/cTls5BAU2YhXlCzjpNqt7teFZ0hxTM9Z+IaPv4Ovv6ndhSRURBDY/gAnN60wl8J7+2rywIBV+o+yhWygAxqllsiQNyEQRX4T5E/PdWREpM+Xh+8k3UkeXJVHx2Xm57S/KkFo7kn+nECmWOtyziRJW/3o6R49dxIV+auK8ruUOUu4mHzp8hj9tiazWFoJDhp8OF2UAXnaFcqE5Y/USbb3KqZTxTkJASfdzGTRmT6gQzfrx7dna/G/SegFPz4kgdVgr6LlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yc9jLBQ8JqFy3AmWXrbKYyrHe9qQwYMpFWZiqqtpowY=; b=K9fVUgBX82MYl15c46ezQ1aViO4Yblz4bhpyz7PldD79Ht4329bvF6nOn5LeTmv118hXR2nWrIHRz+MxyAM4V5/zMp4Y0DLnDI2wh8MzDx+YFt6tV9P3S3SXJ+OHAoFEmZf22NtjWP6JsYkmCVcGD/xs9Wrdg5V9w8wzfyw27ozaURtBx5X2E6G3TI4moy/shzqFlZu2SkPqeVraOqw2oRf4F/nu+EJVcN1KlerCpvBDj+scvQry55fttrEHrSaNrmhm6mhdSx7o1Ja+Q0dTwwLtQG8mOC/4cAavYli2Hs5ur5MZbtsl8m/wTQ6t3Tzg8TIUbuZLN4+Tqlo4OubHvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yc9jLBQ8JqFy3AmWXrbKYyrHe9qQwYMpFWZiqqtpowY=; b=HSVsT0x+odoqCeYIC3kyntYExtoT3F3xgDUIsbV7wVVRh9+XG9Db5WSQ5k1HnteVLFU0muOASaHqPukThBay2ltu+aY+ESgAzyog0tx0PW38vqTDRKMl+uJdQQhLb9Wo3Zog1f2K5Ln6Dy1Lo5HHEwbCyQFAdCYiWZgSNQUAEW3A4AO8NxqzPpC1GUG24kJ3/c64vtR+9vHfr+xeZoJvPHOo8ZXJXi+MLwRTAk5egLCvGESPmH84exR4a6JaLRpPRmpUCFEKlOqs/2BkO5T8wZJzdlZyK8KwwWUhLmflgh8rfqGktxvXLUPbefHtYRMy3HLdRA44fcolKGGYJrrCmg== Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) by MW4PR84MB1825.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:303:1b0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.28; Wed, 28 Aug 2024 16:11:01 +0000 Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef]) by CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef%7]) with mapi id 15.20.7897.021; Wed, 28 Aug 2024 16:11:01 +0000 From: Morgan Smith To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy In-Reply-To: <878qwgy7vp.fsf@localhost> (Ihor Radchenko's message of "Wed, 28 Aug 2024 15:39:06 +0000") References: <874j9ugu57.fsf@localhost> <878qwgy7vp.fsf@localhost> X-Hashcash: 1:20:240828:emacs-orgmode@gnu.org::vPq090PZA5s4pwXj:1qu X-Hashcash: 1:20:240828:yantar92@posteo.net::RUeILKkAooERe2f4:9VsG Date: Wed, 28 Aug 2024 12:10:34 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Content-Type: text/plain X-TMN: [5MEtoXgSnjJRHKBz8o3RfUbISLo6I46N] X-ClientProxiedBy: YT4PR01CA0435.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:10d::28) To CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) X-Microsoft-Original-Message-ID: <87a5gw8w79.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR84MB3424:EE_|MW4PR84MB1825:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e2448ff-ded4-4469-7401-08dcc77c02b1 X-Microsoft-Antispam: BCL:0; ARA:14566002|5072599009|8060799006|19110799003|15080799006|461199028|1602099012|440099028|3412199025|4302099013; X-Microsoft-Antispam-Message-Info: 99N9q7xtos7kmZh/COcI4AJHs8pYSI2IxCF3k3jMBb5FPgvIiQX+eYyPAkxmISjkX3oYC5FzswQuLPNyGedofcQyl23j1p8G6qKKgvbivdENA5mTH4edZFQffxtf/IrPaCt6bL2kPPzJLlGph4ezs9GSc4OhYiMyQVeA1JFWrWnW14Sgrb1rvk7iqHR660E89jvOxugWC90yPPFZ05jXqX2iccJe3ZnsbVg5P8QtVwB71EVMO7t1ZtFzMgfIUxBtMX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WbbEVXRCnoGG9rx8gVEWYuw2zCUtBmTPM3MIuoMCKgFKS+?= =?us-ascii?Q?gzPz9geCz+cvnGr7ocC9?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e2448ff-ded4-4469-7401-08dcc77c02b1 X-MS-Exchange-CrossTenant-AuthSource: CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2024 16:11:01.7252 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR84MB1825 Received-SPF: pass client-ip=40.92.47.45; envelope-from=morgan.j.smith@outlook.com; helo=NAM04-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: EAB3713F30 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.44 X-Spam-Score: -10.44 X-TUID: 8/MGiP1e8tFO Ihor Radchenko writes: > Ihor Radchenko writes: > >> ... may you please elaborate what kind of sorting >> order does your function imply? ... > > It has been over a month. Have you had a chance to look into my > questions? After you asked that question, I decided to demonstrate the changes I wanted to make by also submitting a test. However, I thought it prudent to first test what we already have. So I was waiting for a response to my other patch (linked below) adding that test before continuing with this thread. I didn't make my intentions clear. Sorry about that. Thanks for following up! I appreciate that. https://list.orgmode.org/CH3PR84MB342464F6458F91EE5800545AC5C32@CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM/