[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Stuck in a folded section when subtree is folded
From: |
PT |
Subject: |
[Orgmode] Re: Stuck in a folded section when subtree is folded |
Date: |
Mon, 7 Sep 2009 17:15:46 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
PT <spamfilteraccount <at> gmail.com> writes:
>
> If a header has some text content under it and the cursor is in
> the text then pressing TAB folds the content, but it doesn't
> change the cursor position, so the cursor is stuck in the folded
> part and, for example, beginning-of-line doesn't work, you can
> only get out from the folded part if you press cursor up/down
>
For the time being I fixed it for myself with an advice. Here it is
if someone's interested:
(defadvice org-cycle (after my-org-cycle activate)
(if (outline-invisible-p)
(outline-previous-visible-heading 1)))
[Orgmode] Re: Stuck in a folded section when subtree is folded,
PT <=