From: Alexander Adolf <alexander.adolf@condition-alpha.com>
To: Kyle Meyer <kyle@kyleam.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [feature request] org-agenda-skip-unless
Date: Tue, 22 Dec 2020 22:06:21 +0100 [thread overview]
Message-ID: <b9a596c2c61870fb1a7838672d609062@condition-alpha.com> (raw)
In-Reply-To: <87pn3mgpvf.fsf@kyleam.com>
Hello Kyle,
Kyle Meyer <kyle@kyleam.com> writes:
> [ sorry for the slow response ]
Same here...
> [...]
>> With that, my dream agenda would be:
>>
>> (setq org-agenda-custom-commands
>> '(("n" "Agenda and all TODOs"
>> ((agenda "" nil)
>> (alltodo "" ((org-agenda-block-separator "")
>> (org-agenda-overriding-header "TODO items with a date:")
>> (org-agenda-skip-function '(org-agenda-skip-unless nil '(scheduled deadline)))))
>
> org-agenda-skip-if accepts notscheduled and notdeadline conditions.
> Passing them both to a single org-agenda-skip-if wouldn't do what you
> want because org-agenda-skip-if combines its conditions with `or'.
> However, you could combine two separate org-agenda-skip-if calls:
>
> (org-agenda-skip-function
> '(and (org-agenda-skip-if nil '(notscheduled))
> (org-agenda-skip-if nil '(notdeadline))))
Ha, that's genius! Many thanks for sharing your wisdom!
While I'm apparently still on the learning curve, would you agree that
wishing for some more documentation around org-agenda would not bear the
danger of fostering opulence? ;-)
Many thanks and happy holidays,
--alexander
next prev parent reply other threads:[~2020-12-22 21:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-28 21:40 [feature request] org-agenda-skip-unless Alexander Adolf
2020-12-07 5:14 ` Kyle Meyer
2020-12-22 21:06 ` Alexander Adolf [this message]
2020-12-22 21:24 ` Kyle Meyer
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=b9a596c2c61870fb1a7838672d609062@condition-alpha.com \
--to=alexander.adolf@condition-alpha.com \
--cc=emacs-orgmode@gnu.org \
--cc=kyle@kyleam.com \
/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).