[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
org-forward-heading-same-level and the invisible-ok argument
From: |
D |
Subject: |
org-forward-heading-same-level and the invisible-ok argument |
Date: |
Tue, 25 Aug 2020 18:46:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
Hi,
I am currently thinking about how to have
org-forward-heading-same-level and its sister command work together
with a setting of my minor mode org-superstar-mode. The issue that
arises is that when my mode renders the leading stars of a headline
invisible, org-forward-heading-same-level considers the partially
invisible headlines fully invisible, and hence only works correctly
for single-asterisk headlines.
The solution I considered is making two interactive commands that
simply call org-forward-heading-same-level with invisible-ok set to t
and overshadow the bindings (C-c C-f and <menu-bar> <Org>
<Navigate Headings> <Next Same Level>). The downside to this is of
course is the intrusive nature of it, and I am concerned about side
effects I may be overlooking. So I thought it is best to ask *why* the
navigation commands take invisibility into account the way they do,
and whether you guys have a suggestion that may be more elegant than
the approach I came up?
Cheers,
D.
- org-forward-heading-same-level and the invisible-ok argument,
D <=
- Re: org-forward-heading-same-level and the invisible-ok argument, Ihor Radchenko, 2020/08/25
- [PATCH] Re: org-forward-heading-same-level and the invisible-ok argument, D, 2020/08/26
- Re: [PATCH] Re: org-forward-heading-same-level and the invisible-ok argument, Ihor Radchenko, 2020/08/27
- [PATCH] Re: Re: org-forward-heading-same-level and the invisible-ok argument, D, 2020/08/28
- Re: [PATCH] Re: Re: org-forward-heading-same-level and the invisible-ok argument, Ihor Radchenko, 2020/08/28
- Re: [PATCH] Re: Re: org-forward-heading-same-level and the invisible-ok argument, D, 2020/08/28
- Re: [PATCH] Re: Re: org-forward-heading-same-level and the invisible-ok argument, Ihor Radchenko, 2020/08/29
- [PATCH] Re: Re: Re: org-forward-heading-same-level and the invisible-ok argument, D, 2020/08/30