emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Maihofer <ignoramus@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Re: Archive Tasks
Date: Wed, 18 Aug 2010 10:36:09 +0200	[thread overview]
Message-ID: <4C6B9B79.1000007@gmx.de> (raw)
In-Reply-To: <AANLkTikOM3UgmJ9KOiMiZjTMET10BT6Zt7GJM9CrGCrm@mail.gmail.com>

Thanks for your reply!

I think this is not what i am looking for. Quote from Bernt: "This
ensures that any level 2 task that I archive from this heading (I
archive by subtree) gets saved in the archive file under the appropriate
level 1 heading.."

My problem is, that i have level 3 tasks.

---------------------------------------------------
file: main.org
---------------------------------------------------
* Tasks
** Client X
   :PROPERTIES:
   :ARCHIVE:  %s_archive::** Client X
   :END:
*** DONE Task Client X
** Client Y
   :PROPERTIES:
   :ARCHIVE:  %s_archive::** Client Y
   :END:
*** DONE Task Client Y
---------------------------------------------------
file: main.org_archive
---------------------------------------------------
* Tasks
** Client A
** Client X
** Client Z

* Whatever
---------------------------------------------------

The first Task (Task Client X) will now be archived correctly. But only
because there is already a heading "Client X" in my archive file (and
only one heading "Client X"). The second task will be archived at the
end of the archive file, but not under the first level heading "Tasks".

With the current setup i have to make sure
- that there is already a heading for every client in my archive file and
- that there is only one heading with that name

It would be great if i could tell org, that my level 3 tasks should be
archived under * Tasks -> ** Client X, so that Org will create the
heading "client X" itself (and the heading "Tasks", too, if it doesn't
already exist) at the right position in my archive file.

Any ideas?

Karl


Am 18.08.10 07:22, schrieb Puneeth:
> Karl,
> 
> On Wed, Aug 18, 2010 at 10:36 AM, Karl Maihofer <ignoramus@gmx.de> wrote:
>> Is there a way to tell org, that there should be a first level called
>> "Tasks" and a second called "Client 1"?
> 
> Bernt's setup describes how to do this.
> 
> http://doc.norang.ca/org-mode.html#OrgFileStructure
> 
> -- Puneeth
> 

      reply	other threads:[~2010-08-18  8:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-14 11:37 Archive Tasks Karl Maihofer
2010-08-16 18:07 ` Bastien
2010-08-18  5:06   ` Karl Maihofer
2010-08-18  5:22     ` Puneeth
2010-08-18  8:36       ` Karl Maihofer [this message]

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=4C6B9B79.1000007@gmx.de \
    --to=ignoramus@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /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).