[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] stop results drawers from folding?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] stop results drawers from folding? |
Date: |
Wed, 14 Feb 2018 23:05:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
John Kitchin <address@hidden> 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