Thanks Manish, now it works... like a charm.. :) Another problem though..
Sometimes, the TODOs haven't been "scheduled" but have a timestamp on them. I would like to ignore them too.. However, using option "with-date" along with "deadline" and "schedule" does not seem to work in org-agenda-skip-entry. Is this option not valid? So, I have used a bad hack as: org-agenda-skip-entry-if 'regexp "<2" As any entry with timestamp anywhere will have <2009- and so on. This is working well as per my needs, though. Regards, Saurabh. On Wed, Feb 4, 2009 at 2:48 PM, Manish <mailtomanish.sha...@gmail.com> wrote: > On Wed, Feb 4, 2009 at 2:08 PM, Saurabh Agrawal wrote: > [snip] >> >> Could you please suggest something? I am unable to debug this. > > Is this better? > > --8<---------------cut here---------------start------------->8--- > (setq org-agenda-custom-commands > (quote (("t" "Today!!!" > ((agenda "" ((org-agenda-ndays 1))) > (tags "CATEGORY=\"School\"" > ((org-agenda-skip-function > '(org-agenda-skip-entry-if 'deadline 'scheduled)))) > (tags "CATEGORY=\"CRS\"" nil) > (tags "CATEGORY=\"Study\"" nil) > (tags "CATEGORY=\"Practice\"" nil) > (tags "CATEGORY=\"Reading\"" nil) > (tags "CATEGORY=\"Other\"" nil)))))) > --8<---------------cut here---------------end--------------->8--- > >> >> Saurabh. *Novice* > > Ditto. > > Perhaps you might want to read this excellent tutorial: > http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php > > HTH > -- > Manish > _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode