[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [org-element, FR] make secondary-string midnight compatible
From: |
Rasmus |
Subject: |
[O] [org-element, FR] make secondary-string midnight compatible |
Date: |
Sat, 21 Mar 2015 00:41:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
As is evident from the git log, I have made the following mistake at least
twice:
(org-element-parse-secondary-string nil restrictions)
I wish this would just return nil instead of an error. In particular, in
ox files you have to do
(org-element-parse-secondary-string (or whatever "") restrictions)
Which is a bit noisy.
For me the confusion arise because (org-export-data nil info) does not
throw an error.
Note, I have no idea if the error behavior is needed elsewhere, so it
don't know how feasible this request is or if it's heretic for that
matter.
—Rasmus
--
The right to be left alone is a human right
- [O] [org-element, FR] make secondary-string midnight compatible,
Rasmus <=