org-make-toc
org-make-toc copied to clipboard
Fix: more forgiving drawer regexps
Abstract regexp for beginning of :CONTENTS: drawers into a variable. Allow whitespace before :CONTENTS: and :END: drawer markers.
Ran into the "No TOC node found"
user-error despite having a :CONTENTS:
drawer.
This pull relaxes the regexps for drawer delimiters to allow for space between bol
and the delimiter.
More closely matches org-clock-drawer-end-re
.
Thanks again for the package!
Thanks. We could use a defconst
for the regexp, since it isn't intended to be changed.
Good catch. Taken care of.
Tidying up things on my end. Closing this issue, but feel free to use the patch if you like.
@progfolio Please don't close PRs that haven't been handled yet.
Please don't close PRs that haven't been handled yet.
Noted. I don't use the package any more, so the patch is offered "as is". I've unsubscribed from notifications for this pull so that you can keep it open.
Thanks.
@alphapapa is this good to merge? I bumped into this error yesterday.
@progfolio Thanks for fixing this and for your patience.
@mpereira Thanks for the reminder and your patience.
@alphapapa thank you for the time you put into your many packages and for sharing them with us 🙂