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

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


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

Org-mode is running in Emacs, don't forget that the full
power of Emacs is available in addition to what Org-mode
can do.


- Carsten

On Apr 10, 2009, at 12:03 AM, Mark Elston wrote:

> I teach a weekly class and have a number of tasks that
> go into preparing for the class.  I have an org file set
> up with these tasks.
> Occasionally I have to put off a class for a week.  That
> means all the following classes and their sub-tasks must
> also be moved by a week.  So far, I have had to expand the
> entire tree and visit each task in turn and use the S-right
> on each date to get the rescheduled time correct.
> Is there a way to select a region and have org-mode add an
> offset to each task (specifically the deadlines) in the
> region?
> Alternatively, is there a way of specifying my tasks such that
> I can say that Task A is to take place 1w after Task B, or Task
> C must take place 4d before Task D?
> Mark
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-04-10  8:40 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 [this message]
2009-04-12  1:30   ` Mark Elston

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=536DE85C-CB4E-426C-B5C5-9D5D0731A938@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=m_elston@comcast.net \


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