From: Ihor Radchenko <yantar92@gmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: Richard Stanton <rhstanton@berkeley.edu>, emacs-orgmode@gnu.org
Subject: Re: How to stop results being hidden when using ":results drawer"?
Date: Fri, 13 May 2022 20:11:15 +0800 [thread overview]
Message-ID: <8735hdr5ss.fsf@localhost> (raw)
In-Reply-To: <m2wneq7v60.fsf@andrew.cmu.edu>
John Kitchin <jkitchin@andrew.cmu.edu> writes:
> This does not change anything for me.
>
> The function that causes folding for me is `org-entry-show'. Presumably
> because of this line: (org-cycle-hide-drawers 'children)
>
> My solution was an override advice that makes this function not run when
> point is in a src-block
> (https://github.com/jkitchin/scimax/blob/master/scimax-jupyter.el#L281).
Could you elaborate? I am not sure how `org-entry-show' has anything to
do with hiding results.
I tried the following Org file with latest Org main (after (require 'ob-python)):
* test heading
#+begin_src python :results drawer output
print(1+2)
#+end_src
#+RESULTS:
:results:
3
:end:
The drawer does not get hidden.
Best,
Ihor
next prev parent reply other threads:[~2022-05-13 12:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-11 16:52 How to stop results being hidden when using ":results drawer"? Richard Stanton
2022-05-11 17:51 ` Richard Stanton
2022-05-11 20:14 ` Richard Stanton
2022-05-11 20:18 ` John Kitchin
2022-05-12 10:14 ` Ihor Radchenko
2022-05-12 13:07 ` John Kitchin
2022-05-13 12:11 ` Ihor Radchenko [this message]
2022-05-13 12:46 ` John Kitchin
2022-05-13 13:35 ` [PATCH] " Ihor Radchenko
2022-05-13 15:39 ` Eric S Fraga
2022-05-13 16:19 ` Ihor Radchenko
2022-07-31 2:21 ` Ihor Radchenko
2022-05-12 17:04 ` Richard H. Stanton
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735hdr5ss.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jkitchin@andrew.cmu.edu \
--cc=rhstanton@berkeley.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.