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 MHaXDaPqO2Z1qgAAqHPOHw:P1 (envelope-from ) for ; Wed, 08 May 2024 23:12:03 +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 MHaXDaPqO2Z1qgAAqHPOHw (envelope-from ) for ; Wed, 08 May 2024 23:12:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=W3iS5ifX; 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=1715202723; 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=fyzumh8YRKN3XTQm1XNVFjNI078lAAFK1kEwTI/wzFA=; b=TKp0J1n+FGKV/AqalrAo6OkNwqs/wzVffecDZcq0wAlqudiqStkQCGED13SbZ/QC8b4RcL Ybuz4IFYrh18rj1yY01iDTaRbIvYsvM16aqXsFfF+mgI8jUKyq0IBR4NjTpPT12GN5bjAE UjHU0AK+3Wnp0Jpy8Kht4UgpF8aBWsSsyW98QgCyOC5cPBEXkywOqOrOnsHEyjF8whQ+ST 2TtxrNMG7Pe8D5zVCcsYxEpWWBVolztrJ6d+bI2O3OexgMMFm9DqW1QNMYB+9oENSbmueQ yz93/X8i/p/K8fOl/9Vz2Sk6tOUeBS4Rq9qF0Av9B+ph5uHKCP1ptLYMgXU+MA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=W3iS5ifX; 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=1715202723; a=rsa-sha256; cv=pass; b=PQOFY4+c6DfvyHs662aQpUfCu9nLF3mAbkLXIn3q2n5D/ZpUqQHlT84LexJ+SSro/VDGEo ybwEboSYmTb8xdaEQC3bKQC636s94ZFqbSB54iLrtJEdNxRKa9/JWwCDF17tt8Ze96NF+s dXcqD2ol3EOIynlwQFLTj2JO0rDW1S2w6XfQLzzsYUuBP92DO77Rgp/Pgxo/dwgOlUMnuQ pYqIPtES34PMI0mFayDA0HnhIaIM3wtYfdh0gTCFy8RUv3kr8Ii2k6qh0vVq2alnDwYVeh IWJvs3fX4DizEQ0lc7KDbClOzf2maXO5Uj8KS3tyjM72Af/tFC3Ip8O6j97AwA== 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 D36E6DBB3 for ; Wed, 8 May 2024 23:12:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4oZN-0001j8-8F; Wed, 08 May 2024 17:11:21 -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 1s4oZK-0001iB-FV for emacs-orgmode@gnu.org; Wed, 08 May 2024 17:11:18 -0400 Received: from mail-dm6nam12olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c17::801] 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 1s4oZH-0004f8-Nn for emacs-orgmode@gnu.org; Wed, 08 May 2024 17:11:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nlrtg8RMqW/xXMevoOVDcu4E/xiwOEEjTLqNa80TZXDg0gRhCaixyJmPYOcVBYcHdSRMyBzrlyaathJkLX7o9U/mMgIusFKsl6VHNeuwhqRe/QkuaYuDi60i+qLDQNkuzeejq1+I+YYOy/ynWhmHZrIk1t0BTGRe4mPtT9wQM/m29uos6x3WU9FSnUiTdsp60ylEhTZzc9INh890DCNbAZkGPqc3QPHwLbpG6gmu0BRRj5lgvk2vKcPBYAyFVsqwdExbPuW4VdZheNoNCL02OpSbrGuhIfhRRC6WQQgoEU2uamVRuGOclVNtNLHUES/wdpEZD5UCNsjF+b8CDUlhQA== 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=fyzumh8YRKN3XTQm1XNVFjNI078lAAFK1kEwTI/wzFA=; b=PJxnjaX593mhRYV9aEXeMVn9RkzcZxQcSZxBTUl4QQrgWiCqIiVqk+Rbi3OHD6u+3/VZnWQkYRjECyql9EZ5Z/nuNMgWrAiTFq3qkG1fsHTT5gbG1UJyXmqHYF/z2nmdahP7odpKpzjxtRX5RD7cz997fOMNVPbbneryMRtbwSdW4nlCLYAZeXGPNCJ6ML1eBHi6pRuHvhpA1HLNAKpi9tR82PambjtxQDl3tCPf7MEMpzeuJKFMOg8WjBXXYlyeALPhrhQ8G3Ef5n9QpiSq9FfzdyqGdNZHd7tqEECeAXv/9LcphNJOhva7J7GdUcIaCuzCjPd8b7FktN6g3qBR4g== 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=fyzumh8YRKN3XTQm1XNVFjNI078lAAFK1kEwTI/wzFA=; b=W3iS5ifXAkmU7n0XKttRf6fG0r/0627KYFN26jmRcj0LaIh48bWzZ6vQIzKdHLfo8pZauehp7dBhD+jEYc8Qnqgcz3Yj1GCHcoCDqWTySrm6g+dX+abc6HM4nFkcsnxrdNynfRLF4MmWrAAUSUwL/ETFZdaupZ5vRB0ppeqjE6msQFwRpZN8GvTf+HsF+2zCgbAuQgFt6WWd5wzT7PzrF/jNc/Yz/6hdhiKeW6aQMc4FaQv7ayGOo8DkMnvj55psJAZMckpRCjLn+g2yN2d0j1BI1m96KJEiLfngBrVKvEm9lNPy4AqRM3MMVhIrgYqX6rKIKpSp5D6Lsl9/TYbi5w== Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by IA2P223MB1227.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:4b2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.43; Wed, 8 May 2024 21:06:11 +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 21:06:11 +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: Wed, 08 May 2024 14:06:08 -0700 In-Reply-To: (David Masterson's message of "Tue, 07 May 2024 17:38:18 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Content-Type: text/plain X-TMN: [LPVC5yCcVO6rg01ZfFC8rGDBNI5QNU5YmkykMOLH/06guIuNWQPwVq7V+LXeK1zC] X-ClientProxiedBy: PH8PR22CA0022.namprd22.prod.outlook.com (2603:10b6:510:2d1::17) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <87edacypxb.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|IA2P223MB1227:EE_ X-MS-Office365-Filtering-Correlation-Id: 5be57ef5-2e3e-4be3-8c43-08dc6fa2b02e X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|440099019|3412199016|1602099003; X-Microsoft-Antispam-Message-Info: 1ws49vciXwbALTTnI6FQ6N9RBRuwRchUgk6AdCEMqayNUrlj6f57FjakZT4YYSX7naFLkr4cvfD/dAsDnPdpWH/OBwzQdXh+tkGNo3JjX0lGrbIX53sdA/FQukYvRYwU1f90lMcNhYzOCTjejEiQsUQhEdtOA6hbjlQPzvZQcipyS13ADI2KMHDzLS41rNTK7FwHoGPxdjWpFACs64oB8c/HYQ3thp5n4uOUCnUFFgDuNVIcVM/rHuEFeAGi3ayzGj2UIWrXwScZR93mXYtBXcZUJL4s28S/ofiTrB6/WNOVuNvX4QW7zLIXC0Nt/nS35LMvEWmCoiKxgTY1/RfJfLuC1GVCs64Vsq2QPZzkVyk3fK5lqRNOStfTU+wnPjJPFxOZxkekNWHyooLbL78nSKgDP48N/4I02BXtRXafmeAyJtQT8Lxqxqufv8jw7O5hp/tIxpkYH0edz7MkbNCfY0/fex0KWxI1n2ZkI2qwWzENs7B6lUPWaIl+GXRkhL+WPBvduRavwBQNVGlg2YI/UC08fk0eKUwGHUUsOkT7NPIG7NGa6NNpyT2ePDux2y4IXX3mquFDPHkUJXuardtSSFoe3iFiXWvTEwNnp+7SDEBSU3Fqi4yIHhW2lBa2C+ju2oZWa64KeiKgwOoP8KNbidmTT+bHmg+6LKbyOwSFVP9HbP7ZXf5cH4tr4tpUDN58eWC3i6HGeb5obSGpCnq5Xw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?9N27zErVBxX+0l4zNzUOQbhjNXWSJR6T59N7BTzg8bvvGi7HjtvhuiRlEhLy?= =?us-ascii?Q?5Doq92pom3htxkjnARpdVmhpJJUXEF9CkP8fI12mpDgrmU/hliYU25T/LYv4?= =?us-ascii?Q?A6AfbeQB2bWBz2LDjgP+NpWBgSj7sSsV2fWiTUSyCCjLOQttu0q2IobKyFhO?= =?us-ascii?Q?0bYj9QIE3A1mlrCmzyf4y6XbVN7KjtkNsqiEVFSCDq03BDYY1C67JsTgyU72?= =?us-ascii?Q?tZOpNEn2XyqkekX9SpUcm66uzT+4+/n2+k/Gg2toi9QLUZVhprwjXtpW7IJN?= =?us-ascii?Q?n6QZtvh3I7ogCUwXHAWR+VDc9i7J4wLysDjwncjdGeRc7mDj6TvFoipPdsOe?= =?us-ascii?Q?A9m1dlNF+pfplUzASzCqyQax/uTRHQnlvq5sUh6JbO32EtQ961LgJ4GsUasA?= =?us-ascii?Q?sVDKTR7IOuYF0GgRltOaFTUQuS+tTewBCmB8OYBxlvFdDfGl7I3BpgXjgmt3?= =?us-ascii?Q?WLaNf46B/v+szDTC9bMYoGc7IhI0B3EJN+aNDC6qiR2E1wgUTWebn/cqSBo7?= =?us-ascii?Q?V/JmO1uL+n5M8omZ1Ga0IwToHeIbSLcY2qxEv23A7TyPlz+DOZd+2vTiUqKi?= =?us-ascii?Q?OUjxTAF2LIQRW3AU724GohIyirNnaUVxNNqa1DL9R/LXR0Iiddjnj2Qu9jw6?= =?us-ascii?Q?V8TVFyHob7peMpteI/Tgvbsypb4qtOwn0DtVpVOqFXk+bKKi4kSKiSJv6GiU?= =?us-ascii?Q?T+si/SiA1ncwlkvuYFy1/R2e60TVlhHTAeb3T+jGDyXA7fJU6XdelM4LrpWj?= =?us-ascii?Q?88F93+TVptyNpZ4gAkIRKuvvDjGz8gJUT0yADAJ3+0jftVu6hKguxlHoG8vB?= =?us-ascii?Q?H0bVuODEbkq4l+JDuSXWf0MUMv2xlk7sbwO5LEw8/tPlTTrxJbO1068n/jmm?= =?us-ascii?Q?HY8MAX5jAJs9sILqdJlRYw+za7sKqjIOxlq0tCMZiOmFsk2spnMFZ1jHixJw?= =?us-ascii?Q?Uu6j7GIvDBRc+s9j98IS8xn2nrc8zEBDskptvjFwiFfOYkyxxeftHQ98hiNa?= =?us-ascii?Q?FOE9onQNkRgMvmXnaBRgezOstsnIFXtl8CUyO9GSdM6eFBQtBTivI4gGzHjN?= =?us-ascii?Q?r2LMg5MUs+GZhx/LgP881SOT82IERltQuXb48Vk7faGBhfMBqW2vCG7zLAZK?= =?us-ascii?Q?6qCtQKxwT/B49HwLNLnYtrG6TcKKeYlft2mrZo+tKLgnFikcHRu0tr6z275H?= =?us-ascii?Q?ik7y3Nba7DW7sYOdykf4an4KpiCuBk7WvLdF7s0giQTlIME7M8hEDD6I1Agx?= =?us-ascii?Q?URQUlveonzlRe3IrZRMRIC8emC1zk47VZz3PlyPqp3LOQ/DxrHkBo2d2LUlZ?= =?us-ascii?Q?CECt9Lm2Ass3NZwEAvK4TZBM0EaJXRGpGb7EE6ZRqeCszA=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5be57ef5-2e3e-4be3-8c43-08dc6fa2b02e X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2024 21:06:11.3599 (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: IA2P223MB1227 Received-SPF: pass client-ip=2a01:111:f403:2c17::801; 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.249, 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: -4.01 X-Migadu-Queue-Id: D36E6DBB3 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.01 X-TUID: 8gT7ZhZ0S8Gp David Masterson writes: > 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. I spoke too soon -- I'm still getting the same error about expecting a string. You mentioned '`' above, but use ',' in your manual diff. I tried both (along with rx-to-string). -- David Masterson