* auto-archiving done entries?
@ 2011-05-21 17:55 Josep Monés Teixidor
2011-05-21 18:00 ` Josep Monés Teixidor
0 siblings, 1 reply; 2+ messages in thread
From: Josep Monés Teixidor @ 2011-05-21 17:55 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1497 bytes --]
Hello all,
Sorry if my question is too easy, but I have no experience in elisp and
emacs org-mode customization.
I've been trying to automatically archive done tasks to a sibling archive
file but so far I've been unsuccessful.
Tasks should be archived if:
* They are done (and closed before a certain amount of time)
* All of its siblings are done (and closed before a certain amount of time)
* Parent doesn't have any todo keyword
For instance, my org file structure has the following structure:
* Tasks
* TODO task1
* DONE task2
* Projects
* Personal
* TODO personal project 1
* TODO personal project 1 task 1
* DONE personal project 1 task 2
* DONE personal project 2
* DONE personal project 2 task 1
* DONE personal project 2 task 2
* Professional
* TODO professional project 1
* TODO professional project 1 task 1
* DONE personal project 1 task 2
I'd like function to archive tasks so that it leaves the following and
archives the rest to sibling file:
* Tasks
* DONE task2
* Projects
* Personal
* TODO personal project 1
* TODO personal project 1 task 1
* DONE personal project 1 task 2
* Professional
* TODO professional project 1
* TODO professional project 1 task 1
* DONE personal project 1 task 2
I tried org-my-archive-done-tasks code I found here:
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg02939.html
However, I haven't succeed in making it archive anything in my setup.
How can I achieve this behaviour?
TIA,
Josep
[-- Attachment #2: Type: text/html, Size: 2245 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: auto-archiving done entries?
2011-05-21 17:55 auto-archiving done entries? Josep Monés Teixidor
@ 2011-05-21 18:00 ` Josep Monés Teixidor
0 siblings, 0 replies; 2+ messages in thread
From: Josep Monés Teixidor @ 2011-05-21 18:00 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
2011/5/21 Josep Monés Teixidor <jmones@gmail.com>
> * All of its siblings are done (and closed before a certain amount of time)
>
>
Sorry, I meant children, not siblings.
Josep
[-- Attachment #2: Type: text/html, Size: 476 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-21 18:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-21 17:55 auto-archiving done entries? Josep Monés Teixidor
2011-05-21 18:00 ` Josep Monés Teixidor
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).