emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Org 9.6-pre and Bash sessions


From: Rudolf Adamkovič
Subject: Re: Org 9.6-pre and Bash sessions
Date: Sat, 22 Oct 2022 11:44:55 +0200

Ihor Radchenko <yantar92@posteo.net> writes:

>> I did some testing and found no issues.

Update: Today I needed to run some Bash, and it seems broken.

PROBLEM 1: WITHOUT A SESSION
============================

CONFIGURATION:

  Emacs 29, Org from Git (2f5e7103e59f06631e985d3dd39af21b5b7464ea)

REPRODUCTION STEPS:

  Run the following code block:
  
  #+begin_src bash :results output
  echo one > one.txt
  echo two > two.txt
  diff one.txt two.txt
  #+end_src
  
ACTUAL RESULTS:
  
  #+RESULTS:
  
EXPECTED RESULTS:
  
  #+RESULTS:
  : 1c1
  : < one
  : ---
  : > two

PROBLEM 2: WITH A SESSION
=========================

CONFIGURATION:

  Emacs 29, Org from Git (2f5e7103e59f06631e985d3dd39af21b5b7464ea)

REPRODUCTION STEPS:

  #+begin_src bash :session bash :results output
  echo one > one.txt
  echo two > two.txt
  diff one.txt two.txt
  #+end_src

ACTUAL:
  
  #+RESULTS:
  : org_babel_sh_prompt> 1c1
  : < one
  : ---
  : > two
  
EXPECTED:
  
  #+RESULTS:
  : 1c1
  : < one
  : ---
  : > two

ADDENDUM
========

A friend of mine, who uses Org that comes with Emacs 28.1 on Linux,
tried the PROBLEM 1 source block shown above, the one *without* a
session, and he got no results either.

(We might need better tests.)

Rudy
-- 
"One can begin to reason only when a clear picture has been formed in
the imagination."
-- Walter Warwick Sawyer, Mathematician's Delight, 1943

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia



reply via email to

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