[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Behavior of `org-show-entry'
From: |
Kyle Meyer |
Subject: |
Re: [O] Behavior of `org-show-entry' |
Date: |
Sun, 05 Feb 2017 19:31:11 -0500 |
Eric Abrahamsen <address@hidden> writes:
> Kyle Meyer <address@hidden> writes:
[...]
>> Based on how org-show-entry calls it, outline-flag-region shows the text
>> from the current heading to the next. So it seems to behave as
>> documented: "[s]how the body directly following this heading".
>
> Okay, but I still don't see how this would ever be the desired result.
> You can't get to *any* next visibility state without first wasting a
> <tab>.
Yeah, fair enough. I can't think of a situation where I would desire
that result either. But I think org-show-entry probably should behave
this way to be consistent with outline-show-entry.
>>> Which part of this should be tweaked to achieve the desired effect?
>>
>> Perhaps helm could call org-show-children after it calls org-show-entry.
>
> Okay, cool. I guess my main question was: should this be fixed in helm,
> or in org? I'll try clobbering the helm functions for a while and see
> how that goes, then raise this on the helm list.
Hmm, for the reason I gave above, I don't think org-show-entry should
change, but perhaps there should be a separate function that does
(org-show-entry)
(org-with-limited-levels (org-show-children))
which is what org-cycle does for the second state listed in its
docstring. Or maybe there is a better way to accomplish this that I
don't know about.
--
Kyle