-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(Agenda Bug) State change on REPEATING TODO's doesn't work #348
Comments
I've noticed this as well. You can also It's nice to have it stay 🙂 |
Actually "staying" is a feature, because it allows to to undo changes in case you want. That's how Emacs work. Edit: As @gerazov said, you can just press |
Yeah it also helps with figuring out what you did that day 😅 |
Understood. Thanks, gentlemen. |
Why close? The bug is still there 🤔 |
I misunderstood you guys saying that it's intended to work this way because it's a feature; apologies. Reopened. Also, there are plenty of cases of items not removing themselves even after a refresh event. I will upload a clip to display the issue soon. |
It is a feature. Here's how emacs does it: And how it's in Neovim: Only difference is that Emacs shows the "Done" keyword, even though it's not "Done" in the org file.
This should not be happening. Make sure to test with minimal_init.lua |
But it doesn't make sense to remove it from the Agenda if it's done. It still should be there so you can see what you did that day/time like with any other task no? |
Not sure I understand that correctly. So even though, the item is set to |
This issue pertains to repeating tasks, meaning that if you complete a daily task (for example "brush teeth"), you want to complete it for today but still leave it in your agenda for all the following days. Setting the DONE property with timings is what happens currently, and on agenda refresh, it properly disappears from today's agenda view while remaining for all the following ones. The issue at hand is it doesn't do this automatically as shown in the Emacs comparison. You must refresh to see it gone. |
I am a meticulous person, as I am sure many of you are (we're using individually customized consoles to practically run our entire lives). Because of this, I create numerous events (with cronjobs/ OS reminders to keep me in check with my scheduled tasks, meetings, etc.) Without filtration, my daily agenda view shows upwards of 50+ items per day (most are repeating). After completion, finishing a task for the day (no matter what it is) should remove itself from that day's Agenda. Sure, I think it showing a green "DONE" status after you mark it done for that day is fine, but removing it on agenda refresh is so that you don't clutter your view with "DONE" tasks throughout. To play devil's advocate, a different approach would be to create a separate system for "dailies" (as I like to call them) where they act differently than other tasks. I understand the mental benefit and positive reinforcement of seeing "DONE" items on your Agenda whenever you look at it. If only there were a way to separate these two types of agenda-view tasks... What are everyone's thoughts on tackling this issue? Bandage the problem with a plugin, or add this functionality to main? I could potentially create the plugin given some special APIs to the agenda view and its functionality. |
@stoladev I would love to see that functionality in nvim-orgmode as well. It looks like vanilla orgmode already has something similar that could be used for your use case. Not sure about the orgmode terminology here. They call it a 'module', but it is not in the contrib repository like e.g. orgmode-contacts. Seems to be core orgmode 🤷♂️ which in turn means, it should be part of this repository actually |
@jgollenz As this is my first time truly using orgmode (thanks to this amazing port), it's also the first time I've seen the specifics you've provided. That's exactly what I would categorize them as - habits. The question now is do we:
#3 would require much more time but it would open the floodgates to other orgmode modules available on eMacs. Development would be as easy as porting the code over (granted that the initialization/enabling of addons process is mostly similar). I suggest a framework where instead of packing all nvim-orgmode plugins in (ex) Packer, they can instead be handled (including installation/removal) through an orgmode_modules.lua file (or orgmode.modules.setup). Rough ideas with much to polish, but I am willing to put in the effort for improving this fantastic port. It has done nothing other than improve my organization in all aspects. There is so much more to explore regarding the utilization cases of nvim-orgmode. |
@stoladev we actually discussed org-habit before. I don't know how orgmode actually does things under the hood, but it looks like those modules are just single
Your proposed way would combine all those into one framework, just dividing it up into plugins that we provide and plugins that other people wrote (please correct me, if I misunderstood). It has the benefit of unifying what a plugin is, but it also means that all the stuff that is now modules, need their own repositories (== overhead). Additionally, we would need to build our own package manager within this repository. That is beyond the scope of what this port is about in my opinion (@kristijanhusak might disagree). Also, I know of no nvim plugin that did go down this route. nvim-cmp does have a multi-repo infrastructure, but those also are just pulled with packer. This conversation is valuable and I think we should move to #26 from here on ;) |
Opening up the flood gates for plugins does sound promising 👍 @stoladev I see your point for not crowding the agenda with small tasks. I use repeater tasks for larger things - like 1h music classes twice a week. So if I go back in the Agenda view I'd like to see them there as any other tasks. It seems that the So do we close this issue and we open 2 new feature requests - one for having normal completed repeated tasks stick (even though emacs orgmode doesn't support it 😅 ), and one for porting |
I investigated habits a little bit. They have their own set of additional functionality (see screenshot https://i.imgur.com/VYDkoPY.png), but are very similar to the classic recurring task. When you complete a habit for today, it's gone from the agenda (Check 1st July in Emacs on screenshot), so functionality to always keep them visible seems to not be working also in Emacs orgmode. My guess is that it's possible to have them always visible only with the custom agenda commands (#135), but those are still not done. |
Describe the bug
When a TODO item is set to a SCHEDULED REPEAT (ex. +1d | +1w), it does not visually update into a done state nor remove itself from that day's view.
WORKS if you re-open agenda view. Seems to be a visual-update type of bug.
Steps to reproduce
Expected behavior
WHAT WORKS:
WHAT DOESN'T WORK:
WHAT I THINK THE PROBLEM IS:
POTENTIAL FIX:
Emacs functionality
No response
Minimal init.lua
Minimal init.lua:
https://github.com/nvim-orgmode/orgmode/blob/master/scripts/minimal_init.lua
Screenshots and recordings
No response
OS / Distro
MacOS
Neovim version/commit
0.8
Additional context
No response
The text was updated successfully, but these errors were encountered: