emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: PT <spamfilteraccount@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Stuck in a folded section when subtree is folded
Date: Mon, 7 Sep 2009 17:15:46 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090907T191439-259@post.gmane.org> (raw)
In-Reply-To: loom.20090905T155550-734@post.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)))

      parent reply	other threads:[~2009-09-07 17:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-05 14:05 Stuck in a folded section when subtree is folded PT
2009-09-06 11:41 ` Carsten Dominik
2009-09-06 14:22   ` PT
2009-09-06 16:20     ` Carsten Dominik
2009-09-06 16:34       ` PT
2009-09-11  4:00         ` Carsten Dominik
2009-09-07 17:15 ` PT [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090907T191439-259@post.gmane.org \
    --to=spamfilteraccount@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).