From: Vlastimil Vondra <vlastimil.vondra@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unable to unfold a folded block having point directly after the folded block
Date: Thu, 20 Jul 2023 11:37:52 +0200 [thread overview]
Message-ID: <CACjq+cxQgLs1hwzuN9FhdFGGU4W++Y76=GCWhnqVyiDHjhRLNQ@mail.gmail.com> (raw)
In-Reply-To: <87h6pzq6qq.fsf@localhost>
[-- Attachment #1: Type: text/plain, Size: 2117 bytes --]
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.
Anyway thanks for letting me know.
BR,
Vlastimil
On Thu, 20 Jul 2023 at 11:20, Ihor Radchenko <yantar92@posteo.net> wrote:
> [ Adding Org mailing list back to CC ]
>
> Vlastimil Vondra <vlastimil.vondra@gmail.com> writes:
>
> > Sorry, I think I've sent the reply in wrong manner. I was trying to reply
> > to this conversation https://list.orgmode.org/87ty4b7ofr.fsf@gnu.org/t/
> > where Reiner wrote that he is not able to unfold tree if folded and at
> the
> > end of line. You can get there if you are on line longer then previous,
> > then up arrow and now you are not able to unfold. I've created function,
> > which will first set cursor to end-of-line by function and then calling
> > org-cycle which is then working.
>
> You are replying to a thread that is 10 years old. That problem
> discussed in the thread has been fixed in Org 9.4.4 or earlier (for
> drawers).
>
> > I'm sending video, so it is more obvious.
>
> In the video, the situation is with folded headings of different length:
>
> * asd
> alskdj
> * Headingalksjdlaskdj
> alskdj
>
> If everything is folded:
>
> * asd...
> * Headingalksjdlaskdj<point>...
>
> Pressing C-p will yield
>
> * asd...<point> <-- note <point> after ...
> * Headingalksjdlaskdj...
>
> Then, <TAB> will indeed not unfold, before the point is not actually on
> heading.
> This situation is one of the edge cases with point adjustment in Emacs.
>
> The workaround is simple - M-x org-reveal (C-c C-r).
> org-reveal generally works any time the cursor is stuck in the middle of
> invisible text.
>
> --
> 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>
>
[-- Attachment #2: Type: text/html, Size: 3115 bytes --]
next prev parent reply other threads:[~2023-07-20 9:44 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 [this message]
2023-07-20 22:04 ` Evgenii Klimov
2023-07-21 7:30 ` Ihor Radchenko
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='CACjq+cxQgLs1hwzuN9FhdFGGU4W++Y76=GCWhnqVyiDHjhRLNQ@mail.gmail.com' \
--to=vlastimil.vondra@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).