-
Notifications
You must be signed in to change notification settings - Fork 27
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
simplify code #17
simplify code #17
Conversation
Thanks for the PR! I'll review it once I get a chance in the next couple of days. |
Create a new variable `org-alert-match-string` which contains the string passed to `org-map-entries`. Remove `dash` and `s` dependencies. Bump version.
Hi again, I have reviewed the PR and it all works great! Fantastic job! Just a few changes to make before merging:
I have already done these locally but need to push them to your fork so can you please tick the box to allow me access to it? |
Please review the changes before I merge to verify that I haven't stuffed anything up. I tested using a blank instance but just in case... |
Thanks! I'll give it a test run in the morning. |
Encountering errors when running with |
Looks like the problem was that my solution requires org version 9 and my fresh emacs instance was running 8. I’ve added org 9 to the requirements list. |
That makes sense. Many users will be using an emacs provided by their package manager which means that many won't have Org 9. Rather than break it for them it might be an idea to bring this in as a separate branch. Once the majority of users are on version 9 then we can merge it to master. What are your thoughts on this? |
Agreed that it’s probably best if people can use the version that ships with Emacs. Fortunately, since it’s only |
That sounds good, we can just check for Org < 9 and provide the necessary function. |
I wasn't able to get any entries to be matched. I had to limit the matcher to only "today" to get any matches, as the "+" on "tomorrow" would return none. herbertjones@06f7ed8 |
What's the status on this? I'd like to package |
I haven't used the package in some time but I'll have another look this afternoon. From what I recall, all that needs to be done is to provide the |
This commit accomplishes what the original did with fewer lines of code using
org-map-entries
.