-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Improve order of the todo agenda #842
base: master
Are you sure you want to change the base?
Improve order of the todo agenda #842
Conversation
As the order of the org_todo_keywords define the order of the todo in the agenda, a user may want to have a default TODO state different than the first one in the org_todo_keywords list
47ba087
to
8a1acbf
Compare
If you like the implementation I can add the documentation of the new configuration option |
Is this how Emacs does the sorting, or just something that you think would be good to add? IIRC sort is not changed when clocking in/out. |
I've never used Emacs so it's my personal opinion :S , I can also add options to configure the non default behaviours if you want |
Thanks @lyz-code for the effort. I like the attempt to provide a better agenda sorting then the current one. Because this implementation is the personal flavor of @lyz-code, my question to you, @kristijanhusak would be: Would you be open that we provide an option, where the user can define a closure, which does the sorting? Than we provide a default implementation, which mirrors the Emacs behavior and a couple of helper functions accessible from the options, so the user can easily implement their own sorting flavor? |
@seflue since I plan to add custom agenda commands in the following months, for now I'm thinking to attach the sorting function to the |
@kristijanhusak Would you also do that with the Can you elaborate a bit more on your plan of custom agenda commands? I have some requirements to the agenda which made me already thinking of writing my own agenda plugin - but I didn't find the time yet to seriously design something decent. But I would be happy to give feedback on what you have in mind. |
As with all my PRs, I'm really a noob at Lua trying to do my best. I'd appreciate any suggestions to improve the code.
Until it's merged users can use my fork