emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastienguerry@googlemail.com>
To: User <spamfilteraccount@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Cycling when there is no subtree
Date: Fri, 31 Jul 2009 09:21:55 +0800	[thread overview]
Message-ID: <87ljm5k5kl.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20090730T100900-958@post.gmane.org> (User's message of "Thu, 30 Jul 2009 10:14:40 +0000 (UTC)")

User <spamfilteraccount@gmail.com> writes:

> I noticed if a header has only some text under it and no
> subheaders the TAB cycling still goes over the FOLDED -> CHILDREN
> -> SUBTREE cycle, though the last two states are effectively the
> same in that case and nothing happens when TAB is pressed in
> CHILDREN state.
>
> Wouldn't it be better if in this case only the FOLDED - CHILDREN
> states were cycled?
>
> This way I could open such a header with TAB and close it again
> with an other TAB press. Now I have to press TAB 3 times to do it,
> which is annoying. Org could be smarter than that.

Yes.  I added this feature.

I first had concerns that breaking the tree-steps habit might be
dangerous, but finally I don't think it is.

Also note that we might want to update the behavior of the global
cycling: when the CONTENTS view displays the same things than the
OVERVIEW view, we should perhaps directly switch to SHOW ALL.  

I'll Carsten sort this out -- and possibly revert the change I just 
made, if he disagrees!

Thanks for this idea,

-- 
 Bastien

  reply	other threads:[~2009-07-31  1:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 10:14 Cycling when there is no subtree User
2009-07-31  1:21 ` Bastien [this message]
2009-07-31  4:49   ` User
2009-08-03 11:30     ` Carsten Dominik

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=87ljm5k5kl.fsf@bzg.ath.cx \
    --to=bastienguerry@googlemail.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).