emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: PT <spamfilteraccount@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Stuck in a folded section when subtree is folded
Date: Fri, 11 Sep 2009 06:00:20 +0200	[thread overview]
Message-ID: <BE2680F7-0AFB-4A9A-A905-9535B1AD4F0B@gmail.com> (raw)
In-Reply-To: <loom.20090906T182710-536@post.gmane.org>


On Sep 6, 2009, at 6:34 PM, PT wrote:

> Carsten Dominik <carsten.dominik <at> gmail.com> writes:
>
>>
>> Wrong answer:  The correct answer would have been:
>>
>> Yes, it is nil!
>>
>> Because the default value is t!.  The default value means
>> that TAB will not at all fold an entry when the
>> cursor is not in the headline.  Maybe this is really the
>> setting you want?
>
> You are correct, I set it to nil, but this was not the issue. I
> thought you ask it because of some strange interaction.
>
> I'm happy with the current setting. I want TAB to fold
> everywhere. The problem is if I'm standing in a place like this

I did understand the problem.

The reason why I am not moving the cursor after folding
is so that you can go back with another TAB, with the cursor
still at the same position.

In my setup, `C-a' works to bring the cursor to the beginning
of the headline.  What are you using to try to get to the
beginning of the lines?

- Carsten

>
>
> * header
>
> some text <cursor is here> some other text
>
>
> and press TAB then the subtree is folded properly, but the cursor
> is stuck in the folded section:
>
>
> * header <cursor appears here, it is in the folded section>...
>
>
>
> and I think it should be put to the beginning of line to avoid leaving
> it in the folded section after a fold:
>
>
> <cursor>* header...
>
>
> Maybe I was not clear enough in the first post.
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-09-11  4:00 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 [this message]
2009-09-07 17:15 ` PT

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=BE2680F7-0AFB-4A9A-A905-9535B1AD4F0B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=spamfilteraccount@gmail.com \
    /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).