From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-show-context-detail and tree expansion Date: Wed, 27 Mar 2019 15:29:47 +0100 Message-ID: <87d0mcz8ys.fsf@nicolasgoaziou.fr> References: <10741401553630502@iva6-628714d786b2.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h99Z1-0002jD-QE for emacs-orgmode@gnu.org; Wed, 27 Mar 2019 10:30:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h99Z0-0000fC-NI for emacs-orgmode@gnu.org; Wed, 27 Mar 2019 10:29:59 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:37293) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h99Z0-0000cY-Ef for emacs-orgmode@gnu.org; Wed, 27 Mar 2019 10:29:58 -0400 In-Reply-To: <10741401553630502@iva6-628714d786b2.qloud-c.yandex.net> (pinkanon pinkanon's message of "Tue, 26 Mar 2019 22:01:42 +0200") 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: pinkanon pinkanon Cc: emacs-orgmode@gnu.org Hello, pinkanon pinkanon writes: > Hi! I use helm, which can list all headings using helm-org-in-buffer-headings, > and lets you choose one to jump to. > When I jump to a heading, the tree is expanded. > > My problem is as follows. > > When I expand this tree on "(2) Downers" (when it is collapsed): > > * (1) Uppers > ** (2) Downers > screamers > *** laughers > ...and also a quart of tequila > ** (3) a quart of rum, > a case of Budweiser, > ** (4) a pint of raw ether and two dozen amyls. > > I get: > > * (1) Uppers > ** (2) Downers > screamers > ... > ** (3) a quart of rum,... > ** (4) a pint of raw ether and two dozen amyls.... > > Instead of: > > * (1) Uppers > ** (2) Downers > screamers > *** laughers... > ** (3) a quart of rum,... > ** (4) a pint of raw ether and two dozen amyls. > > > I was advised to modify 'org-show-context-detail, as helm uses org-show-context function. > But none of the possible values fixed the behaviour for me. > I used 'canonical for the example above: > (setf (alist-get 'default org-show-context-detail) 'canonical) You may want to debug `org-show-set-visibility' first. If it gives no clue, you may want to report it to Helm. Regards, -- Nicolas Goaziou