jxq0/org-tidy

Feature idea: Hide logbook (and other drawers)

Closed this issue · 2 comments

If progress logging is turned on for TODO lists, then logbook drawers will be strewn about the file similar to property drawers. It would be nice to also hide these. Although the default drawer is called LOGBOOK, it can be changed by changing the LOG_INTO_DRAWER property. Maybe there could be an option to hide all drawers in addition to property-drawers? Or would that be too drastic?

Ypot commented

What about to have the option to:

  • Hide the other drawers, as enbrown said.
  • Hide some drawers, chosen by the user, for example: Logbook
  • Show the contents of the drawers, while hiding the "title". Maybe also chosen by the user. For example:
:LOGBOOK:
- "PR.E"       el [2023-02-16 ju. 11:25] \\
  Oferta 
- "PR.E"       el [2023-02-06 lu. 08:10] \\
 Oferta 
:END:

Could be tidier like this:

- "PR.E"       el [2023-02-16 ju. 11:25] \\
  Oferta 
- "PR.E"       el [2023-02-06 lu. 08:10] \\
 Oferta 
jxq0 commented

This feature is done in #5 .

Now you can use org-tidy-general-drawer-name-whitelist and org-tidy-general-drawer-name-blacklist to control how to tidy drawers by name.