org-mode/lisp
Carsten Dominik 07657f3e80 Yank adjusted trees.
When yanking a cut/copied subtree or a series of trees, even
the nomal yank key `C-y' does now adjust the level of the tree
to make it fit into the current outline position, without
loosing its identity, and without swallowing other subtrees.

This uses the command `org-past-subtree'.  An additional
change in that command has been implemented:  Normally, this
command picks the right outline level from the surrounding
*visible* headlines, and uses the smaller on.  So it the
cursor is between a level 4 and a level 3 headline, the tree
will be pasted as level 3.  Now, if the cursor is actually
*at* the beginning of a headline, the level of that headline
will be used.  So lets say you have a tree like this:

  * Level one
  ** Level two
  (1)
  (2)* Level one again

with (1) and (2) indicating possible cursor positions for the
insertion.  When at (1), the tree will be pasted as level 2.
When at (2), it will be pasted as level 1.

If you do not like `C-y' to behave like this, configure the
variable `org-yank-adjusted-subtrees'.

Thanks to Samuel Wales for this idea and a partial implementation.
2008-10-28 09:07:56 +01:00
..
ChangeLog Yank adjusted trees. 2008-10-28 09:07:56 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-archive.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-attach.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-bbdb.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-bibtex.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-clock.el Initial documentation of the new clock features. 2008-10-28 07:36:33 +01:00
org-colview-xemacs.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-colview.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-compat.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-exp.el Fix typo. 2008-10-26 06:58:28 +01:00
org-export-latex.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-faces.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-gnus.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-id.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-info.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-irc.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-jsinfo.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-list.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mac-message.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-macs.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mew.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mhe.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mouse.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-plot.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-publish.el Fix lockfile/symlink problem in org-publish. 2008-10-27 07:44:12 +01:00
org-remember.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-rmail.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-table.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-vm.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-wl.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org.el Implement automatic level adjustment for yanked subtrees. 2008-10-28 08:49:37 +01:00