From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: ANN: org-super-agenda Date: Sat, 29 Jul 2017 01:03:18 -0500 Message-ID: <87k22req55.fsf@alphapapa.net> References: <87eft25n61.fsf@delle7240.chemeng.ucl.ac.uk> <871sp0f45j.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbKqa-0007gz-24 for emacs-orgmode@gnu.org; Sat, 29 Jul 2017 02:03:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbKqV-0005P3-VC for emacs-orgmode@gnu.org; Sat, 29 Jul 2017 02:03:32 -0400 Received: from [195.159.176.226] (port=48452 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbKqV-0005Oc-Oq for emacs-orgmode@gnu.org; Sat, 29 Jul 2017 02:03:27 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dbKqN-0002Vr-J1 for emacs-orgmode@gnu.org; Sat, 29 Jul 2017 08:03:19 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Adam Porter 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. :)