emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Weekday repeaters, and filtering scheduled tasks.
Date: Wed, 2 Jul 2008 10:47:43 -0700	[thread overview]
Message-ID: <F8454C5F-BCB2-4535-9DD1-C21B1844F89A@uva.nl> (raw)
In-Reply-To: <e7cdbe30807021038y4e72fab9hfdc729bcebcf53b5@mail.gmail.com>


On Jul 2, 2008, at 10:38 AM, Manish wrote:

>  On Wed, Jul 2, 2008 at 4:57 AM, Carsten Dominik wrote:
>>
>> On Jun 26, 2008, at 8:28 PM, Manish wrote:
>>
>>> On Fri, Jun 27, 2008 at 8:30 AM, Avdi Grimm wrote:
>>>>
>>>> On Thu, Jun 26, 2008 at 10:55 PM, Manish wrote:
>>>>>
>>>>> I do not understand this one.
>>>>
>>>> I'm looking for the combination of *all* of those conditions
>>>> in one agenda view. In other words, I want to see all the
>>>> NEXT items which are either unscheduled or due today; but I
>>>> don't want to see any items which are scheduled in the
>>>> future.
>>>
>>> Carsten,
>>>
>>> May I request some more pre-defined conditions when using
>>> org-agenda-skip-* functions e.g. due and not due, optionally
>>> accepting a date+time to compare against (using current date and
>>> time as default)?  Hope this makes sense.
>>>
>>> -- Manish
>>>
>>
>> Hi Manish, I have not done so yet for the skipping mechanism.  But  
>> I have
>> just implemented time comparisons for property searches.  For  
>> example:
>>
>>  +DEADLINE<"<2008-07-01>"
>>  +DEADLINE>="<now>"
>>  +DEADLINE>"<today>"
>>  +SCHEDULED>="<2008-07-01>"+SCHEDULED<="<2008-07-05>"
>>
>> I guess this should go a long way....
>
> Thank you very much.
>
> I have a question though:
>
> ,----[ from org.texi ]
> | +If the comparison value is enclosed in double quotes @emph{and}  
> angular
> | +brackets (like @samp{DEADLINE<="<2008-12-24 18:30>"}), both  
> values are
> | +assumed to be date/time specifications in the standard Org  
> way@footnote{The
> | +only special values that will be recognized are @samp{"<now>"}  
> for now, and
> | +@samp{"<today"} today at 0:00 hours, i.e. without a time  
> specification.}, and
> | +the comparison will be done accordingly.
> `----
>
> So when I say DEADLINE<="<today>" and if the deadline has a
> timestamp ( < current time ), then it will not be listed.  Is my
> understanding correct?  I wonder if "<today>" should not be
> better pegged at 23:59 of today's date?

which would fail if you did DEADLINE>="<today>"

There is not good solution for this.  <today> uses the date without a  
time, in order to provide for comparison with deadline dates that are  
only a date, not a time.  If your deadlines have times associated with  
them, better use a date and time explicitly.  I could provide  
yesterday and tomorrow, maybe....

- Carsten

>
>
> -- Manish

  reply	other threads:[~2008-07-02 17:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-26 14:21 Weekday repeaters, and filtering scheduled tasks Avdi Grimm
2008-06-27  2:55 ` Manish
2008-06-27  3:00   ` Avdi Grimm
2008-06-27  3:28     ` Manish
2008-07-01 23:27       ` Carsten Dominik
2008-07-02 17:38         ` Manish
2008-07-02 17:47           ` Carsten Dominik [this message]
2008-07-02 18:47             ` Manish

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=F8454C5F-BCB2-4535-9DD1-C21B1844F89A@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.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).