emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pinkanon pinkanon <pinkanon.pinkanon@yandex.ru>
To: emacs-orgmode@gnu.org
Subject: org-show-context-detail and tree expansion
Date: Tue, 26 Mar 2019 22:01:42 +0200	[thread overview]
Message-ID: <10741401553630502@iva6-628714d786b2.qloud-c.yandex.net> (raw)

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)

Is there a workaround?

             reply	other threads:[~2019-03-26 20:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-26 20:01 pinkanon pinkanon [this message]
2019-03-27 14:29 ` org-show-context-detail and tree expansion Nicolas Goaziou
2019-03-27 17:10   ` pinkanon pinkanon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10741401553630502@iva6-628714d786b2.qloud-c.yandex.net \
    --to=pinkanon.pinkanon@yandex.ru \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).