emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] stop results drawers from folding?


From: John Kitchin
Subject: Re: [O] stop results drawers from folding?
Date: Wed, 14 Feb 2018 10:29:16 -0800

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?


John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Sat, Feb 3, 2018 at 8:10 AM, John Kitchin <address@hidden> wrote:
hm. naturally even though this has bugged me for months, publically asking about it seems to have made the issue vanish! If I figure out what the issue was I will bring it up again later. Sorry for the noise.  

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Thu, Feb 1, 2018 at 2:44 PM, Nicolas Goaziou <address@hidden> wrote:
Hello,

John Kitchin <address@hidden> writes:

> I use results drawers for my src blocks alot, and for a while now every
> time I run one block, it folds all the other results drawers, unless I use
> visible-mode.
>
> Is there a way to prevent this drawer folding so that they are open when I
> open a document, and they stay open while running blocks?

Would you have an ECM demonstrating the issue?

Regards,

--
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]