emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Vlastimil Vondra <vlastimil.vondra@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unable to unfold a folded block having point directly after the folded block
Date: Fri, 21 Jul 2023 07:30:13 +0000	[thread overview]
Message-ID: <87cz0l90xm.fsf@localhost> (raw)
In-Reply-To: <CACjq+cxQgLs1hwzuN9FhdFGGU4W++Y76=GCWhnqVyiDHjhRLNQ@mail.gmail.com>

Vlastimil Vondra <vlastimil.vondra@gmail.com> writes:

> Perfect, org-reveal is working as well, haven't known about that! But it
> would be good that org-reveal is called automatically before org-cycle,
> because when going through the task list, I'm just expanding by tab. It is
> not really convenient to use tab and when reaching error (or no unfold)
> then hitting C-c C-r. Maybe it's just me.

Try to customize `org-cycle-emulate-tab'. That way, `org-cycle' will try
to reveal current heading in more places instead of attempting to
perform indentation.

I do not think that calling org-reveal before org-cycle is a good idea -
it may lead to unexpected results depending on
`org-fold-show-context-detail'.

You can also create your own custom `personal/org-cycle' command that
will (1) call `org-reveal' (2) call `org-cycle'.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      parent reply	other threads:[~2023-07-21  7:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 13:43 Unable to unfold a folded block having point directly after the folded block Rainer Stengele
2012-01-02 18:53 ` Bastien
2012-01-03 10:58   ` Rainer Stengele
2012-01-04 10:27     ` Bastien
2012-01-10  8:52       ` Rainer Stengele
2023-07-20  8:37         ` Vlastimil Vondra
2023-07-20  8:46           ` Ihor Radchenko
     [not found]             ` <CACjq+cw3wMsyF=W-hPGYBkN_P9Ng5k96Ufk0J-9QRn6-+h16og@mail.gmail.com>
2023-07-20  9:20               ` Ihor Radchenko
2023-07-20  9:37                 ` Vlastimil Vondra
2023-07-20 22:04                   ` Evgenii Klimov
2023-07-21  7:30                   ` Ihor Radchenko [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=87cz0l90xm.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=vlastimil.vondra@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).