emacs-orgmode
[Top][All Lists]
Advanced

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

Re: What determines if R source block output is wrapped in begin_example


From: John Hendy
Subject: Re: What determines if R source block output is wrapped in begin_example or not?
Date: Fri, 14 Jan 2022 07:13:40 -0600

On Fri, Jan 14, 2022 at 3:48 AM Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>
> Have a look at
>
> ,----[ C-h v org-babel-min-lines-for-block-output RET ]
> | org-babel-min-lines-for-block-output is a variable defined in ‘ob-core.el’.
> |
> | Its value is 10
> |
> | The minimum number of lines for block output.
> | If number of lines of output is equal to or exceeds this
> | value, the output is placed in a #+begin_example...#+end_example
> | block.  Otherwise the output is marked as literal by inserting
> | colons at the starts of the lines.  This variable only takes
> | effect if the :results output option is in effect.
> |
> `----

Well, indeed, that's definitely it! Out of curiosity, despite being an
org-mode user for... 10(?) yrs now, is there a heuristic on when to
look at the manual vs. when to M-x help RET v RET
[guess-and-check-randomly]?

I don't feel familiar enough with org internals to have known where to
look... despite this being 100% exactly what I experienced, so much so
it's comedic how accurately it's written vs. what I I would have
described.

Thanks so much!
John
> --
> : Eric S Fraga, with org release_9.5.2-298-g1f48d2 in Emacs 29.0.50



reply via email to

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