feat(core): support org-enforce-todo-dependencies
Hi guys, I just impl the option for org-enforce-todo-dependencies, which will prevent parent TODOs from toggling when it has some unfinished children.
I am not sure if you are still interested in it, as the related issue https://github.com/nvim-orgmode/orgmode/issues/274 was updated 2 years ago.
Here comes the reference. https://orgmode.org/manual/TODO-dependencies.html
:)
Hi guys, I just impl the option for
org-enforce-todo-dependencies, which will prevent parent TODOs from toggling when it has some unfinished children.I am not sure if you are still interested in it, as the related issue #274 was updated 2 years ago.
Many thanks for the contribution. :+1: Old issues don't mean, there is no interest in a working implementation. It just means, that we need more active contributors. :smile:
From a very quick overlook your code looks good - I will try it out as soon as I can.
Here comes the reference. https://orgmode.org/manual/TODO-dependencies.html
:)
I wasn't even aware of this, but Orgmode is soo big ... you always learn something new ... :sweat_smile:
Haha, glad to hear that!
I am migrating my org from emacs to nvim, and will try to implement some daily functions into nvim-orgmode.
Hi there,
I really dont want to be pushy. I would love this PR to be accepted because it would be a good Feature.
Thanks for your great work here.
@PannenetsF I finally found the time to play around with your contribution. First I was not sure if I misunderstood how the feature is supposed to work, but what was immediately noticeable is that changing the TODO state of a parent headline is completely blocked. And it is actually blocked on pressing "
I then actually took the time to see, how the feature behaves in Emacs. There you can change the state of the parent headline as long as it is not a state considered as "closed" (a state defined on the right hand side of the "|" in the configuration list).
To get this merged, we should mimic the behavior of Emacs org mode.
@PannenetsF I finally found the time to play around with your contribution. First I was not sure if I misunderstood how the feature is supposed to work, but what was immediately noticeable is that changing the TODO state of a parent headline is completely blocked. And it is actually blocked on pressing "t", so if I want to set it to "Progress" and press "tp" I get a warning and it pastes my current register. On the other hand it does not change the state of the parent headline, when I set a child into "Progress", so I am not able to fix inconsistent states.
I then actually took the time to see, how the feature behaves in Emacs. There you can change the state of the parent headline as long as it is not a state considered as "closed" (a state defined on the right hand side of the "|" in the configuration list).
To get this merged, we should mimic the behavior of Emacs org mode.
Hi Seflue, thanks for your review. I would read the original Emacs orgmode for better mimic behavior. I am kind of busy these weeks. Will try to fetch time to do that :-)
Is there any update on this ? I'd love to see this feature. I could try updating the PR if @PannenetsF doesn't have the time.
Sounds good to me:) I just developped the very simple demo in my local branch. But i have no time to check as I would be busy with my graduation thesis for months.
Best regards, Yunqian Fan
---Original--- From: "Daniel @.> Date: Tue, Jan 28, 2025 14:58 PM To: @.>; Cc: "Yunqian @.@.>; Subject: Re: [nvim-orgmode/orgmode] feat(core): supportorg-enforce-todo-dependencies (PR #741)
Is there any update on this ? I'd love to see this feature. I could try updating the PR if @PannenetsF doesn't have the time.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>