From: Leo Gaspard <orgmode@leo.gaspard.io>
To: Stig Brautaset <stig@brautaset.org>, emacs-orgmode@gnu.org
Subject: Re: Making an agenda that includes scheduled-for-later tasks?
Date: Sat, 26 Jan 2019 01:57:16 +0100 [thread overview]
Message-ID: <87va2cz15f.fsf@llwynog.ekleog.org> (raw)
In-Reply-To: <m25zuco16h.fsf@brautaset.org>
Stig Brautaset <stig@brautaset.org> 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
prev parent reply other threads:[~2019-01-26 0:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-16 12:42 Making an agenda that includes scheduled-for-later tasks? Leo Gaspard
2019-01-25 19:26 ` Leo Gaspard
2019-01-25 22:10 ` Nick Dokos
2019-01-26 0:51 ` Leo Gaspard
2019-01-25 21:52 ` Stig Brautaset
2019-01-26 0:57 ` Leo Gaspard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87va2cz15f.fsf@llwynog.ekleog.org \
--to=orgmode@leo.gaspard.io \
--cc=emacs-orgmode@gnu.org \
--cc=stig@brautaset.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).