difficulty and can I help?
Best regards,
Radon Rosborough
[1]: http://lists.gnu.org/archive/html/emacs-orgmode/2017-03/msg00335.html
[2]: https://github.com/raxod502/straight.el
[3]: https://github.com/emacsmirror/org
> > It does not appear to be possible to obtain the Git repository for Org
> > via HTTPS
>
> FWIW it is now and since a few weeks: see https://orgmode.org
Yep, I noticed and added support for it in straight.el, see
https://github.com/raxod502/straight.el/commit/25a978830a78ecd73a89c355da47d3dc482a
"%\\(\\?\\)?\\([-+]?[0-9.]*\\)\\([
.;,:!?=|/<>]?\\)\\([cltseib]\\|(.+)\\)" myfmt) (match-string 4 myfmt))
"(format-time-string \"%a\" (org-get-deadline-time (point)))"
Thanks,
Radon Rosborough
If you insert the format string into a temporary buffer, then the `read'
function will read up to the closing parenthesis and update point
accordingly. That would be a foolproof way to handle all possible Lisp
forms: use a regexp to find the start, and then use `read' to find the end.
Then proceed
Ah yes, you can also check the length of the form that was read. Good call,
I didn't think of that option, which is clearly better than using a
temporary buffer. Thanks!