From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Problem with archiving Date: Sat, 14 Jul 2007 08:01:10 +0200 Message-ID: References: <87ps2xqyqh.fsf@adboyd.com> <877ip4bd5o.fsf@adboyd.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9ap0-0000jG-3t for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9aoz-0000id-IQ for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9aoz-0000iW-BK for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:37 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9aoy-0007lj-Uc for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:37 -0400 In-Reply-To: <877ip4bd5o.fsf@adboyd.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "J. David Boyd" Cc: emacs-orgmode@gnu.org 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" > "VALIDATE" > "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 > CANCEL. 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 reorder. 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