From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MJzoNuzKOmbfUwEAqHPOHw:P1 (envelope-from ) for ; Wed, 08 May 2024 02:44:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MJzoNuzKOmbfUwEAqHPOHw (envelope-from ) for ; Wed, 08 May 2024 02:44:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=ZR5ihm9w; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715129068; 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=dq5HqnRNfsqDYvTNStGf4PtPzp/BMu90lXTgIF8+rY0=; b=iZTPUlCsD5Oa80JqgoVLaZHWSPhaA2i/qmYv7hQ+vLrya+GwDWMD3RlPFozqqSp7EeA028 1xd/wrdlQArjGLJnYdu8HNlfwIOmGX8aHQvXuQyRJ/MDawW9ayQVSZ5eI49UEsoE3l+GM0 EOZrKWdXbC8LHyFZUR+xIl29vRKoKwuB5Wu61l+wqpfP5JXxp60S6vHIizvbolKn1bSbiG ChCyGuiAxS6LyNTLtUqMGA+wJd8nSUiCZYyuSzSqCvmB7XnPJX/WNik9FJvDd37+UfX9DY k9ZFMQa2HybUT41SMAAlFzuI2gb8yo6QeERUqw5OuZMYBGUIzBCPazI5b3A+Yw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=ZR5ihm9w; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1715129068; a=rsa-sha256; cv=pass; b=XeCthMbBPsOvHh3P2nJZxEXzyxARfwRvnJHTChuaVAvbFnm+awKX1o8iEte2jzrtnWQkd7 9q2boT+NhW9qhG8ZmWGed73N240v9aO39ejDohyb7CoDbUInaKQEnCCxAnq7u352tGLoN5 86AXtU8RIriDFuQxBj309FFgnAwCH7qYE2ZDQNFJN83/H7e2bhHvNaR13UEjEurucw4FsG UA4p9AiMXRWZG02PQ0hzUuoBTZHBbSGTLhToGtxFs172JcXC6Wh4OdhLdEk4wEQl0jq/+C WhNbAsPodatwITEuZIx+WG9mUbZWBoktKGPQ5WeH6sMdv0RqBDo6DzpN5SwGaw== 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 3622C68235 for ; Wed, 8 May 2024 02:44:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4VPA-0004pS-3f; Tue, 07 May 2024 20:43:32 -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 1s4VP7-0004oz-HM for emacs-orgmode@gnu.org; Tue, 07 May 2024 20:43:29 -0400 Received: from mail-dm6nam12olkn20800.outbound.protection.outlook.com ([2a01:111:f403:2c17::800] helo=NAM12-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 1s4VP5-0007MH-GY for emacs-orgmode@gnu.org; Tue, 07 May 2024 20:43:29 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Eba8nec5QgFTj4fOHOY5MXPa9r/R57O1CS0svD/QCSGWNN1P2mTo3cXvwrGtrLpHrNrCIhI/7CWrzXQcG/mtPGAJTkXeAp0lbX+f3aTkGAYOpChkJhvql3qPoDTXSWcTzYhxMAlW+VmpCIqLIWnhA7kL5K1fqAaRblheP5hWhqLWqfCCT8XC43CtBn5/2RXO624vFEOAskS2A1wMOURsIlatqRS/A9ZIYBCZ8+D12N022jyB0N/nHfN0KSJLAXpPLqYWdWYjWOReTQtLg8eYkH64EEUngxIWIQQ3kT73LPpG/wvEtrhJf+aTJDs5cCOVTEbQ0l/PbTgY0pDHpNYNyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=dq5HqnRNfsqDYvTNStGf4PtPzp/BMu90lXTgIF8+rY0=; b=LeWf0ouQzOvEd6HzCIKpqoMWCyrrM7bzyZYNO27mVghXTV0JET/wMFSWK2p8xJ9qLbMcK1gClMvJCpYRrs/aU4iGGUs2uZQhqCnKzCZO2Z9eSL+mRNibbEI35KVYZjKfn8sTqZKfeG4m/yyvHq9HdGM7xxM8jwQzshyyRAEj/rLe2bnwwl/1fJwk6Jyh2yN13BrdL3eZQ6yw+QMucsrPZycgXhCSGgpl85avUVrsU0rnoNyXWOxXcfMH3ouu43FrPd4KCffBx/UHsKgrLLYb6oU5bSInVoLA0YXxcD4BojZNfPHyM4rCmQaD+bHcM5z3GNDJ6Va30FEap/xHYfL+9g== 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=dq5HqnRNfsqDYvTNStGf4PtPzp/BMu90lXTgIF8+rY0=; b=ZR5ihm9wFLE3/N+f+6P3zaiN95rlmUYs24AKGJ4Buq+np09WgUno4B4THLK8zbHM828UWcoPGIGidMholOscGlMIPhdQ16oO5OvVwUS0t/biNuJtuCnrrMhhlpQXG7/q1QBButdYVT1Ui7NY204MjJTnI1iavjBxNIFV2vOQg4qs/g1HuWSwRnuK53onImkhJZWMcQPfmux9/JA/KaJS+aJ4ILrZ3eDRT39lJcfIWNHceqmj5+eyyAHjX5GK5n1IdpT4y9Qwu2CEyboKQYISS97C1t71X+9IaANYNHw4aRT9WWRglY3NILRhIOq0a7TQtSusPX+mqTIVIVWht44iBw== Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by PH7P223MB1097.NAMP223.PROD.OUTLOOK.COM (2603:10b6:510:31e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42; Wed, 8 May 2024 00:38:21 +0000 Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01]) by LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01%7]) with mapi id 15.20.7544.041; Wed, 8 May 2024 00:38:21 +0000 From: David Masterson To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Q: org-publish-project-alist and :exclude References: <87a5l4tp9f.fsf@localhost> <87seyu2cyd.fsf@localhost> Date: Tue, 07 May 2024 17:38:18 -0700 In-Reply-To: <87seyu2cyd.fsf@localhost> (Ihor Radchenko's message of "Tue, 07 May 2024 09:22:50 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Content-Type: text/plain X-TMN: [5uGgca+Lqlaem+ODCe1sDnVCbbykh0j2Qc7f24DGM5zhvI3YYc5ZIBtZxc+FV3ku] X-ClientProxiedBy: PH7PR10CA0019.namprd10.prod.outlook.com (2603:10b6:510:23d::27) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <87jzk59lz9.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|PH7P223MB1097:EE_ X-MS-Office365-Filtering-Correlation-Id: 98393182-e64a-4308-9b58-08dc6ef7295f X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|440099019|3412199016|1602099003; X-Microsoft-Antispam-Message-Info: l0A1AHOj8qSp/X9sNSm7aUfKdKJE/HvcVbYoDSgCpDb1j9bw5jL899dDAdoHztizi1b0XuXXt8ys/meHCPQ9wGeU97Egyf6LDBUwEtyuOmEZW9ld2TqBvy3tfAmLwttnps7KbPu+cq4GQDEg/VXZ2SRbkMm9XTpve6aNEuMVXi6YdOf/INOE+DF+mGvsYD5LSwviXBiq/HHITOnymVLFFVTJMdMteNm/OoMva45+g2kLZWeC+GcaDE34Rfz7CB9uaPkNjjsMp/stW0SdWThcVyvDaze7R4mullkxXmojZXLV+abHpCHMJ+x1vHgyDKzlbpITayaM1MuPuP+AC2WKcTLRPwLdaPn2wfGXb4biQ8Vo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dvbPjJ9OL4e0La6egMwTkz+SCBKw89sAzXfrQj+KTMF?= =?us-ascii?Q?m/Euuqf4rTyrrIGAZ6Xjsv7cSyoAR2LW39rOvhUFEUwQNe6zSThUO5ES8gdW?= =?us-ascii?Q?caYlwCHrtTpaEGoI0sCHbsQ1n9/8YrOerWlxXMCv931wC0U0t6Qfmgn93Iai?= =?us-ascii?Q?avIdKs+m5oddgpOHb2QXW0nNyuC37mhGJAWRa1GQeYYVgG3m0kzxgCQOLQyC?= =?us-ascii?Q?/021EPia9sCnRbZamQxaT2K5bGx6GPKvPPBcsWCaqH9p7Ziub29AnVmAh61Z?= =?us-ascii?Q?YwseqtYLg3ryAIvB1BBZHbhwFxYMRSuLqAfQy2ivEOV69wQTBkuywKJc+zHV?= =?us-ascii?Q?byU+58JG8BtstVK4WqlMUOmhx2STSGwpdWxX/YZJsWbypC/DRTmro4mHiIyn?= =?us-ascii?Q?fyTse6trHp+hUxOL+Kd3toMPNLvS0NvSA3WL1xqaiNaXNhASiIlcMZF1unpi?= =?us-ascii?Q?oLs86b5mt3XF3rUiI1XXE8DhpCkw1KYtLZ7rRK7GQFpDeDJ/fXz6BXKFN1cn?= =?us-ascii?Q?f6NGM/HnsaY+Pin7OlDqBtY65lToKu6Kz7qFALxl20qWMzyn9WcMF+h9UY7F?= =?us-ascii?Q?DOBQllgoNxyeWq0GE8Q6tvCjhQnxO9DDEMIOeU0EEK266jS8dKbkeUyd3pzm?= =?us-ascii?Q?lj6wXRc/Dgt7Nm2COCbjUO7wucGofqAOpzVVH0+U5Op5NkQCU55yt8q4Ml0I?= =?us-ascii?Q?C4G1Q539VNxT+/kWNSibVDE5MT4PkKODq7c9oE+DGNFtWM/aQ1+w7K+u9ePY?= =?us-ascii?Q?MVWHNT3l/xrw6l9JRK/9h8Cmk1kLEspxjQ6mlOSWx7PGTw=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98393182-e64a-4308-9b58-08dc6ef7295f X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2024 00:38:21.1406 (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: PH7P223MB1097 Received-SPF: pass client-ip=2a01:111:f403:2c17::800; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM12-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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-Spam-Score: -3.14 X-Migadu-Queue-Id: 3622C68235 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.14 X-TUID: 0Zbn04GkMm9j Ihor Radchenko writes: > David Masterson writes: > >> Hmm. Couldn't get rx (or rx-to-string) to work for me. Kept getting an >> error that a stringp was expected for the argument to :exclude. I tried >> variations on: >> >> :exclude (rx-to-string (seq (or "init" "calendar-beorg") ".org")) > > When you have '(:foo bar :baz eet), nothing inside is evaluated because > of the quote. To evaluate expressions selectively, use backquote: > > `(:foo bar:baz ,(concat "foo" "bar")) I always had trouble with '"` in hacking Elisp. I should've studied the language more 40 years ago... :( >> Reverted to using a simple regex as above with proper escapes. Can I >> suggest making the complex example in 14.3.2 of the Org Manual use a >> better example regex (in rx form?) as a hint to what :exclude can do? > > Sure. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=773bba92a Perfect. -- David Masterson