From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Gaspard Subject: Re: Making an agenda that includes scheduled-for-later tasks? Date: Sat, 26 Jan 2019 01:57:16 +0100 Message-ID: <87va2cz15f.fsf@llwynog.ekleog.org> References: <87pnsw7ozv.fsf@llwynog.ekleog.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnCHz-0003XV-HO for emacs-orgmode@gnu.org; Fri, 25 Jan 2019 19:57:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnCHx-0001Cd-CL for emacs-orgmode@gnu.org; Fri, 25 Jan 2019 19:57:39 -0500 Received: from grym.ekleog.org ([94.23.42.210]:39344 helo=smtp.gaspard.ninja) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnCHt-00016o-Jw for emacs-orgmode@gnu.org; Fri, 25 Jan 2019 19:57:35 -0500 In-Reply-To: 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: Stig Brautaset , emacs-orgmode@gnu.org Stig Brautaset writes: > Does changing your "E" entry to this help at all? > > ,---- > | ("E" "Effortless tasks" > | todo '("TODO" "WAITING") > | ((org-agenda-overriding-header "Effortless tasks") > | (org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":Effort:" 'todo '("APPT"))) > | (org-agenda-todo-ignore-scheduled nil) > | (org-agenda-todo-ignore-deadlines nil) > | (org-agenda-todo-ignore-timestamp nil))))) > `---- Thank you, it worked great! I wonder whether the documentation of =org-agenda-custom-commands= could be expanded around the =settings= parameter, so as to make it easier to find this solution by oneself? I don't know myself the list of settings that could go there, though, so couldn't really write it myself unfortunately :/ > By the way, the documentation for the `org-agenda-custom-commands' > variable says that the third entry should be "a single keyword for TODO > keyword searches", so the '("TODO" "WAITING") you have may be partly why > things are not working how you expect? You may want to try a compound > one like this: > ,---- > | ("E" "Effortless tasks" > | ((todo "TODO") > | (todo "WAITING")) > | ((org-agenda-overriding-header "Effortless tasks") > | (org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":Effort:" 'todo '("APPT"))) > | (org-agenda-todo-ignore-scheduled nil) > | (org-agenda-todo-ignore-deadlines nil) > | (org-agenda-todo-ignore-timestamp nil))))) > `---- This works, however it splits the =TODO= and =WAITING= tasks in two different sections in the display. I think Nick's solution is a bit closer to what I tried to do here, as it mixes the two keywords in one. Thank you! Leo