emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Elston <m_elston@comcast.net>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: org-mode emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Changing multiple dates en masse
Date: Sat, 11 Apr 2009 18:30:34 -0700	[thread overview]
Message-ID: <49E1443A.8020104@comcast.net> (raw)
In-Reply-To: <536DE85C-CB4E-426C-B5C5-9D5D0731A938@gmail.com>

Carsten Dominik wrote:
> Hi Mark,
> there is nothing like that built-in.
> However, here is how I would do this:
> I am assuming that each of the classes has a SCHEDULED date, maybe
> you created the list of entries with `org-clone-subtree-with-timeshift'.
> I am also assuming that these are children from some parent like
> * Course
> ** Lecture 1
>    SCHEDULED <..>
> ** Lecture 2
>    SCHEDULED <..>
> etc.
> I would:
> 1. put the cursor on the "Course" headline.
> 2. Press `C-c C-x <' to restrict agenda commands to that tree
> 3. Press `C-c a L' to get the time line view
> 4. Move the cursor to the first entry that should be shifted,
>    maybe "Lecture 5"
> 5. Press `C-x (' to start a keyboard macro.
> 6. Press `7 S-right' to shift the date.
> 7. Move the cursor down to the next lecture (still
>    all the time in the agenda)
> 8. Press `C-x )' to end the keyboard macro
> 9. Press `C-x e' to execute the keyboard macro
>    for the next entry, etc etc
> 10. Press `C-c C-x >' to remove the agenda restriction

Barring a way of doing this in a single operation this is
really pretty cool.  I had not explored the 'interactive' uses
of the agenda views and this particular operation was something
I was unaware of.  Adding the power of a macro to it is even better.



      reply	other threads:[~2009-04-12  1:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 22:03 Changing multiple dates en masse Mark Elston
2009-04-10  8:40 ` Carsten Dominik
2009-04-12  1:30   ` Mark Elston [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:

  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=49E1443A.8020104@comcast.net \
    --to=m_elston@comcast.net \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).