[X] An option to hide a column automatically if all column values are empty
[X] An option to display columns for all tags in todos. Also, I think, it makes sense to never show columns for "virtual" tags - ones which names start with !. The option overlaps with the configuration section fields that describes custom fields. Pros comparing to fields: no manual setup; ease of use. Cons: no way to set the column type(e.g, a date or duration are never shown in human-friendly way); no way to set column title
[X] An option hide_columns to never display separate columns for the mentioned tags. It is used only when "automatically show columns for all tags" is enabled. Though, it makes sense to support the option for regular usage with global.fields as an overload.
In all bullet-points above, the old option global.fields keeps working. So, a user can set global.fields to something like pri,created,finished and the rest is shown automatically.
The issue comprises a few smaller tasks:
!
. The option overlaps with the configuration sectionfields
that describes custom fields. Pros comparing tofields
: no manual setup; ease of use. Cons: no way to set the column type(e.g, a date or duration are never shown in human-friendly way); no way to set column titlehide_columns
to never display separate columns for the mentioned tags. It is used only when "automatically show columns for all tags" is enabled. Though, it makes sense to support the option for regular usage withglobal.fields
as an overload.In all bullet-points above, the old option
global.fields
keeps working. So, a user can setglobal.fields
to something likepri,created,finished
and the rest is shown automatically.