emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Anders Johansson <mejlaandersj@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Suggestion: Weektree
Date: Tue, 1 Oct 2013 10:43:26 -0500	[thread overview]
Message-ID: <CA+M2ft_OFqaoq9SOdwtK_m4Zow+knr-9+Mm0hWcLHMefVoG6eA@mail.gmail.com> (raw)
In-Reply-To: <524A9FE4.1060104@gmail.com>

On Tue, Oct 1, 2013 at 5:11 AM, Anders Johansson <mejlaandersj@gmail.com> wrote:
> Greetings,
> It's very nice to keep a journal in a datetree (using the capture mechanism)
> but for my uses it would actually be even more useful to keep it in a
> /weektree/. Something like this:
>
> * 2013
> ** W39 (September 23 - September 29)
> *** 2013-09-23 Monday
> **** note 1
> **** note 2
> *** 2013-09-24 Tuesday
> *** 2013-09-25 Wednesday
> ** W52 (December 23 - December 29)
> *** 2013-09-25 Wednesday
> **** Christmas, no work done.
> * 2014
> ** W1 (December 30 - January 5)
> *** 2013-09-31 Tuesday
> **** New year's eve party!
>
> (with names of months and days localised as usual)
>

[snip]

Not quite what you want, but I was looking for how to customize the
datetree using a capture template a bit back and made some decent
progress. You might want to check out those threads. All you should
need to do is figure out how to convert a date range (wherever you are
in the current week) to a week number and then supply the
supplementary start/stop days for the week in parentheses.

I think I did have issues capturing to a non-existing top level tree;
as in I think I had to pre-populate my year-month headline, and *then*
I could capture my individual days to it. Anyway, give these a
reading:
- http://osdir.com/ml/emacs-orgmode-gnu/2012-08/msg00396.html
- http://lists.gnu.org/archive/html/emacs-orgmode/2012-08/msg01174.html


Best regards,
John

  reply	other threads:[~2013-10-01 15:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-01 10:11 Suggestion: Weektree Anders Johansson
2013-10-01 15:43 ` John Hendy [this message]
2013-10-04 11:21   ` Mike McLean

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=CA+M2ft_OFqaoq9SOdwtK_m4Zow+knr-9+Mm0hWcLHMefVoG6eA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mejlaandersj@gmail.com \
    /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).