emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with archiving
@ 2007-07-12 18:10 J. David Boyd
  2007-07-13  4:21 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: J. David Boyd @ 2007-07-12 18:10 UTC (permalink / raw)
  To: emacs-orgmode


When I attempt to archive a DONE item, using 5.02, I get

( this is from the message buffer)
Copied: Subtree with 326 characters
if: Cannot promote to level 0. UNDO to recover if necessary

In the status line, I see
Cannot promote to level 0. UNDO to recover if necessary

Now, the item itself IS copied to my archive file, but it does not contain an
archive time stamp, and the original item is left alone in the original file.

Any ideas?  I haven't changed any config settings since around the last of the
4.xx series of ORG.

Dave

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with archiving
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2007-07-13  4:21 UTC (permalink / raw)
  To: J. David Boyd; +Cc: emacs-orgmode

Fixed, thanks.

This was a bug related to the fact that the space after stars in
a headline is now required.  There may be more little things
like this, please keep reporting.

- Carsten

On Jul 12, 2007, at 20:10, J. David Boyd wrote:

>
> When I attempt to archive a DONE item, using 5.02, I get
>
> ( this is from the message buffer)
> Copied: Subtree with 326 characters
> if: Cannot promote to level 0. UNDO to recover if necessary
>
> In the status line, I see
> Cannot promote to level 0. UNDO to recover if necessary
>
> Now, the item itself IS copied to my archive file, but it does not 
> contain an
> archive time stamp, and the original item is left alone in the 
> original file.
>
> Any ideas?  I haven't changed any config settings since around the 
> last of the
> 4.xx series of ORG.
>
> Dave
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with archiving
  2007-07-13  4:21 ` Carsten Dominik
@ 2007-07-13 14:18   ` J. David Boyd
  2007-07-14  6:01     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: J. David Boyd @ 2007-07-13 14:18 UTC (permalink / raw)
  To: emacs-orgmode


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.

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.

Dave



Carsten Dominik <dominik@science.uva.nl> writes:

> Fixed, thanks.
>
> This was a bug related to the fact that the space after stars in
> a headline is now required.  There may be more little things
> like this, please keep reporting.
>
> - Carsten
>
> On Jul 12, 2007, at 20:10, J. David Boyd wrote:
>
>>
>> When I attempt to archive a DONE item, using 5.02, I get
>>
>> ( this is from the message buffer)
>> Copied: Subtree with 326 characters
>> if: Cannot promote to level 0. UNDO to recover if necessary
>>
>> In the status line, I see
>> Cannot promote to level 0. UNDO to recover if necessary
>>
>> Now, the item itself IS copied to my archive file, but it does not
>> contain an
>> archive time stamp, and the original item is left alone in the
>> original file.
>>
>> Any ideas?  I haven't changed any config settings since around the
>> last of the
>> 4.xx series of ORG.
>>
>> Dave
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>
> --
> Carsten Dominik
> Sterrenkundig Instituut "Anton Pannekoek"
> Universiteit van Amsterdam
> Kruislaan 403
> NL-1098SJ Amsterdam
> phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: Problem with archiving
  2007-07-13 14:18   ` J. David Boyd
@ 2007-07-14  6:01     ` Carsten Dominik
  2007-07-14 16:31       ` J. David Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2007-07-14  6:01 UTC (permalink / raw)
  To: J. David Boyd; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with archiving
  2007-07-14  6:01     ` Carsten Dominik
@ 2007-07-14 16:31       ` J. David Boyd
  0 siblings, 0 replies; 5+ messages in thread
From: J. David Boyd @ 2007-07-14 16:31 UTC (permalink / raw)
  To: emacs-orgmode


Thanks, because putting DONE in front of CANCEL works just fine for me.  Now
everything works very well.

Thank you for all your efforts in providing what has to be the best support
for a software project that I have ever encountered.

<huzzah> <huzzah> Long live Carsten!

Dave




Carsten Dominik <dominik@science.uva.nl> writes:

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-14 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-07-14 16:31       ` J. David Boyd

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).