orgmode icon indicating copy to clipboard operation
orgmode copied to clipboard

Allow listitem folding

Open ESSO0428 opened this issue 2 years ago • 2 comments

Does this feature exist in Emacs orgmode core?

Yes

Orgmode link

https://orgmode.org/manual/Plain-Lists.html

Feature value

The ability to fold list items in Emacs is a useful feature. I propose adding this list item folding functionality by default to folds.scm.

like this

([
  (section)
  (table)
  (drawer)
  (property_drawer)
  (block)
  (listitem)
  ] @fold
  (#trim! @fold))

Thank you to the development team for considering this enhancement.

Additional context

No response

ESSO0428 avatar Nov 16 '23 15:11 ESSO0428

Just to add a note that this depends on the configuration org-cycle-include-plain-lists. More details https://orgmode.org/manual/Plain-Lists.html#index-cycling_002c-in-plain-lists

kristijanhusak avatar Nov 22 '23 10:11 kristijanhusak

I'll pick this up after I finish out #627 and #629 if nobody else does as a heads up.

Probably shove it in the foldexpr.

PriceHiller avatar Nov 22 '23 17:11 PriceHiller