emacs-orgmode
[Top][All Lists]
Advanced

[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: Mon, 06 Feb 2017 12:18:20 -0500

Nicolas Goaziou <address@hidden> writes:

> Kyle Meyer <address@hidden> writes:
>
>> 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.
>
> See `org-show-context' and `org-reveal'.

Sadly, I had already seen these, and I still answered what I did :)

It seems like, with the default value of org-show-context-detail,
(org-show-context 'agenda) will show the desired view of

    * a
    
    
    a body
    
    ** aa...
    * b

So, do you recommend that, assuming helm wants this view after jumping
to a heading, it calls (org-show-set-visibility 'local)?  Or should it
use its own key, something like (org-show-context 'helm), so that users
can customize the key in org-show-context-detail?  Or something else?

Thanks.

-- 
Kyle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]