emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Showing next items in agenda + deadline in past
Date: Thu, 15 Jan 2015 13:47:57 +0100	[thread overview]
Message-ID: <86zj9kgqgy.fsf@example.com> (raw)
In-Reply-To: CAGWVMXpSrhWWF5_C3WtvRrB0PKmTW_mFc7nt=RLu+UMdyybrHQ@mail.gmail.com

Giulio Petrucci wrote:
> On Wed, Jan 14, 2015 at 2:09 PM, Florian Lindner <mailinglists-tiEHEn/rsl4@public.gmane.org> wrote:
>> 1) How can I configure it to show not the next n days, but the next n events
>> like:
> Don't know but I mus confess I am struggling with the same problem in
> these days.
>> 2) There is this 75 d. ago Abstract DEADLINE. How am I supposed to act on
>> deadlines in the past? The item has no TODO/DONE marker, just the DEADLINE.
>> How to say that the action that relates to this deadline is done?
> I resolved marked it as DONE.
> I think makes sense: you need to tell org-mode that your deadline has been met.
> Would be interesting to know if there is a way to tell org-mode to
> load only /future/ deadline in the agenda...

Yes, with a custom agenda commands along these lines:

--8<---------------cut here---------------start------------->8---
  (add-to-list 'org-agenda-custom-commands
               '("f" "Future deadlines"
                 ((tags-todo "DEADLINE>=\"<+0d>\"+DEADLINE<=\"<+1w>\""
                             ((org-agenda-overriding-header "Due in next 7 days"))))
                 ((org-agenda-todo-ignore-scheduled 'future))) t)
--8<---------------cut here---------------end--------------->8---

Best regards,

Sebastien Vauban

  reply	other threads:[~2015-01-15 12:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 13:09 Showing next items in agenda + deadline in past Florian Lindner
2015-01-15  7:56 ` Giulio Petrucci
2015-01-15 12:47   ` Sebastien Vauban [this message]
2015-01-15 17:45     ` Giulio Petrucci
2015-01-15 18:07       ` Sebastien Vauban
2015-01-15 18:12         ` Giulio Petrucci

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:

  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=86zj9kgqgy.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \


* 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


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).