emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: Saurabh Agrawal <mailsaurabh@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: How to get a list of unscheduled TODOs
Date: Wed, 4 Feb 2009 11:59:46 +0530	[thread overview]
Message-ID: <e7cdbe30902032229r50bbd57ao92ede40d1b2c2624@mail.gmail.com> (raw)
In-Reply-To: <4c4575360902032158u5b96345s3f83c2a63a94e07b@mail.gmail.com>

On Wed, Feb 4, 2009 at 11:28 AM, Saurabh Agrawal wrote:
> Hi group,
>
> I have got around 4 projects running at a time. As per philosophy of
> GTD, sometime I get some TODOs, and without thinking much about them
> at the time, I use remember package to just list them as a TODO in
> correct Category. At the end of the day, I would like to have a list
> of my unscheduled TODOs, of School Category separately. I am using a
> custom agenda for this. But using org-agenda-todo-ignore-with-date is
> not working in the following form:
>
> '(org-agenda-custom-commands
> (quote (("t" "Today!!!"
> ((agenda "" ((org-agenda-ndays 1)))
> (tags-todo "CATEGORY=\"School\"" (org-agenda-todo-ignore-with-date 1 ))
> (tags-todo "CATEGORY=\"CRS\"" nil)
> (tags-todo "CATEGORY=\"Study\"" nil)
> (tags-todo "CATEGORY=\"Practice\"" nil)
> (tags-todo "CATEGORY=\"Reading\"" nil)
> (tags-todo "CATEGORY=\"Other\"" nil))))))

Something like this perhaps.  Untested.. but key takeaway is using the
org-agenda-skip-function.

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
      (quote (("t" "Today!!!"
               ((agenda "" ((org-agenda-ndays 1)))
                (tags-todo "CATEGORY=\"School\""
                           (org-agenda-skip-function
'(org-agenda-skip-entry-if 'deadline 'scheduled)))
                (tags-todo "CATEGORY=\"CRS\"" nil)
                (tags-todo "CATEGORY=\"Study\"" nil)
                (tags-todo "CATEGORY=\"Practice\"" nil)
                (tags-todo "CATEGORY=\"Reading\"" nil)
                (tags-todo "CATEGORY=\"Other\"" nil))))))
--8<---------------cut here---------------end--------------->8---

HTH
-- 
Manish

  reply	other threads:[~2009-02-04  6:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04  5:58 Saurabh Agrawal
2009-02-04  6:29 ` Manish [this message]
2009-02-04  8:38   ` Saurabh Agrawal
2009-02-04  9:18     ` Manish
2009-02-04 11:23       ` Saurabh Agrawal
2009-02-04 14:20         ` Carsten Dominik
2009-02-04 17:41           ` Saurabh Agrawal

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=e7cdbe30902032229r50bbd57ao92ede40d1b2c2624@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailsaurabh@gmail.com \
    --subject='Re: How to get a list of unscheduled TODOs' \
    /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

Code repositories for project(s) associated with this 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).