Re: [PATCH] Re: Org Publish HTML and PDF With GPG Files

2022-09-25 Thread Ihor Radchenko
Ihor Radchenko writes: > Subject: [PATCH] ox-publish: Allow linking to encrypted Org files > Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f99902ecdfa4357035fb04f44b3baa8cec260530 -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at

Re: Org Publish HTML and PDF With GPG Files

2022-09-09 Thread David Masterson
writes: > On Mon, Sep 05, 2022 at 09:08:13PM -0700, David Masterson wrote: >> l...@tosk.in writes: >> >> > Ihor Radchenko yanta...@gmail.com writes: >> >> >> >> > David Masterson dsmaster...@gmail.com writes: >> >> > >> >> > > Does org-publish have options for files with org-crypt entries? >>

Re: Org Publish HTML and PDF With GPG Files

2022-09-06 Thread Ihor Radchenko
l...@tosk.in writes: > 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" This is

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread tomas
On Mon, Sep 05, 2022 at 09:08:13PM -0700, David Masterson wrote: > l...@tosk.in writes: > > > Ihor Radchenko yanta...@gmail.com writes: > >> > >> > David Masterson dsmaster...@gmail.com writes: > >> > > >> > > Does org-publish have options for files with org-crypt entries? > >> > > >> > We do

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread David Masterson
l...@tosk.in writes: > Ihor Radchenko yanta...@gmail.com writes: >> >> > David Masterson dsmaster...@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

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread lehi
Ihor Radchenko yanta...@gmail.com writes: > > > David Masterson dsmaster...@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. >

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread David Masterson
Ihor Radchenko writes: > David Masterson 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 -- David Masterson

[PATCH] Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread Ihor Radchenko
l...@tosk.in writes: >> Thus, we may simply extend `org-html-link' to work on .org.gpg files in >> addition to .org files. > > Yes, this is it exactly. Can you try the attached patch? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread Ihor Radchenko
David Masterson 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. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at

Re: Org Publish HTML and PDF With GPG Files

2022-09-04 Thread David Masterson
l...@tosk.in writes: >> Tim Cross theophil...@gmail.com writes: >> I do not think that things are that difficult. org->html link conversion >> >> assumes that the linked .org file is also exported generating the >> .html file. If I understand correctly, .org.gpg files are also exported >> during

Re: Org Publish HTML and PDF With GPG Files

2022-09-04 Thread lehi
> Tim Cross theophil...@gmail.com writes: > I do not think that things are that difficult. org->html link conversion > > assumes that the linked .org file is also exported generating the > .html file. If I understand correctly, .org.gpg files are also exported > during publishing process. (Lehi

Re: Org Publish HTML and PDF With GPG Files

2022-09-01 Thread Ihor Radchenko
Tim Cross writes: > I don't think there is an 'out of the box' solution for this issue. Part > of the problem is likely because the handling of the gpg decryption is > an Emacs function done outside of org mode i.e. org-mode is not really > aware the original file was an encrypted gpg file, it

Re: Org Publish HTML and PDF With GPG Files

2022-08-26 Thread Tim Cross
l...@tosk.in writes: > Good Afternoon, > > I have my org directory filled with encrypted files ending in ".org.gpg". The > publish documentation says that org-mode will > automatically replace references to ".org" files with ".html", but this is > not an automatic action if the files are

Org Publish HTML and PDF With GPG Files

2022-08-24 Thread lehi
Good Afternoon, I have my org directory filled with encrypted files ending in ".org.gpg". The publish documentation says that org-mode will automatically replace references to ".org" files with ".html", but this is not an automatic action if the files are ".org.gpg". The resulting HTML files