From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IBrSFvTOFmO6RgEAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 06:39:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OBvmFvTOFmPrfQEA9RJhRA (envelope-from ) for ; Tue, 06 Sep 2022 06:39:16 +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 11B5E8675 for ; Tue, 6 Sep 2022 06:39:15 +0200 (CEST) Received: from localhost ([::1]:47306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVQMk-0004rX-Gc for larch@yhetil.org; Tue, 06 Sep 2022 00:39:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVQKr-0003Cq-6R for emacs-orgmode@gnu.org; Tue, 06 Sep 2022 00:37:20 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:43374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVQKo-0000gY-VG for emacs-orgmode@gnu.org; Tue, 06 Sep 2022 00:37:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=U7mT5Tn7Bb2s7JecPtgMkpI17x0P5EgWc8cPec2ePIU=; b=bgaZhnwdwzE/kUTWFSlZgUAX1J 5+v1nFYjb6UhcdcdWipeqxEKjVtFXjR3ECL85sb4j84IXtgYFVkX8UUqDBuADuiTj0EqDLJh/1R/b 7gPPw13Lc6VvtjI+EF/4o66R0f3V6D4vJxyc1PWd7ZVNLvOLwTqKsewm8/TGuH2RCVYSNYCjniSLp RwpEWa7xe/I9XbTPyoQz8xRHu+ZM+3URzMEQYyOpDvjYQBFHibaJJV1sfIKdLsAboHyfEyT8bgT4L jcgCW178aPw1t7+k9iCz3TWebLAhnIF3ezMyMPaFb9ZGM8Y0BguS3WgCC4zpqelfXYfvsBTg+DqrN JYo/Ef0g==; Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1oVQKl-0006QP-Sz for emacs-orgmode@gnu.org; Tue, 06 Sep 2022 06:37:11 +0200 Date: Tue, 6 Sep 2022 06:37:11 +0200 To: emacs-orgmode@gnu.org Subject: Re: Org Publish HTML and PDF With GPG Files Message-ID: References: <86v8qe5pat.fsf@gmail.com> <87ilm7o9u2.fsf@localhost> <87edwqvybh.fsf@localhost> <7ygJxaKpsFdGyZ1JJK6BukB_kjnEUT20y3N3eY_sxAi3URjqP_3Map0QQzD9xK1njrS_TMuWDntdyN8lA-gEgWo4l-elDwnFHU7zMz35UA0=@tosk.in> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0Bg1zU0THWy3vqG0" Content-Disposition: inline In-Reply-To: From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662439156; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=U7mT5Tn7Bb2s7JecPtgMkpI17x0P5EgWc8cPec2ePIU=; b=YrfpRLrkmYT8Bcl7F7aIpzZW9CtVcZS7Sd0LKaYGBtBC0It16tQwOfxT3wFf0t6p8b0V7L sUUFNJ5LPo2O+CTY4F4P1ISfL36lP6CizTz19LNJjH9P0gEHy3WGrkr28Rcz2kn1CgEOFw CwdzjxWMPqpAKAjpv1OCtHy5UwunelUg9R49wTFBF3J1zb5O9JuCrOh+hhgKJy6y4Bn8+o +XEcBGu6wtkXK0XwVVrfGmw3yCL8b5RvAXI2PXopsLkz1HTvo0w5X79l0VeZZStRqNCh+g 8yRKCPmmpACzoFj4l86jjOLO8eWrezbPKRBMO1Bmk5MsGJTPkoXGjACVXiMckQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662439156; a=rsa-sha256; cv=none; b=NHueE0iY1Tirzsg12R7Y0zNXTNlbyPz5amKcxiNZPUX1guYdldvpHtTvVvgsm4DQFQG992 HdWcF9Ey+UIfdpDJ13JBXBcBYfMAqzk7OxF8IVcJT1PMBsf3plYk/TZwBrwX/4Mz6Ogg9l 2F+8nDcpdemJRArDpxyniCbAFDJzRV+z38D+RTaTx+zS+J3HvyUL0e5WdQiGxgbT7hXJb4 BODotBgc8oXXWt78jxDbZenvt8TwPy5RxnkF5P2fRZkmFo1jcLvujJvB6Bx7Ma5tdOJxqS GeCSGrIMp9zWBXJdUcVaUNgl4NWS9PUidg3f1uqQRHxyD7uLzIfTmOcDSRex5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=bgaZhnwd; dmarc=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: 0.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=bgaZhnwd; dmarc=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: 11B5E8675 X-Spam-Score: 0.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: bV1TzVxr0jiD --0Bg1zU0THWy3vqG0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 05, 2022 at 09:08:13PM -0700, David Masterson wrote: > lehi@tosk.in writes: >=20 > > Ihor Radchenko yantar92@gmail.com writes: > >>=20 > >> > David Masterson dsmasterson@gmail.com writes: > >> >=20 > >> > > Does org-publish have options for files with org-crypt entries? > >> >=20 > >> > We do not have an explicit option, but you can add org-decrypt-entri= es > >> > to your org-export-before-processing-hook. > >>=20 > >> Thanks >=20 > > 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" >=20 > 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 --=20 t --0Bg1zU0THWy3vqG0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYxbOdwAKCRAFyCz1etHa RtMhAJ9g3ijRauXWFvtGeDKGwAkgQi7LDgCfSkQruLaCImz09/TNa+5M0IbzVZU= =q8bo -----END PGP SIGNATURE----- --0Bg1zU0THWy3vqG0--