alphapapa / org-super-agenda

Supercharge your Org daily/weekly agenda by grouping items
GNU General Public License v3.0
1.35k stars 107 forks source link

[ENH] add `:auto-matching-tags` or `:auto-tags-regex` #257

Open nickgarber opened 6 months ago

nickgarber commented 6 months ago
:auto-tags
    This automatically groups items by all of their tags (i.e. items with exactly the same tags, in any order, will be grouped together).

Would love to have a version of the above that only groups on tags that match a regex. This would allow lots of nice structure, such as grouping agenda by project, (where projects tags follow the pattern P@.* or proj@.*) among other things.

alphapapa commented 6 months ago

Hi Nick,

Sure, that seems like a good idea. Would you be able to send a PR to implement this? I'd be glad to provide feedback as you develop it.

nickgarber commented 6 months ago

From what I understand the hierarchical scheme described in the documentation for Hierarchical Tags is not fully implemented, but this would produce some of the same effects.

nickgarber commented 6 months ago

Hi Nick,

Sure, that seems like a good idea. Would you be able to send a PR to implement this? I'd be glad to provide feedback as you develop it.

Yeah, for sure!

nickgarber commented 6 months ago

By the way, any preference for which name to use?

alphapapa commented 6 months ago

Seems like my email replies are not showing up on GitHub issues. :/

Anyway, I'd suggest :auto-tags-match, which is slightly more concise, and fits well with Emacs's regexp-matching terminology (e.g. string-match).