emacs-orgmode
[Top][All Lists]
Advanced

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

2 'echo' bash instructions produce a table


From: Alain . Cochard
Subject: 2 'echo' bash instructions produce a table
Date: Sun, 6 Nov 2022 07:58:58 +0100

Hello.

I do

   emacs -Q -l ~/.emacs.git

with .emacs.git being

   (add-to-list 'load-path "~/Org/Coch-git/org-mode/lisp")
   (custom-set-variables
    '(org-babel-load-languages
      '(
        (shell . t))
      )
    '(debug-on-error t)
    )

   Org mode version 9.6-pre (release_9.5.5-1075-g3e010d @
   /home/cochard/Org/Coch-git/org-mode/lisp/)

Then I visit an Org file which contains only

   #+begin_src bash
   echo "foo"
   echo "bar"
   #+end_src

Typing 'C-c C-c' produces

   #+RESULTS:
   | foo |
   | bar |

By contrast, with only 'echo "foo"', it produces what I expect:

   #+RESULTS:
   : foo



-- 
EOST (École et Observatoire des Sciences de la Terre) 
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 110]  | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France     | [ slot available for rent ]




reply via email to

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