-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: more forgiving drawer regexps #15
Conversation
Abstract regexp for beginning of :CONTENTS: drawers into a variable. Allow whitespace before :CONTENTS: and :END: drawer markers.
Thanks. We could use a |
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. |
Noted. I don't use the package any more, so the patch is offered "as is". |
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 🙂 |
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!