emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG?] org-babel eval src block with :dir parameter


From: Ihor Radchenko
Subject: Re: [BUG?] org-babel eval src block with :dir parameter
Date: Sun, 06 Aug 2023 19:02:57 +0000

Sławomir Grochowski <slawomir.grochowski@gmail.com> writes:

> I'm surprised by this behaviour.
>
> #+begin_src sh :results replace output
> ls
> #+end_src
>
> #+RESULTS:
> : file1.txt
> : file2.txt
>
> Adding :dir parameter changes output RESULTS. It's now wrapped in
> #+begin_example #+end_example block.

I am pretty sure that your example is not the whole output. The variant
with :dir has many more files, right? If so, check out
`org-babel-min-lines-for-block-output'.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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