Re: [O] Manipulating Dates Automatically in a Headline

2014-08-14 Thread John Kitchin
Matt Price writes: I think this is approximately what you want: #+BEGIN_SRC emacs-lisp (defun insert-ts+1w () "Insert a timestamp at point that is one week later than the last timestamp found in the buffer." (interactive) (let ((last-ts (car (last (org-element-map (org-element-parse-buff

Re: [O] Manipulating Dates Automatically in a Headline

2014-08-13 Thread John Kitchin
Matt Price writes: I have not done that exactly, but here is some code that does manipulate timestamps: http://kitchingroup.cheme.cmu.edu/blog/2014/02/05/Add-time-to-a-deadline/ It is not quite what you want, but it might be a good start. > It's been a couple of days so I'll try restate this q

Re: [O] Manipulating Dates Automatically in a Headline

2014-08-13 Thread Samuel Wales
this might be entirely wrong as an answer, but org has a command to clone a task with a date increment. i wonder if that would help. On 8/13/14, Matt Price wrote: > * Week one (<2014-09-09>) > * Week two (EVALUATE A LISP EXPRESSION THAT INSERTS A TIMESTAMP ONE > WEEK LATER THAN LAST TIMESTAMP FO

Re: [O] Manipulating Dates Automatically in a Headline

2014-08-13 Thread Matt Price
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 experienc

[O] Manipulating Dates Automatically in a Headline

2014-08-11 Thread Matt Price
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