From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Schwarzgruber Subject: Re: Org agenda -- checking for invisible tasks after filtering... Date: Mon, 17 Feb 2020 21:55:38 +0100 Message-ID: <87lfp1aq7p.fsf@gmail.com> References: <87bls9kayb.fsf@gmail.com> <87imknmpv3.fsf@gnu.org> <87v9o6c017.fsf@gmail.com> <87blpyqelj.fsf@gnu.org> <87r1ytb4ei.fsf@gmail.com> <87sgj9nm6q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38834) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3nQe-0002vI-I7 for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 15:55:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3nQd-0001WG-LE for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 15:55:44 -0500 In-reply-to: <87sgj9nm6q.fsf@gnu.org> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: emacs-orgmode@gnu.org Hi Bestian, Bastien writes: > Yes, this one makes sense, I've added `org-agenda-filter-hook' for > functions that you need to run right after `org-agenda-filter' has > been called. thanks for that change. But unfortunate this one doesn't work for the org-agenda-filter-by-* functions. However, it would work for all org-agenda-filter* functions, if the hook would be called at the end of `org-agenda-filter-apply`. But I can see what than would happen, the hook would be called several times when more filter types are set. A other option would be the call the hook at the end of all the org-agenda-filter* functions, perhaps. -Christian