From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sCTZBtLYWGdHIQEA62LTzQ:P1 (envelope-from ) for ; Wed, 11 Dec 2024 00:12:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sCTZBtLYWGdHIQEA62LTzQ (envelope-from ) for ; Wed, 11 Dec 2024 01:12:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=qpr9b374; 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"; dmarc=pass (policy=none) header.from=outlook.com; 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=1733875922; 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=iRSYibeWc0/3D3Fs2VDY3bxvD/rKmOv+1dAeKv33zww=; b=VpMSrdJNNzRiFLv0+bZRPgZTH5zrBSFPBL/F/Spz05ZxgGEnv9STSd3EK5huSuJsN8IGQF 9xOGuIWpTUP9X4NhepKiOgg8dpSpcEVPcSyxtLTx4O4cVqY+7RT5FpIDX53J1GMit13RNG daI45W3SiLTgLdVpHViB4NvtJO4w0K4zLtfl+z/Rb8jZEU4EaP40nFs3TrduCWC6uoen+c dRzkLaHC7xAZzI+RBPqyAhlsMNfHEp663FDpTdq1FBpr59pgMla3rWoyAUB8ydzQo8Y3MF /gWuR0A/WjqrmuSftnUkzeSFQWJo6qItn+pG/z51yRuH2Ngm40UVjHu4ASm4zw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=qpr9b374; 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"; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1733875922; a=rsa-sha256; cv=pass; b=IQsDfs14O1plpiaP3TcheTM1G5N/oYaxjeMM4/5bKLFAb4fpA46MngtKOkrf5yT4wahfAR iH66qTySdbPoqBVmxi3aOYk1P2DawGMMfcT3vzMIDASPFqplWHwWMBppmWFb3q7InXmMdz I8urMF6uGAoyjMXOrkOhExDSbq9DBjEUGIAinnxFrPwK9jA3qrfMqxZkYqpi64pq7KwcIv /Vau+ffpbKQvAGcDQQMsvCC4kWAEJU97Z2RxQvijZFciza8bURkDgqS97tLTNSIQEaA/2z dbsEgs+sMvxDX3sXFF8rMtSiRcWHdK2vo6mJBUvIGraY95uXvFeA3XagNJX/PA== 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 DFAF080110 for ; Wed, 11 Dec 2024 01:12:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLAJ3-0005cq-U9; Tue, 10 Dec 2024 19:10:23 -0500 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 1tLAJ1-0005Zx-Gv for emacs-orgmode@gnu.org; Tue, 10 Dec 2024 19:10:19 -0500 Received: from mail-dm6nam04olkn2022.outbound.protection.outlook.com ([40.92.45.22] helo=NAM04-DM6-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 1tLAIz-0005lN-Mb for emacs-orgmode@gnu.org; Tue, 10 Dec 2024 19:10:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=F6+bFwI4Nq+e0yEUVCvXWMiWY+9mP11wZyzFirr1AeSy9K1RWIxJRfyLkfXi+7BjwvdyPua5zRlqnD+3sN66aEcn8kRoFcqdOQlPcg8+kL64pOaf6Kr2L4FuzRPgT+DSQHPx/URYo8QKgiZawy5GYWzpPTLkuiXemr+kf6S8QBIy2wup2gPsu08Ko1CfaF2OS9b78y9jUrNyIL/Fy6llFNvA1ois/apKp2QvldNyuCePi2Mt3s9kxGLx/TcfEPl2tZWadLKomwbwpgjSWFjoUkVwxTeEPIO5gqy8d0dc1peBQsBdljmqT9GFoCSjDBx4cBz7UuV9bWgqBns53m29yg== 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=iRSYibeWc0/3D3Fs2VDY3bxvD/rKmOv+1dAeKv33zww=; b=CNZBgwvDLA2z3eHgtFJENMhrM/XnfkMUngMm1qZXDIC3ljt3bW7qHPIfT9SK+WS+XbOVLbnjNpQTAUpxKlaXVNkgJzQc+B1kRFAnW2H1oA8jEvyGKeaY4rSsBgiIPTIBJ331JhGws0J/BxVf/ebutZxI4LJrVDVCbGo5YVi25MG4STXYDzZgEv7gaY2EQupIRWjw8aPl34aTduvu3vVweXKg3Y9Dc//LXY0BCAdZX5naEqBE9nHkLD0GIZAQoo90PDAU5txLtoRmET9tyP30iN7CBJmxSJnEc7H4y28SvOOIHOM9HYC86LVVYqGshnuOnpYbZ22oe26vt311B1cmxA== 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=iRSYibeWc0/3D3Fs2VDY3bxvD/rKmOv+1dAeKv33zww=; b=qpr9b374f96Q4TWp8T+MM/3GZ6kUy4BLxdrT8f9iy4bmqmvfJpsrk1unts1o6BWKjkXqqulFSOe/aylJZFyxbnPYIWjR00rFrkYafIGVf/Wr4b3jwheU9fwBCcBxMyWoE3WJoQE+Ikf7pSvliWQ4IIIYbvJ/AAjLlJARVaRTrfh01Hny7uR+AWeF/fSqbefgm3wWvB+JN2cRonKhAm8b8rHv5rfv9vwKi76XxrhtTM417IpDprKTgTuCJT9nfAim1elNLqLbn5EvyVHmCUb1NBtdqGYzB2yKuAw8b4DIjDts8CpWQoB7+OSn1KqTGBQNHrrWlUGUR3J5oXEmKPxNOg== Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) by DM4PR84MB3054.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:8:b2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Wed, 11 Dec 2024 00:05:12 +0000 Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef]) by CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef%4]) with mapi id 15.20.8230.016; Wed, 11 Dec 2024 00:05:11 +0000 From: Morgan Smith To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Testing: Add tests for `org-tags-sort-function' In-Reply-To: <875xrdzyvs.fsf@outlook.com> (Morgan Smith's message of "Mon, 02 Sep 2024 14:36:23 -0400") References: <8734mj8pn7.fsf@localhost> <875xrdzyvs.fsf@outlook.com> X-Hashcash: 1:20:241210:emacs-orgmode@gnu.org::09LtvgpvZpL+HDJl:1ZhN X-Hashcash: 1:20:241210:yantar92@posteo.net::4XjpeKS1w5JrCQ1Y:4znV Date: Tue, 10 Dec 2024 19:05:12 -0500 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Content-Type: multipart/mixed; boundary="=-=-=" X-ClientProxiedBy: YQBPR0101CA0036.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00::49) To CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) X-Microsoft-Original-Message-ID: <871pyfm6dj.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR84MB3424:EE_|DM4PR84MB3054:EE_ X-MS-Office365-Filtering-Correlation-Id: e5e74133-ab77-47e7-a7b4-08dd19777aac X-Microsoft-Antispam: BCL:0; ARA:14566002|19110799003|15080799006|7092599003|461199028|8060799006|6092099012|5072599009|13095399003|3412199025|440099028; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Tvu8TWsrZ7qeuLBL1JKCQ331DPk5sVhgUy1rA7+64zx+7Q93G7GuXgbieT7u?= =?us-ascii?Q?ISaOGZyPQ2GY28DKuGa2vDahjLPkMRQqF2XMzufwe1s6+urNe46RRpK8QQNY?= =?us-ascii?Q?37H3LLVb7rYdra1GsmXCI/7PEVyYv0kbjtNXoyj2RGk+m9rliiSV+BKXjxNF?= =?us-ascii?Q?tBU0CpErO6aHSoeEWayo1LsTDtgVQiT7vJbgO/vU/mbQIXYLxcU+95QUnOmU?= =?us-ascii?Q?877lfwOvx6Y2+xUYBCpsO4WtXdbkdPxQ5lnc/M0MxXGhuh7a/rk9qTRNSrD1?= =?us-ascii?Q?Ve/eldk5N5p1s8elHdZceZ9OlDM4J/yakWL6Lr8YbfbDkOPSE9zy1R8dgmhU?= =?us-ascii?Q?D3z4uOArCZKVgwJEFKkRklvd0+R2vxKTxRG93DhpqWCjZ9xf2owaHQ0zKBmN?= =?us-ascii?Q?qy3pWjhj610EVmEwq9HzesK6ygpFLotFUKKA1kLug1rV5QStaivEeMkT9Tl+?= =?us-ascii?Q?baBf+tUlSlqz46HV+U2T3NkMabuepWTUFDcJvQLemRVW1t2r3lE/ssdhIPX7?= =?us-ascii?Q?p2Xf3McT3i5BaPOHBsjWRDmCsploxPxA1xVj2fANX7qm9T8PLnOSwkFMbOxx?= =?us-ascii?Q?hGouPbR79alby08e6bxwwDoGAF1ZVceXVFV+Q3AGHTWcf7iXOxBrEmnP7dQA?= =?us-ascii?Q?Pfy+Zdp5d8/y9A/b93Xm5yEoe5oO/hZ1mhyyVHAfysBc/En9yQeOt63ANfLJ?= =?us-ascii?Q?CcobHVOZ9bI3VmFWHH36w8tkJaPpYCZmibbtMG8tkb8SEetN4f0gYedyNHtg?= =?us-ascii?Q?jYzFI0BuM+RiIdO+CwwW2kZj4Xr2s3S2GwoxRL9Thw2NZtInv8Qip533h6Y6?= =?us-ascii?Q?xa1FEtVs1/ZPehDI3no/fU+j1WzN2drZ54WMlnUcWF/W/5O9j+fTLxOJRKQT?= =?us-ascii?Q?xR68jk0Cyas2HQhoPVMy5jecCdOG0dna3CVlhguubpRQ8fuDvpsM2aydUYUl?= =?us-ascii?Q?qs73pG2iM+pzZufdPVMssGjp4rRmFfvz5/n2L/42Fxe0uSTRf803bt+i6riG?= =?us-ascii?Q?dy9UHCC6h4gvDeZnBy472YwIcyhoJ6kjE7aghdpSLeCMel/QbEYymIdKKEsj?= =?us-ascii?Q?U51EiFKjE8fIHfAF6tV8B3Z0JgdruX/EaNdLAKSiblWFV9h+iaw=3D?= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?OnlvjZCS4tfk+Qu7Ccf39R8CaGTDq8s5qSfRs6e3PARVqf8gyjmIb48HM8I8?= =?us-ascii?Q?u7lZYKDCdueAqq5FknZ53/uFQtT4ipsbfrdzTHNd4Jdm4JMagHy7GRHU/ttb?= =?us-ascii?Q?+h7f9epYFZ3IPX65T2vyd5GuUaouNh1DeH4rbWEbFc3/4PxTjmloevLM0JnX?= =?us-ascii?Q?7Vw5urhh+R8jGKiMcNtNemdTkGBunlYwfoZ2LaQPtfz1E2bwASk/N6C2su4x?= =?us-ascii?Q?DOIioJ8WW8vF0nUqbSEGLRciQg3vYjmr8Uwpv4MW6ASeJHngtz9nJnTi8cfZ?= =?us-ascii?Q?MF8DCvdd4XofZBUwjFP8jDABpxaJ2MGxVdBkfHzgDlQwgNIOSwOhqYlHhB+B?= =?us-ascii?Q?dSAj7ap4Lw85nplS/cQkZDcd5ay748fFswjWyfAaVLYBNRMRe9VIudVDG5Gy?= =?us-ascii?Q?KPWmMgAtx/Cp94Keq+WWZowasLZCAtXQ0k/t/U2kyx4EoE+X9t4fAlik0v50?= =?us-ascii?Q?7CgyqMZIH3kK612gWIFpdMhjD9GvIACiA5SOVopIAp0JAjDX0ci6LoDaChTC?= =?us-ascii?Q?yxMHQcNG8FTJt+orBhmnFIHbB+q+B01XJzUiaVpLPXA5hRumT6oNhX3lQouA?= =?us-ascii?Q?xP14Gt9Q71fSl7x8GihxNAGliZlYlGtRe/zXsRW7vVYH/8ol98GxR0mIt52P?= =?us-ascii?Q?qzWXRkI5R9HJfbHl4/HS/I3MSGXa9wXBqLCaDtlIUg3p0DWLQMtUbQWgERHs?= =?us-ascii?Q?07Z6yFMKeLjhNP4MNCyp4iEG5i8dZfAW0SY2ZgYLZhc0vYRAuQuqmwQTXLw1?= =?us-ascii?Q?HDeVugw2fmbd9NcznZG8UBEOGaNOVRbf+8+jHH0mwK0vRJDMMGxErmWRDhxU?= =?us-ascii?Q?Nv2buVIdXwzCx3MDGLq5o117MAgKmpLBKA7zcghxAf/H/odwq4IwrjdX6YX5?= =?us-ascii?Q?zCXp2mYpxTqCQhDDBc80K382pGxiZZ8pgop1tLejSak+UAmQvouS3GUXE1jf?= =?us-ascii?Q?b4UlPbpXbIoXh74c0Lm7kMKSgz3ORb1oBykE41jSN4N2jnnWKAJmDUwmQaNx?= =?us-ascii?Q?w1INL353gz2aVF+ys8qq3qgCSq6Op5dsxx7wt0YgdNDJqIGy00uh1l1h9Bp2?= =?us-ascii?Q?pTHlRoq/TwV9za07kx8sBniyafBAM6Cv1s9Ulp+pg4o6G5HGoc3mAZDbozfs?= =?us-ascii?Q?iynJFYZWdFECP1ODwZv9QQyYtYeemutl7cbZf8VmOYnBZP+RzhL8Flb1Np6r?= =?us-ascii?Q?t4ZlMWd6KxHGsh1mRZXhsR/TwDKWUNAMUz62qN6KZzPqrLHw6iXpPlblpQEm?= =?us-ascii?Q?QtgfZKdqp1bxb9IqjoZ+?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5e74133-ab77-47e7-a7b4-08dd19777aac X-MS-Exchange-CrossTenant-AuthSource: CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2024 00:05:11.0680 (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: DM4PR84MB3054 Received-SPF: pass client-ip=40.92.45.22; envelope-from=morgan.j.smith@outlook.com; helo=NAM04-DM6-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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.90 X-Spam-Score: -5.90 X-Migadu-Queue-Id: DFAF080110 X-TUID: i1uUH0WL+p3v --=-=-= Content-Type: text/plain Hello! Morgan Smith writes: > Ihor Radchenko writes: >>> + ;; TODO: a value of `nil' sorts it! That's not what the >>> + ;; defcustom :type of `org-tags-sort-function' says! It >>> + ;; says "No sorting". >> >> Right. When sort function is not set agenda specifically (but not other >> users of org-tags-sort-function) falls back to alphabetical sorting. > > As far as I can tell the only place where it doesn't fall back is in > `org-set-tags'. > >> In fact, the docstring does not at all mention that >> `org-tags-sort-function' is honored at all: >> >> (defcustom org-agenda-sorting-strategy ... >> ... >> tag-up Sort alphabetically by last tag, A-Z. >> tag-down Sort alphabetically by last tag, Z-A. >> >> We need to fix this docstring documenting `org-tags-sort-function', I think. > > I don't understand what is happening in `org-entries-lessp' or how it > even manages to use `org-agenda-sorting-strategy' so I'm going to > refrain from trying to document things I don't understand. I've polished the patch slightly but it's almost identical to what I submitted before. There is one remaining issue as you can see above but I'm trying my best to ignore it. I believe this patch can be applied before the issue is fixed. I would like this patch to be accepted so I can build off of it to submit another patch that includes an alternative function to set `org-tags-sort-function' to. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Testing-Add-tests-for-org-tags-sort-function.patch >From e0ec4bf01230b3e38276daf709dce9e459f1b3e0 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Sat, 15 Jun 2024 11:27:34 -0400 Subject: [PATCH] Testing: Add tests for `org-tags-sort-function' * testing/lisp/test-org-agenda.el (test-org-agenda/tags-sorting): New test. --- testing/lisp/test-org-agenda.el | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/testing/lisp/test-org-agenda.el b/testing/lisp/test-org-agenda.el index 778f91e8e..5f9916232 100644 --- a/testing/lisp/test-org-agenda.el +++ b/testing/lisp/test-org-agenda.el @@ -655,6 +655,50 @@ Sunday 7 January 2024 (buffer-string)))))) (org-test-agenda--kill-all-agendas)))) +(ert-deftest test-org-agenda/tags-sorting () + "Test if `org-agenda' sorts tags according to `org-tags-sort-function'." + (let ((org-agenda-custom-commands + '(("f" "no fluff" todo "" + ((org-agenda-todo-keyword-format "") + (org-agenda-overriding-header "") + (org-agenda-prefix-format "") + (org-agenda-remove-tags t) + (org-agenda-sorting-strategy '(tag-up))))))) + (org-test-agenda-with-agenda + (string-join + '("* TODO group_a :group_a:" + "* TODO tag_a_1 :tag_a_1:" + "* TODO tag_a_2 :tag_a_2:" + "* TODO tag_b_1 :tag_b_1:" + "* TODO tag_b_2 :tag_b_2:" + "* TODO groupless :groupless:" + "* TODO lonely :lonely:") + "\n") + (dolist (org-tags-sort-function '(nil org-string< org-string> ignore)) + (should + (string-equal + (string-trim + (progn + (org-agenda nil "f") + (substring-no-properties (buffer-string)))) + (pcase org-tags-sort-function + ;; Not sorted + ('ignore + (string-join + '("group_a" "tag_a_1" "tag_a_2" "tag_b_1" "tag_b_2" "groupless" "lonely") + "\n")) + ;; TODO: a value of `nil' sorts it! That's not what the + ;; defcustom :type of `org-tags-sort-function' says! It + ;; says "No sorting". + ((or 'nil 'org-string<) + (string-join + '("group_a" "groupless" "lonely" "tag_a_1" "tag_a_2" "tag_b_1" "tag_b_2") + "\n")) + ('org-string> + (string-join + '("tag_b_2" "tag_b_1" "tag_a_2" "tag_a_1" "lonely" "groupless" "group_a") + "\n"))))))))) + (ert-deftest test-org-agenda/goto-date () "Test `org-agenda-goto-date'." (unwind-protect -- 2.46.0 --=-=-=--