Adam Porter <a...@alphapapa.net> writes: > After thinking about this some more, I have an idea: if I go ahead and > import the agenda-building functions into my package and modify them, I > can use a minor mode to override the standard functions with advice. > That way users would only have to define the groups variable, and all > the agenda commands would pick it up automatically, from the user's > perspective. That would prevent users from having to define new agenda > commands that call special functions; they could just use their existing > custom agenda commands.
FYI, this idea worked out well. In fact, I only have to override one function, org-agenda-finalize-entries. I haven't fully tested all the different agenda commands yet, but it's working well so far. I'd appreciate help testing further. :)