emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Rick Moynihan <rick@calicojack.co.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode & multiple TODO sequences within a file.
Date: Sun, 18 Mar 2007 21:11:40 +0100	[thread overview]
Message-ID: <1b5202b10a64cf5f04b443c331014035@science.uva.nl> (raw)
In-Reply-To: <45F9783C.8050801@calicojack.co.uk>

Hi Rick,

On Mar 15, 2007, at 17:45, Rick Moynihan wrote:

> Hi,
>
> I've been using org-mode happily for nearly 6 months and think it's a 
> fantastic tool!!  I've always quite liked Emacs, but org-mode has led 
> to me really seeing Emacs's potential.
>
> I was however wondering if there was anyway for org-mode to support 
> multiple TODO sequences within a single file.  I tried specifying 
> sections of the file as operating under particular sequences, but this 
> doesn't seem to work (in 4.52) e.g.:
>
> #+SEQ_TODO: REPORT BUG KNOWNCAUSE RESOLVED
>
> * BUG there is a bug in foo...
> * RESOLVED fixed bug.
>
> #+SEQ_TODO: TODO DONE

No, this does not work.  Could be done, of course, but adds complexity,
and I am sure once it is there,  people will want to switch
TODO keywords constantly, filling the entire file with new #+TODO
statements.  Does not feel right.

How about the following alternative:

Just make a long sequence containing all the subsequences,
like

#+SEQ_TODO: REPORT BUG KNOWNCAUSE RESOLVED TODO WAITING VERIFY DONE

You can then use command like `M-5 C-c C-t'
(or `5 t' in the agenda) to jump to
TODO in this sequence.  Basically, you need to remember where
in your list the different sequences start, put items onto
the right starting point, and then work through your states.

Hmmm, looking at this it might actually be useful to
allow additional DONE states in the middle of the sequence, but
this will at least currently lead to problems, both when cycling
from DONE to nothing to TODO, and also in the highlighting
of TODO keywords in the agenda.  I'll check if I can fix these
small issues.

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  reply	other threads:[~2007-03-18 20:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 16:45 org-mode & multiple TODO sequences within a file Rick Moynihan
2007-03-18 20:11 ` Carsten Dominik [this message]
2007-03-19 12:47   ` Rick Moynihan
2007-03-19 16:25     ` Bastien
2007-03-19 18:06       ` Rick Moynihan
2007-03-20 16:01         ` 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

  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=1b5202b10a64cf5f04b443c331014035@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rick@calicojack.co.uk \
    /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).