Speed-up cycling in buffers with *many* siblings, and *many* drawers
commit0eaf3cce4d8eae4cc7322d225a5d981b5580c02d
authorCarsten Dominik <carsten.dominik@gmail.com>
Thu, 23 Jul 2009 06:30:14 +0000 (23 08:30 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 23 Jul 2009 09:27:34 +0000 (23 11:27 +0200)
tree068a258c8654d558cc21494d5ec379ce13179f45
parent75a26e1c8d1891a905fc622b6e6c00e9c491b65a
Speed-up cycling in buffers with *many* siblings, and *many* drawers

For this we took another look at when drawers actually have to be
hidden again and found that CONTENTS view does not need it, and that
CHILDREN view only needs it before the first child.

The second speed-up comes from advising outline-end-of-subtree to use
the Org version when in org-mode.

The third speed-up comes from using a better way to find the next
visible line, using `next-single-char-property-change'.

Finally, `org-forward-same-level' and `org-backward-same-level' are
faster versions of their outline equivalents and are now bound to
`C-c C-f' and `C-c C-b'.
lisp/ChangeLog
lisp/org.el