Can anyone please steer me in the right direction to a function that will edit multiple TODO in one fell swoop. Here are some examples:

  • highlight a group of TODO that have deadlines and remove the dealines to make them undated.

  • modify all priorites in a highlighted group -- e.g., #A to #D

  • set deadlines by group and/or change deadlines by group -- e.g., move everything to a specific date, or set a specific date for each if they were undated.


The variable org-loop-over-headlines-in-active-region, when set to t, will allow to act on several headings at once.

You can highlight a region, and all headings in the region will be affected by the following commands: org-schedule, org-deadline, org-todo, org-archive-subtree, org-archive-set-tag and org-archive-to-archive-sibling

Changing priority is not supported.

  • Thank you very much -- I've been doing some experimenting with the options you've mentioned and I'll report back with the results after I've had a few days to figure everything out. – lawlist Jun 26 '13 at 3:28
  • I had a few issues with org-deadline (i.e., Emacs freezing, and dates not changing), but I have not yet tracked down the root cause. However, the built-in functions suggested by Juancho are a good starting point to begin writing my own modification to customize the organization to my personal needs. Thank you again for your help. – lawlist Jun 29 '13 at 3:00
  • If you want to automate things further via elisp, the function org-map-entries is very useful. It loops through all headlines matching a specified criteria, and you just have to provide the code to run in each match. – Juancho Jun 29 '13 at 15:20
  • Here is the one-fell-swoop change of org-deadlines written by Bruce Connor: stackoverflow.com/questions/17493745/… – lawlist Jul 6 '13 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.