emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: stop results drawers from folding?
Date: Wed, 14 Feb 2018 23:05:42 +0100	[thread overview]
Message-ID: <87d117ns5l.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJ51ETo6b1M8C9G05K7a753WEFCV7fBGR5hnt4PZ=ou-nEm3Lw@mail.gmail.com> (John Kitchin's message of "Wed, 14 Feb 2018 10:29:16 -0800")

Hello,

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> I have tracked this issue down to the last line of this function:
>
> (defun org-show-entry ()
>   "Show the body directly following this heading.
> Show the heading too, if it is currently invisible."
>   (interactive)
>   (save-excursion
>     (ignore-errors
>       (org-back-to-heading t)
>       (outline-flag-region
>        (max (point-min) (1- (point)))
>        (save-excursion
> (if (re-search-forward
>       (concat "[\r\n]\\(" org-outline-regexp "\\)") nil t)
>      (match-beginning 1)
>    (point-max)))
>        nil)
>       (org-cycle-hide-drawers 'children))))
>
> This command gets called in many places, e.g. org-next-block, which is
> called by org-babel-next-src-block. It is inconvenient when you use results
> drawers, as it closes them when you navigate around.
>
> It isn't obvious how to suppress that behavior. Any thoughts?

I see. There are some changes with drawers visibility on master. You may
want to test that branch.

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

      reply	other threads:[~2018-02-14 22:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-01 21:34 stop results drawers from folding? John Kitchin
2018-02-01 22:44 ` Nicolas Goaziou
2018-02-03 16:10   ` John Kitchin
2018-02-14 18:29     ` John Kitchin
2018-02-14 22:05       ` Nicolas Goaziou [this message]

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=87d117ns5l.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).