From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UIksHRj9G2OG4AAAbAwnHQ (envelope-from ) for ; Sat, 10 Sep 2022 04:57:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +OwCHRj9G2OphwAAauVa8A (envelope-from ) for ; Sat, 10 Sep 2022 04:57:28 +0200 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 E82CF9EAB for ; Sat, 10 Sep 2022 04:57:27 +0200 (CEST) Received: from localhost ([::1]:55606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWqgQ-0002JH-97 for larch@yhetil.org; Fri, 09 Sep 2022 22:57:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWqfo-0002Ir-HD for emacs-orgmode@gnu.org; Fri, 09 Sep 2022 22:56:48 -0400 Received: from mail-mw2nam10olkn2080d.outbound.protection.outlook.com ([2a01:111:f400:7e89::80d]:39713 helo=NAM10-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 1oWqfm-0001ye-Mi for emacs-orgmode@gnu.org; Fri, 09 Sep 2022 22:56:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GRL8Z3PcHlsy/EcjUN1J64vxN7Q757yaiSxfos+2QjNP2Jj6wkACDHdmYsp96q6sKtYL+/YqpjDf7sdQg+Kl/xeaJpgy8qDzb2FODOqXfuYSwlXtSTYWHHZ4Yz2xvGrWTaR1ZyOU65IAwS/vmZxwdADbREhARIuqmYCFaQzS06xc1gcye39ShnNKII3zKLDasmT4+o776dpriXZtiI8w9IvpyLmkI2Nu++wyneA8PcHMBZXnKqseb0CsUn393DdhJh8w6FRYzU+X4LE2DC0xsDCt3LvLSfgGZ+wSC6nJTgvsVgqFnuPIFIgnF/LtxiZqSsf9dgGH0aJFHHynzEU8Mw== 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=rGs+A3EMRyeYDblL4JzNTj3kLZuprhETAKax/9nuF2M=; b=Q6ZmrEIeL2EdGZ6P6yn32ndAvUdqQ7JiZI5NO4YFm74NsBMej9saNjCgBJfgMGjKhk0p2H3m9vA+9VgQpvhDl/tB3kYUd9z6scQ/tTiLh7UVcqQ15Vs5pOSTC7Cg9JebVs76na9Wom8uurpUmy+2JU7hs8EcSIGK0f4ATJ7NsrgOpVRU+c2ZMk5GXoA4737ReKILkH+wrc2POexhK/kwaGvAhmV3bwaZc3UyTmq474qi+N5hU8hgpLqy/ozT54JjuaI92INYEAE0kTxOc43Tp8XCVdeU8o8gxZmJuabzdRrQD/boyL2nlv/4my3/lE0b9N2HSuLAjwQCwC35SIRk4A== 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=rGs+A3EMRyeYDblL4JzNTj3kLZuprhETAKax/9nuF2M=; b=sKZIr19+Y039VJAYFJbuGHfofjLKg8NIVjm7WL2BPoHRxx+ACOfQYdvgSZ0CD+LOnbUr+PTixuHhwMiB6ZZwSHbIcjCgy5h/l82qlCyDn+CaSaqlPXg3fFCvXm+E5Z4euGPXi65ygWus8igXBPDs397CvhAVRab+GThKPwMXnqWwfZoiKUgOxyqFMT0r+FqjjNFP5fvL7QhRHGbW1HVXdnvFO+DNmtml1yb6RLGcGLAAKwQRMGlsT1YPrTXualUulAd1ab6wXi8WP6oF4lUKFM4wRnQs3uVtb39QZC0/Mx6EmuVlMvd9Kj0Gb75vW+ge7dk2gtdoLOiyf7/gVQ2VdQ== Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by DM4PR03MB6976.namprd03.prod.outlook.com (2603:10b6:8:43::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.20; Sat, 10 Sep 2022 02:51:42 +0000 Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::54ea:20d:c00:b6bf]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::54ea:20d:c00:b6bf%7]) with mapi id 15.20.5612.022; Sat, 10 Sep 2022 02:51:41 +0000 From: David Masterson To: Cc: emacs-orgmode@gnu.org Subject: Re: Org Publish HTML and PDF With GPG Files References: <86v8qe5pat.fsf@gmail.com> <87ilm7o9u2.fsf@localhost> <87edwqvybh.fsf@localhost> <7ygJxaKpsFdGyZ1JJK6BukB_kjnEUT20y3N3eY_sxAi3URjqP_3Map0QQzD9xK1njrS_TMuWDntdyN8lA-gEgWo4l-elDwnFHU7zMz35UA0=@tosk.in> Date: Fri, 09 Sep 2022 19:51:39 -0700 In-Reply-To: (tomas@tuxteam.de's message of "Tue, 6 Sep 2022 06:37:11 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [IoVppNo5kHPQtFq4Uy1sNh6jBsyMiZ4ixZW7lDWhnajK+hPpmAAdYzi1MuOo+cw6] X-ClientProxiedBy: PH7PR13CA0022.namprd13.prod.outlook.com (2603:10b6:510:174::24) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <878rmseybo.fsf@gmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB5455:EE_|DM4PR03MB6976:EE_ X-MS-Office365-Filtering-Correlation-Id: 8cccb6a5-c9e7-44a1-c218-08da92d763b3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pN05jw27tTss+NHHFYzLSUu7ErdH0y1/pMD2Lyfaw6+xYhwwwPXrEFqQFRvdZhlclIArpNCzccsPLssWlxolrNq0ygHyNc1qbTmb+P79pw0O8vTd0aJfup9pdTcTkSqSLrH1wo9md3JHInby/+ScSEh+38G0wqGce40itlqytsxv+MT2WWCgfOiAI0TUG7iefBPE+7jxTrnz317UN34tdV3Q9JcL9Y9Pfldg7WnjdBMMD+VAhrVoYOwglqPYFa4D2K9Q/WUyomYdeNZEQeuoa8FhTFfA/x5TCYZykqxndlBMj2r0Wi3Z/LbX3lZkuhArV/VeVVfMGRImAXCA4Nl2/ZRyLhTLYmujel0KVE7jwHlLJpnbh03gRrrLzNqBX5PadQc2vSEW7QrTik07novo/5/oFRXAK0JbRt/z7lKmymFJGhVIKVXght06HezUjvAjWRTEG/q/N9UFjg3AJp9v2AJPu6wjjeffE6bTJKuyN5nl6dr3ajmHO55f4VQlZQc87a1f74xlrKZ8Z/At2KgkQhVEzyxAvM8Pwgnv6dZd5V7UA04htRXcvfvDpR/JYDyJnaAJA1pACPivy60A89XTXFyAG4lGOYlC9Cs6ffleyAajYOtBnIbu5iKGt5z4i0/AVhn51fXi1WW7MQPfaLEnmpryCTWuQTuTSL5nui2OdlqJKNklwO58ziduCW/zv6kZ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?1bTbPxiwiFpAu76Blz7ZZre1ZmLwnQsRTRz0e4dxUzHFcQ836JaNK0PUfwi/?= =?us-ascii?Q?vFaHTLwVTzwTRZBhM2u5zsUmwvGDIAyca60iS88Py7rxSHj7toTa7Dj3FkPe?= =?us-ascii?Q?tXcq2ThW/gm1wS3CKYu8aelkJfjnOCamKDxBcezjlJUWtpddOXJLuYRPNjqE?= =?us-ascii?Q?S6PCqya7rdrw0NaY7DUyQg3WhADIGViyRzxUaXBx+712QobFoUiCB62z6kZa?= =?us-ascii?Q?NU3cjze8L67xXnNuc4j4IBxzkXuHBZIY8Fm6wcEwHrKj9oJCImoHt0VdWbmE?= =?us-ascii?Q?mocjzhpKlv3FuRRjYB9Ty9thgRixvHT5/qPnpeVuQOI/aOJUm1xvzNA8I4CR?= =?us-ascii?Q?/kg6v0UwuSr8X0kdTlzb+cxArW8OqfdsUxk/+iBDUUj2l+Pmtm1X+mCc942e?= =?us-ascii?Q?zTzxaJy6Qb1DtWYoI8ZoUDF8Eg0zLBba7eVmzUHu5bybv3EQefvYFd9k8Qxs?= =?us-ascii?Q?YS9QmSXW3XMr+6x8RqthyWTv4CVcHoIthycfT7q5GPPVlqrqlUBkOzUWmN/i?= =?us-ascii?Q?rE2gN8us58IwesP0I7lqDWLZtzmYdKjzVHCGIh9oFXzn1I4Me9/t9dilbQab?= =?us-ascii?Q?78010YErSmoQ8oiMDbVDdaMogHHkPQC4Un0gll2M6BKIohlY8ze/WXzxwckn?= =?us-ascii?Q?E/1pFtHOelrCC4v798D5tdSCYFqjYXqQHoQWtE77sQF5Lis7hi8vNoN25Gmy?= =?us-ascii?Q?B63WF6EqJ7hgWi+BmrxjHTGTJmzDXiz8TLtECdBFTh5CLBUWULCAr1FPbOFg?= =?us-ascii?Q?5U+tmld4MhmzIx10K14sKo7l9oNPuOrirjL/6jmkuKEH2kSkWBiLwTxK+4mD?= =?us-ascii?Q?jHtgWAkBTp/4x3MV7YlcT99DWbe0Uq1Fbas09i/KPNI4/9gYvYVWgLgME0E5?= =?us-ascii?Q?xaHP8utcdohykfs6AH81gkum5fZkydodHfA0byCA6XXN0PyTnqdOYRk3bbnX?= =?us-ascii?Q?6+hKwfVYvfkHBGkYK+KJvWhJOmt2FVt2Kui0GzPL+a/Y/woWo40s+fBWJIxR?= =?us-ascii?Q?dFVHmdQ6fwi4LkTOjy6wsr1As/3Jbmz0ZMgxU5cG6r62XOv29SUFVeP1wXQX?= =?us-ascii?Q?r0etQSp1XtlUKLiLii8QLLwbPwA9R/pqO6u1UAU5uxB6X5JrEks7WIsykkjW?= =?us-ascii?Q?68k2XemOOiQhhwgkBu5RS9igxDdLKCg8tyYLVhIB5c6MwqUOU4+sB+kTpzvA?= =?us-ascii?Q?qNcfZlhgNjxhmpIbA+F4Qrw5wkXL7EX2sVlyon5TJNUWpSfkx9JSX29IUcql?= =?us-ascii?Q?Jt4iH2McEXff2gXhx66ZAeCT4blbQo+tME1MlHkpsD3MisWLLybjEjwd7XZd?= =?us-ascii?Q?jgClVScd+TR/mU5C11hfXLx5pZdPO2yihO+HozN0Vj7qi+hpOK0gp88Gbr/B?= =?us-ascii?Q?bARUW0n50IpS3GeEZj3TfRS6IllZ?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8cccb6a5-c9e7-44a1-c218-08da92d763b3 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2022 02:51:41.8757 (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: DM4PR03MB6976 Received-SPF: pass client-ip=2a01:111:f400:7e89::80d; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM10-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662778648; 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=rGs+A3EMRyeYDblL4JzNTj3kLZuprhETAKax/9nuF2M=; b=MGpitbRSZAuhmvAfcdET2da93t7eCXmbE7WUKlFvF8F+i9oOj5jf/oamiD6au6jN35HNlP uCipJAlaDOI5RZbd8JZPiDMrzCakkKmlDPySpseWmHoJyrBBFmaxZRhRO30G8qaLOkX1aG 9i8h36+HcmOVVkkrgBIewuigB0rtrrCSNGRHuupZDG1P6Q+jlb98B8qPNzOWHQY93tJSkd zzlDwHcRWrx8SJMkE3fF8jSsB+QRau1ICepqyv/V9kX3ZA9086EpyJVRKXDtA1we53rKsm AQfHKGuI5zX4++R/wofzRYCNDfXtXDBruQ8ZfoBHbTerylKH4JRKTKwTk+nDoQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1662778648; a=rsa-sha256; cv=pass; b=LNGOFx1JTBFhGx97am2aUahuddcPJyBP0AOraI3UyGrdqEXdNIn4dFUhdV6ByeKAQpUZ2e yitNX1ZTFcbR8YgODqVlKiVYUoD2DLPord5HzxBpnR4IQtMDgRciSYYOvhiPnjFDFsYD5E 5oQWfZbK6JomizlEuOnFGs8lUx4ELjLDF8dgCmi5FyN6DBJuIf7t99XgEy9SWGe3mKl6YP tmTmbJUUVm0xm1UVap3o8NQTSJp3XbuyubNaXW7EoCpoqmGiC2PkYTkwQ+1kRL3ftWNPD+ PjmXzN4yq8Yq4HIxP1hefUxgVZ1uKenWAIabQSFW3eXHH9fep6Agp28xqP/Hmg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=sKZIr19+; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 2.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=sKZIr19+; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: E82CF9EAB X-Spam-Score: 2.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: v7XIZ5LQPhYx writes: > On Mon, Sep 05, 2022 at 09:08:13PM -0700, David Masterson wrote: >> lehi@tosk.in writes: >> >> > Ihor Radchenko yantar92@gmail.com writes: >> >> >> >> > David Masterson dsmasterson@gmail.com writes: >> >> > >> >> > > Does org-publish have options for files with org-crypt entries? >> >> > >> >> > We do not have an explicit option, but you can add org-decrypt-entries >> >> > to your org-export-before-processing-hook. >> >> >> >> Thanks >> >> > Is there a specific way of setting this in the config? >> > I tried adding `(add-hook 'org-export-before-processing-hook >> > #'org-decrypt-entries)` to my init.el, but publishing fails with the >> > error "run-hook-with-args: Wrong number of arguments: (0 . 0), 1" >> >> Been awhile -- what's the purpose of the '#' character? > > Its nickname is "sharp-quote" (actually the whole #' thingy is called > like that). As ' is just a shorthand for 'quote' (i.e. 'foo is a > shorthand for (quote foo), #' is a shorthand for 'function, i.e. > #'foo stands for (function foo), meaning "the function the symbol > foo refers to". > > Being Emacs Lisp, you could just have said 'foo, but this has quite > a few downsides, one of them being that you blindside your compiler > (And your human readers). > > Cheers Ah ha! Thanks -- David Masterson