From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Behavior of `org-show-entry' Date: Mon, 06 Feb 2017 12:18:20 -0500 Message-ID: <877f535jc3.fsf@kyleam.com> References: <87lgtk8kja.fsf@ericabrahamsen.net> <87d1ew5m8w.fsf@kyleam.com> <877f548bzu.fsf@ericabrahamsen.net> <87a8a05fe8.fsf@kyleam.com> <877f53wjkf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1camvq-0004hl-66 for emacs-orgmode@gnu.org; Mon, 06 Feb 2017 12:18:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1camvn-0000ac-1r for emacs-orgmode@gnu.org; Mon, 06 Feb 2017 12:18:26 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]:51375 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1camvm-0000aH-Sr for emacs-orgmode@gnu.org; Mon, 06 Feb 2017 12:18:22 -0500 In-Reply-To: <877f53wjkf.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Kyle Meyer 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