Archive subtree and move to next visible task
commit3e24ccf646af61e49345dd600a1f4a60dbfea4c0
authorBernt Hansen <bernt@norang.ca>
Tue, 7 Jul 2009 21:38:46 +0000 (7 17:38 -0400)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 8 Jul 2009 04:51:20 +0000 (8 06:51 +0200)
tree8ffda80a064d20085837717e29d0dec012cfa35f
parent79b70a7e663e2118b631abd05caf43e2c548d13d
Archive subtree and move to next visible task

This skips over blank lines preceeding the next task when archiving a task or
subtree.  This allows us to use a keyboard macro to remember the archive key
sequence incantation and skips to the next heading so we don't accidentally
archive the wrong task.

This fixes an issue with blank line handling.  Tasks which have blank lines
following them do not include the blank lines -- they are part of the following
task.  This moves the point forward to the next visible headline so that if we
repeat the archive operation it affects the following task and not the previous
one by mistake.
lisp/org-archive.el