emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Filter scheduled items
Date: Thu, 30 Sep 2010 12:05:40 -0500	[thread overview]
Message-ID: <AANLkTi=u5hqCWfmA--KN1TtTFvodHu8-qW16-yHu52i9@mail.gmail.com> (raw)
In-Reply-To: <87r5gb418s.fsf@fastmail.fm>

Thanks Matt, I will try that out and let you know how it goes.

>Out of curiosity, how are you doing this in org-mode? I currently use
>an inbox and touch each TODO item once to schedule, prioritize, and
>file it, but I have to open up my tasks file.

I just add it to the agenda C-c [. Agenda will then show any scheduled
items in the calendar view (C-c a a). Is that what you are asking
about?

Cheerds,

Marcelo.

On Thu, Sep 30, 2010 at 11:58 AM, Matt Lundin <mdl@imapmail.org> wrote:
> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>
>> Hmm, org actually does this already.
>>
>> The problem is that I was filtering by TODO items, and the scheduled
>> item was the parent of two TODO items (A non-TODO item tagged as
>> PROJECT).
>>
>> So now I guess the question is:
>> Can I make sub-items inherit the schedule information?
>
> Yes, by using org-use-property-inheritance. This works when doing a
> property search, so you'll have to use tags-todo.
>
> Does this custom command accomplish what you are looking for?
>
> --8<---------------cut here---------------start------------->8---
> (add-to-list 'org-agenda-custom-commands
>             ;; a todo list with no future items and inherited scheduling info
>             '("x" "No future items" tags-todo "+SCHEDULED<=\"<today>\"/!+TODO"
>               ((org-use-property-inheritance '("SCHEDULED")))))
> --8<---------------cut here---------------end--------------->8---
>
> Best,
> Matt
>

  reply	other threads:[~2010-09-30 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  0:16 Filter scheduled items Marcelo de Moraes Serpa
2010-09-30  3:27 ` Marcelo de Moraes Serpa
2010-09-30 14:26   ` Jeff Horn
2010-09-30 16:58   ` Matt Lundin
2010-09-30 17:05     ` Marcelo de Moraes Serpa [this message]
2010-10-01 12:34       ` Jeff Horn
2010-10-01 16:19         ` Matt Lundin
2010-10-01 18:45           ` Jeff Horn

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='AANLkTi=u5hqCWfmA--KN1TtTFvodHu8-qW16-yHu52i9@mail.gmail.com' \
    --to=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).