From: Matt Price <moptop99@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Manipulating Dates Automatically in a Headline
Date: Wed, 13 Aug 2014 09:37:05 -0400 [thread overview]
Message-ID: <CAN_Dec_4j6aYoRm=w_vDunh6uPJ3ksep6Py-EuEg0boN=MOAMA@mail.gmail.com> (raw)
In-Reply-To: <CAN_Dec9Yg5puM3RqKtDXRB1jMJB+=s2xqVx6BgJwBXdjxJW+bQ@mail.gmail.com>
It's been a couple of days so I'll try restate this question more
clearly. I'm hoping it's possible to do something like this:
* Week one (<2014-09-09>)
* Week two (EVALUATE A LISP EXPRESSION THAT INSERTS A TIMESTAMP ONE
WEEK LATER THAN LAST TIMESTAMP FOUND IN BUFFER)
I don't have much experience with babel so I'm not sure how to do
this, but if it's possible I would love some hints. Thanks as always,
Matt
On Mon, Aug 11, 2014 at 2:20 PM, Matt Price <moptop99@gmail.com> wrote:
> Hi Everyone,
>
> I've asked this before, but that was a year or two ago and am hoping
> someone has an idea now, perhaps involving babel or something.
>
> every year at this time I rewrite a set of syllabi. I do a lot of
> moving htings around while i'm oding it, and at the end I have to
> enter a whole bunch of dates somewhat laboriously. I have headlines
> that look about like either like this:
>
> -----------------
> * Outline
> ** Week 1: Topic Title (<2013-09-10>)
> Longish Description
> *** Reading
> - Article 1
> - Article 2
> *** Lab
> *** Notes
> -----------------------------------
>
> or like this:
> ----------------------
> * Outline
> ** Week 1: <2013-09-09>
> *** Seminar: Technology and Society (<2013-09-10>)
> *** Reading
> - Article 1
> - Article 2
> *** Plenary: Global Citizenship (<2013-09-13>)
> --------------------
>
> I would like to replace the timestamps with code that dynamically
> generates timestamps based on the value either in the last sibling
> headline, or the parent headline. It seems to me this ought to be
> possible, but I'm not at all sure how to do it. i would really
> appreciate any guidance. thanks!
>
> Matt
next prev parent reply other threads:[~2014-08-13 13:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 18:20 Manipulating Dates Automatically in a Headline Matt Price
2014-08-13 13:37 ` Matt Price [this message]
2014-08-13 19:29 ` Samuel Wales
2014-08-13 23:23 ` John Kitchin
2014-08-15 1:14 ` John Kitchin
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='CAN_Dec_4j6aYoRm=w_vDunh6uPJ3ksep6Py-EuEg0boN=MOAMA@mail.gmail.com' \
--to=moptop99@gmail.com \
--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).