emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Archiving drawers?
Date: Fri, 24 Aug 2012 16:56:34 +0200	[thread overview]
Message-ID: <87d32g2va5.fsf@altern.org> (raw)
In-Reply-To: <87lih45u5v.fsf@slate.zedat.fu-berlin.de> (Loris Bennett's message of "Fri, 24 Aug 2012 14:52:28 +0200")

Hi Loris,

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Bastien <bzg@altern.org> writes:
>
>> Hi Loris,
>>
>> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>>
>>> I have a small number of tasks that I clock into daily.  I have already
>>> manually split off the older log entries into a separate draw called
>>> OLDLOGS.  However, I was wondering whether there is a way of archiving
>>> these log entries while preserving the heading itself in the original
>>> org file.
>>
>> The question is: _where_ to archive those log entries?
>>
>> The best idea I can think of is another drawer, like you did.
>> As for automating this a bit, a nice Elisp exercise :)
>
> I was thinking more along the lines of the way archiving works already,
> but instead of moving the whole heading, a copy of the heading plus the
> old logs would be made in the archive file, and the old logs would be
> deleted from the original file, i.e.

But then archiving the "* Make tea" headline would require to merge the
logs of the archived one and those of the alive one.  Quite some work.

-- 
 Bastien

  reply	other threads:[~2012-08-24 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 12:19 Archiving drawers? Loris Bennett
2012-08-24 12:34 ` Bastien
2012-08-24 12:52   ` Loris Bennett
2012-08-24 14:56     ` Bastien [this message]
2012-08-24 19:10       ` Achim Gratz
2012-08-26 15:20   ` Bernt Hansen

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=87d32g2va5.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /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).