qqzsxyz / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 0 forks source link

Completed Todo list items don't gray out non-todo subitems #289

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If I create a list like so:

* [ ] Item one
  * Information about Item one
* [ ] Item two
  * Information about Item two
  * And some more information
  * [ ] SubItem
  * [ ] SubItem

If I then "check" off Item two, it will automatically gray out and check the 
two subItems, but the information items are not grayed out.

Replacing the star in front of the information items with ":" does not fix it, 
either.

I would expect all the subcomponents of a completed todo item to gray out when 
the item is completed, even if they aren't checkable themselves.

Original issue reported on code.google.com by lzul...@gmail.com on 14 Mar 2012 at 9:32

GoogleCodeExporter commented 8 years ago

Original comment by habamax on 22 Mar 2012 at 3:22

GoogleCodeExporter commented 8 years ago
To fix this properly would require some quite significant changes in the syntax 
code for lists. All this work would add a lot of complexity and probably have 
no positive benefit on any other aspect of Vimwiki behaviour. From this point 
of view, it is likely not worth to even try, since the "defect" is miniscule 
(and simple "fixes" will have undesirable sideeffects). It is pretty much not 
possible to achieve exactly the same scoping for list items in Vimwiki 
highlighting and HTML output, unless the allowed input form of lists is 
severely restricted.

Note that your characterization of the two subitems as "the information about 
the main item" is you personal interpretation, and not necessarily shared by 
other people or applicable in other situations. What is to be "expected" for 
these mixed lists is far less clear. The more clear-cut deficiency shows up 
when the the main item is itself spread over several input lines.

I find far more defective the excessive highlighting Vimviki does for many 
short bracketed expressions such as "file(s)" or "[a]". These affect everyone, 
not just people who have turn some extra highlighting option on.

Original comment by tpospi...@gmail.com on 24 Mar 2012 at 6:51