From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 mEhyOWt6OWYBCQEAe85BDQ:P1 (envelope-from ) for ; Tue, 07 May 2024 02:48:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mEhyOWt6OWYBCQEAe85BDQ (envelope-from ) for ; Tue, 07 May 2024 02:48:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=X8y+3wLe; 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=1715042923; 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=eEzzpXWoqR4zPJiSAchU2Hd1TOS2IYmR0ZmcLtbglew=; b=CyQaSILsfAAfTTGfVtWpDgQR0mF0hz3ZoMsZwNoxjqjft3TEqcsd0a+wayHzuiWND2VvtR sTYTGrg0cw+akpvaAZGveLsWuZQbKDoSOGTPWAWTl8dTX281+9qKbreEIHf8bgudHnnyAu BCALd4s2CFKZtsfmG4EnRsH3aCc8ub5RZraXakSfh2c+tyMqAS5rWlmj0odUC+lhCNyn8g 8xliBTDereF2qm5uxgZkWSJX9FwwBahfJyp9QKCtZeZoz/6qiN89l/vrVGW6jzedFAqUaa ccnDW+XSDQI180nNKmJiUAFGRlZ8AEXwHcAmAXSGMfiWdk0wQulRYpSYaUi14w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=X8y+3wLe; 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=1715042923; a=rsa-sha256; cv=pass; b=p98o9+nAIR53k2qs5XQbdZzJxhZ396zdwcV+52/uzWHJ1gBWVPZUATWxpyEzZKtKKtmzM2 jHmGzeRovWKUdxSJr3UdYrfDIU8J0SViDerki4+TsO5QJiAViFTG0MCc+9BfRMxDakfZ7c aSWJfYyUixUAhxMGtW3Fg9mAkqKjgUTdmRcRxTIKrIFIQ7yThKcIoMbPFg0So0q7rvkzyH kIGEqJ5KQIDqaakG6E+qygnBB1mll1YHJC2qTnJJWRGEqBK3uYT5UFtP8BkzZpHsJZpjij 47z7wHV5B1tmyhuCR9GfIyacBDtrOudxe/kWyJbo9SSRegUTIWjZDgPNMTBQrg== 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 911CC710D0 for ; Tue, 7 May 2024 02:48:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s48zp-0006BE-R1; Mon, 06 May 2024 20:47:53 -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 1s48zo-0006AY-A2 for emacs-orgmode@gnu.org; Mon, 06 May 2024 20:47:52 -0400 Received: from mail-mw2nam04olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c0a::801] helo=NAM04-MW2-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 1s48zm-0002jt-Ns for emacs-orgmode@gnu.org; Mon, 06 May 2024 20:47:52 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PjNLQWozkpT4DFcwrUI1mJ3DzDTNC3pJwDCEGO7sIgVtL67O+eOCTYH3obHb97hLRsI/9K174th2FwnVBjXAJ3bLuy/yEjjfeQActqINtp060yi1EGvQRqgU+RUCYWpeYbN/KXCYzno0Mo38jv7eKRPeZbMUowZcDMB9yCg/DmTKwCRUuq+TMKJ9ghLzyy/+cbdfoIsDcc9CBAHVFyuZV4zYqrSYLxPyoo6WGNMiVbphQugyqRbLeb1FpRCWYvXc6F3Sq1dUtUXPhPhPcttbHh5jj9WjzqDlQ/xpS3LOfMWsOIYIWnq1ESjpNBpj48iB+3Eba++Ugi9UeLJ87VHYQg== 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=eEzzpXWoqR4zPJiSAchU2Hd1TOS2IYmR0ZmcLtbglew=; b=N1iUF9lEj46hax7KaMVuxZ94AIu33TuQc13EGnbKAmP/QK+Tn17Mf1P4kIbwPgVBPsQJ6HCuZiQ8UyBBPQA/K7EGwd3BkY6rRonznRR/llXwOonXh5qFpipHAJs3o7zTgF0z9CnCZXNm04C6VbZHdAIYBPhom2kWPMORv3D12msn5W3itPOi4tlRidfSrfGbZzQ0JyLDCLu23xgUwk6X6Ds6mpCPTADS57EbQuqK38sPiZMk5vc41IVZWx8Qxl1W+TPstH2gCTuwDtHM5yL3VJrtKseP6cJkFlqwBPRF9fk/6bn9yo5uJV0ApawRJM9ETEjsDvfURRJuNdFE2+Iaog== 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=eEzzpXWoqR4zPJiSAchU2Hd1TOS2IYmR0ZmcLtbglew=; b=X8y+3wLefQUl+X5DjAi6TzwmvuUNgOOgY4PU1hLI6RuSJAnCS5ZEXnNpyiXKp+2QFTlGkgMQeyskm/O0o1bJWz3xWggJrxjQZFB4zwncY8rG7jj6+C5/2KRpYtovQSsHuUh1eCQ54Cma61VE+1H+st+NEDuTjRJR51ZKxTJa3tKNJrUrZTfdc6fx7+MG/qOjtJwFMNxsYq3hyk4t1+r5w5YoaK9YZYrdPlTRJKvN00tbST46uKXaDrPMGYTucVoU1Wp8M8VJN5kDTnly4rVhnSdjBi6tNtNl0hkiBDTn1vmVR4rhc/TjVyrefP4nQ0SgOa8JVcejfDTzcYa8Iiy1Ow== Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by IA2P223MB1175.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:4b6::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42; Tue, 7 May 2024 00:42:46 +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; Tue, 7 May 2024 00:42:46 +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> Date: Mon, 06 May 2024 17:42:44 -0700 In-Reply-To: (David Masterson's message of "Sun, 05 May 2024 22:34:14 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Content-Type: text/plain X-TMN: [S/6PHjnkHZCrB3H33zlFOFwKBVDHapq98PCPhf/KgKwSirQEqu8vNAQERu0EdKQA] X-ClientProxiedBy: PH7PR10CA0005.namprd10.prod.outlook.com (2603:10b6:510:23d::11) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <87o79ia1vf.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|IA2P223MB1175:EE_ X-MS-Office365-Filtering-Correlation-Id: a36deded-1011-482a-ca1d-08dc6e2e9cfb X-Microsoft-Antispam: BCL:0;ARA:14566002|461199019|440099019|3412199016; X-Microsoft-Antispam-Message-Info: sSW+ywNP1MDuhBKaVOrntghFKVk5HvjCPo8Qt7Djy9qT8crcJu5+JrtCDRnu/Sevswvx4nEc8UdtKsCYw82Xvs+3AlnngIWd4whKD8rlFsiFtlTLQd4ioQgR/8wAXTu8U0hHZbafvWz1HEeQxSunp1Iibf2b1WcBzKZ13wzkxpR8BfT3uGC0ca5c5awrHFGHZn47xGokhvglEQEyDmnGWORpe4SlPZm/qgXpCL87PSBHDDmR3ZJFzbVfwRpntPjhCYWogGTesBBZBrSpXA2r5Bvfkn2K+NYSV/ZM5ABeKIS8PzWwZx8hnEbY41viDVlc5p2dvXpf97DRk++m7MtWyX4L6LcwN6ZqkbKr/TfHEiW31GbpTzutOEqv1uuFLPJg0VXZbm8Z4O65wLscjG0RXT9f3BqakjQkA3c7IjLxNrqYfZP7cLBtEafmL1OLFsnLVjx03mAtoO2vyRvdIJQAaVhwPoKyH6+bofTpfo6bfbouMsWfN1rdNo5JhkV4sPtUC0RL35KThFWJuLxzTTkXzQHoOW3+dq6qU5MNq3S5OQk8gSCSemgm6gs6kV01Kamp X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?4HwSasSN6vwmMDAVZ2ZsT87ec9126DkyYvWYLJbGacUbq91yUWXN22giQHHX?= =?us-ascii?Q?IlBFKMDVHZaDFQgYolvI3/vNCkbbHxfESWYxncE1y0eLrJO+Db94VBqFUQ7s?= =?us-ascii?Q?ik9wU0ZgjRZTwOH+/QIS0kNfgxqCAmS2MB3N1rIkyjcwB+ogeiVRk+hNJX8z?= =?us-ascii?Q?yzyzVh5lgD+bcQKv46t3sKiotOSYMLN53KJ5nWLeybpjmVAdF+9gUTqHRm+z?= =?us-ascii?Q?uD/AwfrBBpX3w6TXshsPXllzOVajosV1wExNyIpQ/K+u7atk2lpTm9E/CT8M?= =?us-ascii?Q?cCHvDYouNT06rv9ozOxwId1imUjRmPb88O4w3Gc9efxUj5vldayxKPmCG96l?= =?us-ascii?Q?UevzgFTGlCCJP2EcXIUgIJpI7cfVQaUCHgMxM/JokIzrSCaj7VGFiQHogMi3?= =?us-ascii?Q?MuB6zmKCQ73ShGa4PFc4AtoZmhfZ37TGypkIdTLBKG3mO1WWk52wsCtSk6K2?= =?us-ascii?Q?YSphAOxO262UhPinb7Dg6NwXi6AfUkZ29+M6cCQaQrDuwOS4RsMR+rUMg/Tf?= =?us-ascii?Q?02/cEg1SF9ucc1pJdM5Yf5HBqx8sj9qTm//tD5DOeoUclW+TNDsWvG/qeZf/?= =?us-ascii?Q?ZzRRpngo+KNO2+xOhQWFFSeZOoADbvvrbnRgDl134XKVqeE/4b/fh+NZtwSG?= =?us-ascii?Q?ZTmGUfd4PmzA4VR30k0vZF3iIVSF/WDXR+xgG2RDphF7oM1NM5JKljXcNS7Q?= =?us-ascii?Q?5NHT2eaBB26Zu5kkh9a1ty38e2fnjVk/DHp4Ut+DFCxJWzGohAb6PeujlXfW?= =?us-ascii?Q?xGVq9g6G9oUG+0RytJzSmDfV5mnE+ZhLW8PBoPg5NL57Zv0lCrwtQe6iSmGP?= =?us-ascii?Q?ENxFuMMWdc9xxMy7VFaHpUzY+ysPu1dfcCVgAXwrR74Eyv6GkfZP5EDqQJE3?= =?us-ascii?Q?6+rv70VLgLXwJN3AXtUhkvCWOIctKbW7GGT4ka2tK43ov8BY3w1nqjqSTNu9?= =?us-ascii?Q?7IIsfUAjFDiSlieohO+Ylf3gjFfvIODSHurKfrqeDeZ1c13+YOYfVGdU3ajO?= =?us-ascii?Q?ZFGl5J1xLrpr9nhx5PuOpdup5AG8WQZ8R5OGvIHacSuY7AiCM/nJ5TrhZfqQ?= =?us-ascii?Q?WkA45a9Z83Q8d2fSFJx5n9adZZoY8Ni3Ed77oyJmbSUYyMf/NMWLaQrmq4s7?= =?us-ascii?Q?7jBCzTBW5KrlqbfyJ7ZoSKyXJR9gj4vixFkEsF73lO/NONTvezszlf3Iv58s?= =?us-ascii?Q?vTgy0LnFJ9tFUC8HJir94wnuRuuGZhteWXarY4LsBYkBqf5EMcrnxz9p3zYk?= =?us-ascii?Q?kjLqTjKlnI46hC+b1+wmh4+cW8J3+A1Eq5Ezv/VExCnViJv19pS5xTL1vTw+?= =?us-ascii?Q?v3FLrLHQhL2piiFkSuGG6RLEagkhPpXamDRdR+wN5Btg+w=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a36deded-1011-482a-ca1d-08dc6e2e9cfb X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2024 00:42:46.2727 (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: IA2P223MB1175 Received-SPF: pass client-ip=2a01:111:f403:2c0a::801; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM04-MW2-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: -4.18 X-Migadu-Queue-Id: 911CC710D0 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.18 X-TUID: 5h3OmqK1gJWc David Masterson writes: > Ihor Radchenko writes: > >> David Masterson writes: >> >>> So I have this form: >>> >>> :exclude "\(init\|calendar-beorg\).org" >>> >>> but that doesn't seem to work as I get an ignorable error in processing >>> calendar-beorg.org (a known Beorg issue). >>> >>> Is my regex wrong? >> >> Yes. You got to escape the \ inside string. >> I recommend using `rx' instead to avoid the backslash hell. > > Thanks, I didn't know about `rx'. 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")) 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? -- David Masterson