[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Org Publish HTML and PDF With GPG Files
From: |
David Masterson |
Subject: |
Re: Org Publish HTML and PDF With GPG Files |
Date: |
Fri, 09 Sep 2022 19:51:39 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
<tomas@tuxteam.de> 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
- Re: Org Publish HTML and PDF With GPG Files, Ihor Radchenko, 2022/09/01
- Re: Org Publish HTML and PDF With GPG Files, lehi, 2022/09/04
- Re: Org Publish HTML and PDF With GPG Files, David Masterson, 2022/09/04
- Re: Org Publish HTML and PDF With GPG Files, Ihor Radchenko, 2022/09/05
- Re: Org Publish HTML and PDF With GPG Files, David Masterson, 2022/09/05
- Re: Org Publish HTML and PDF With GPG Files, lehi, 2022/09/05
- Re: Org Publish HTML and PDF With GPG Files, David Masterson, 2022/09/06
- Re: Org Publish HTML and PDF With GPG Files, tomas, 2022/09/06
- Re: Org Publish HTML and PDF With GPG Files,
David Masterson <=
- Re: Org Publish HTML and PDF With GPG Files, Ihor Radchenko, 2022/09/06
[PATCH] Re: Org Publish HTML and PDF With GPG Files, Ihor Radchenko, 2022/09/05