all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Arun Persaud <apersaud@lbl.gov>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: agenda question about representing items
Date: Tue, 22 Jan 2013 23:38:38 -0500	[thread overview]
Message-ID: <3457.1358915918@alphaville> (raw)
In-Reply-To: Message from Arun Persaud <apersaud@lbl.gov> of "Tue, 22 Jan 2013 19:57:29 PST." <50FF5FA9.40203@lbl.gov>

Arun Persaud <apersaud@lbl.gov> wrote:

> Hi
> 
> many of my projects have the following form:
> 
> * project name
> ** subtask
> *** TODO item1
>   SCHEDULED: <timestamp>
> 
> sometimes it looks like
> 
> * project name
> ** subtask
> *** TODO item2 [1/3]
>   - [X] task1
>   - [ ] task2
>   - [ ] task3
>   SCHEDULED: <timestamp>
> 
> currently my agenda view shows something like
> 
> <filename>: <time> TODO <text next to TODO item in file> <tags>
> 
> e.g.
> home: Scheduled: TODO look into customize agenda views
> 
> I'm wondering if it is possible to customize this, so that it will
> display something like the following:
> 
> <filename>: <time> projectname->subtask->TODO look into customize agenda
> views
> 
> that is adding some breadcrumbs in front of the item to make it clearer
> what the context of the TODO item is.
> 

org-agenda-prefix-format can probably be adjusted to do some of this.
In particular, %t can deal with the timestamp and %(expression) can
evaluate a lisp expression: all you need to do is write a function to
get the pieces you want.

> For the second kind of items it would be nice to see something like this
> in the agenda:
> 
> <filename>: <time> projectname->subtask->TODO item2 -> task2
> 
> e.g. also add the next item in the list that needs to be done.
> 
> Any ideas?
> 

I don't know how to do this or even if it is possible without mucking
around with the code. But if history is any guide, it's probably
possible :-)

Nick

  reply	other threads:[~2013-01-23  4:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23  3:57 agenda question about representing items Arun Persaud
2013-01-23  4:38 ` Nick Dokos [this message]
2013-01-23 14:04 ` Karl Voit
2013-01-23 23:28   ` agenda question about representing items [PATCH] Arun Persaud
2013-01-24 15:46     ` Bastien

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3457.1358915918@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=apersaud@lbl.gov \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.