[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] org-export-with-broken-links not respected for (org-icalendar-comb
From: |
Jorge P. de Morais Neto |
Subject: |
[BUG] org-export-with-broken-links not respected for (org-icalendar-combine-agenda-files t) [9.6.9 ( @ /home/jorge/.config/emacs/elpa/org-9.6.9/)] |
Date: |
Sat, 09 Sep 2023 18:45:43 -0300 |
Hi. I am on Gentoo. I wrote the following Elisp function:
--8<---------------cut here---------------start------------->8---
(defun J-org-icalendar-agenda-no-babel (&optional async)
"Invoke `org-icalendar-combine-agenda-files' without babel, maybe ASYNC.
Also, make broken Org links just get marked as such in the
output, instead of stopping the export with an error."
(interactive "P")
(let (org-export-use-babel
(org-export-with-broken-links 'mark))
(org-icalendar-combine-agenda-files async)))
--8<---------------cut here---------------end--------------->8---
When I invoke (J-org-icalendar-agenda-no-babel t), the async export
errors out. I determined that the inferior Emacs process does not see
the let-binding (org-export-with-broken-links 'mark). Is this intended
behavior?
For now I have worked around this by writing
(setopt org-export-with-broken-links 'mark)
At the end of the file named by `org-export-async-init-file`.
Regards!
Emacs : GNU Emacs 29.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
cairo version 1.17.8)
of 2023-09-03
Package: Org mode version 9.6.9 ( @ /home/jorge/.config/emacs/elpa/org-9.6.9/)
--
- I am Brazilian. I hope my English is correct and I welcome feedback.
- Free Software Supporter: https://www.fsf.org/free-software-supporter
- If an email of mine arrives at your spam box, please notify me.
- Many people hate injustice but few check the facts; this causes more
injustice. Ask me about <https://stallmansupport.org>
- [BUG] org-export-with-broken-links not respected for (org-icalendar-combine-agenda-files t) [9.6.9 ( @ /home/jorge/.config/emacs/elpa/org-9.6.9/)],
Jorge P. de Morais Neto <=