vim-orgmode icon indicating copy to clipboard operation
vim-orgmode copied to clipboard

TODO items still won't automatically update in [/] or [%] in heading

Open BigPeet opened this issue 8 years ago • 9 comments

How was the issue #172 closed? It still doesn't work as it is currently documented. It only checks direct children with a check boxes, but it completely ignores TODO or DONE. This example taken from the documentation does NOT work:

* Organize Party [33%] ** TODO Call people [1/2] *** TODO Peter *** DONE Sarah ** TODO Buy food ** DONE Talk to neighbor

It won't update the % of "Organize Party" and it won't update the / of Call People unless you replace every TODO and DONE with check boxes.

I don't want to be rude or something, but I would love this to work and it just doesn't.

BigPeet avatar Jul 06 '16 15:07 BigPeet

I guess it's not yet implemented. It would be a very nice feature. It can also work for all keyword sets (not only TODO and DONE) because every keyword set has "open" and "closed" keyword(s). See :help org_todo_keywords.

It's probably quiet a bit of work. I think the issue should remain open. Maybe some day someone has time to implement this :)

schoettl avatar Jul 11 '16 14:07 schoettl

Does this mean it is known to not be implemented? Because the helpfile that comes with the plugin says it should work,. so at least this could be updated to properly reflect the actual state of the functionality? I'd rather read that it is not implemented than believe it is and then discover it's not.

thriveth avatar Oct 20 '16 23:10 thriveth

vim-orgmode's doc is taken from the original orgmode doc: http://orgmode.org/manual/Breaking-down-tasks.html

I think too, there should be a hint in the documentation. I created a pull request: https://github.com/jceb/vim-orgmode/pull/256

schoettl avatar Oct 21 '16 21:10 schoettl

I got it to work using lists:

* TODOs [33%]
  - [-] High [1/2]
    - [X] high 1
    - [ ] high 2
  - [X] Med
    - [X] med 1
  - [ ] Low
    - [ ] low 1

With cc in any of the children checkboxes it correctly updates all parents

jporsay avatar Oct 28 '16 17:10 jporsay

@jporsay Yes, that worked all along, but these subtasks don't go into agenda items. So it's usable, but could be more useful.

thriveth avatar Oct 28 '16 18:10 thriveth

@thriveth Oh, you're right, didn't think about the agenda items.

jporsay avatar Oct 30 '16 15:10 jporsay

came from todo.txt. Disappointed to see this not working. Everything else is great so far.

Swoorup avatar Nov 29 '16 19:11 Swoorup

Just got bitten by this too. The "partially implemented" is a bit unclear IMO.

NotAFile avatar Dec 12 '19 23:12 NotAFile

I like the idea of vim-orgmode, but for anybody who would need this actually working, I can point you to the project I co-maintain, https://github.com/vimoutliner/vimoutliner, where this actually works:

[_] 8% bsc#1155094 CVE-2019-18348 CRLF injection
	[_] 33% python
		[x] SLE-10-SP3:Update
		[_] SLE-11-SP1:Update
		[_] SLE-12-SP1:Update sr#211064
	[_] 0% python27
		[_] SLE-11-SP1:Update:TClient
	[_] 0% python36
		[_] SLE-12-SP3:Update:Products:TClient:Update
	[_] 0% python3
		[_] SLE-12:Update

mcepl avatar Mar 09 '20 18:03 mcepl