* [org-element, FR] make secondary-string midnight compatible
@ 2015-03-20 23:41 Rasmus
2015-03-21 8:45 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2015-03-20 23:41 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [org-element, FR] make secondary-string midnight compatible
2015-03-20 23:41 [org-element, FR] make secondary-string midnight compatible Rasmus
@ 2015-03-21 8:45 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-03-21 8:45 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
Hello,
Rasmus <rasmus@gmx.us> writes:
> 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.
Done in bcf6970369e0cbf183ab2b2865fa215d0781e7ab.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-21 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-20 23:41 [org-element, FR] make secondary-string midnight compatible Rasmus
2015-03-21 8:45 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.