emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Holcomb <pholcomb@cpoint.net>
To: Carsten Dominik <dominik@uva.nl>
Cc: emacs-orgmode@gnu.org, pholcomb@cpoint.net
Subject: Re: Help with agenda-custom commands
Date: Tue, 30 Sep 2008 11:40:46 -0500	[thread overview]
Message-ID: <20080930164045.GC28285@cpoint.net> (raw)
In-Reply-To: <F7DA25EC-0D9E-474D-B7C0-9325590010F5@uva.nl>

On Sun, Sep 28, 2008 at 07:16:41AM +0200, Carsten Dominik wrote:

> >*) Is there a simple way to construct an agenda view that:
> > -shows all past scheduled events for one TODO keyword only
> > -skips for all others

> I have not tested this, but you might be able to use the general tags/ 
> property/todo matcher
> on `C-c a m' like this:
> 
> SCHEDULED<"<today>"/!+MYTODOKEYWORD

 This works, but not for a day or week view.  

 On the positive side, while I was trying to figure out how to do
 this, I've started to rethink how I'm using the different date
 keywords.

 I was originally trying to overload the meaning of SCHEDULED.  Making
 a TODO item that starts in the future and then will continue showing
 up until done (as in the manual) for "WAITING" items, but also as a
 TODO item that starts in the future, but then should become a normal
 TODO item for everything not a "WAITING" item.
 
 I think a better approach to the second one is going to be using a
 property like ACTIVEON, like so:

  :PROPERTIES:
  :ACTIVEON:       <2008-10-01 Wed>
  :END:

 I'm still at the idea stage here, but think it could work with a hook
 similar to org-expiry.el or org-depend.el

> >*) Using a defconst symbol or function that evaluates to a stringp
> >in place of an actual string in for the match field.
> >
> > It seems like the evaluation order is at fault, but I couldn't get  
> >further.
> 
> indeed, currently the match entry is not evaluated.  I guess we could  
> do that, but it would involve changing several functions.  I would  
> need a convincing use case before I invest the time.  How would you  
> want to use this?

 Totally not important.  I was just trying to clean up some of my
 agenda functions and feared I was missing something basic.

-- 
Paul Holcomb                               *pholcomb    \@      cpoint  net*
GPG key fingerprint          2B62 05AE EE74 845A 705F  D716 28C4 FE1C 088F CFAC

  reply	other threads:[~2008-09-30 16:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 23:16 Help with agenda-custom commands Paul Holcomb
2008-09-28  5:16 ` Carsten Dominik
2008-09-30 16:40   ` Paul Holcomb [this message]
2008-10-01  9:01     ` Carsten Dominik
     [not found] <E1KkzuK-0007T4-Uc@box188.bluehost.com>
2008-10-01 13:19 ` Robert Goldman

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=20080930164045.GC28285@cpoint.net \
    --to=pholcomb@cpoint.net \
    --cc=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.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).