emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: "J. David Boyd" <david@adboyd.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Problem with archiving
Date: Sat, 14 Jul 2007 08:01:10 +0200	[thread overview]
Message-ID: <b481ba8ab2204ce9957d09fdce4c204c@science.uva.nl> (raw)
In-Reply-To: <877ip4bd5o.fsf@adboyd.com>

On Jul 13, 2007, at 16:18, J. David Boyd wrote:

> Archiving works almost perfectly in 5.03, thanks.
> Here's the new problem.
> Defined in my .emacs, I have
>  '(org-todo-keywords (quote ("TODO" "REQUIREMENTS" "ACCOMPLISH" 
>  "TEST" "|" "CANCEL" "DONE")))
> What is happening is that, when I archive an item, it gets moved 
> correctly,
> the archive stamp is written correctly, but instead of saying DONE, it 
> says

Org-mode simply picks the first state after "|" for this.
You could re-order, or we could allow a string value for
org-archive-mark-done, in order to specify the keyword to be used.

> Actually, is this a bug?  Or should I just reorder my list to have 
> DONE come
> before CANCEL.  I thought that I read somewhere that DONE had to be 
> the last
> item in the line, but I don't seem to see that now that I'm trying to 
> find it.

If you don't care about the sequence of DONE and CANCEL, you can just 
Since we have the "|" to separate TODO and DONE states, DONE does not 
have to be last.
Only if you do not specify "|", then the last keyword is used as a state
meaning that the item is done.

- Carsten

  reply	other threads:[~2007-07-14  6:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-12 18:10 Problem with archiving J. David Boyd
2007-07-13  4:21 ` Carsten Dominik
2007-07-13 14:18   ` J. David Boyd
2007-07-14  6:01     ` Carsten Dominik [this message]
2007-07-14 16:31       ` J. David Boyd

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=b481ba8ab2204ce9957d09fdce4c204c@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=david@adboyd.com \
    --cc=emacs-orgmode@gnu.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).