[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: |
Wed, 26 Oct 2022 13:56:37 +0200 |
Ihor,
Thank you for investigating, explaining, and also fixing the problem! I
pulled the latest 'main' and everything works a bit, it seems.
Then, to avoid walking in circles, I decided to write some tests, for I
think shell blocks should never, never, never break in such basic ways,
let alone in production Emacs.
Please, see the WIP patch attached to this message.
I noticed that the following tests do not pass:
1. ob-shell/error-output-after-success
We seem to trash error output, such as warnings, on success. I think
we should not do this. Now, on the execution of "echo X &>2", Org
says "Code block produced no output." But that does hold true. The
block did produce output, just on the other output stream, namely
error output.
2. ob-shell/error-output-after-failure
We seem not to show the exit code in this case. Why?
3. ob-shell/exit-codes
Should we add a newline after the exit code message?
Rudy
0001-WIP-test-ob-shell-Add-tests-for-some-recent-changes.patch
Description: Text Data
--
"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
- Re: Org 9.6-pre and Bash sessions, (continued)
- Re: Org 9.6-pre and Bash sessions, Michael Welle, 2022/10/13
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/13
- Re: Org 9.6-pre and Bash sessions, Rudolf Adamkovič, 2022/10/15
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/17
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/21
- Re: Org 9.6-pre and Bash sessions, Rudolf Adamkovič, 2022/10/21
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/22
- Re: Org 9.6-pre and Bash sessions, Rudolf Adamkovič, 2022/10/22
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/22
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/23
- Re: Org 9.6-pre and Bash sessions,
Rudolf Adamkovič <=
- Re: Org 9.6-pre and Bash sessions, Rudolf Adamkovič, 2022/10/26
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/26
- Re: Org 9.6-pre and Bash sessions, Rudolf Adamkovič, 2022/10/28
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/28
- Re: Org 9.6-pre and Bash sessions, Rudolf Adamkovič, 2022/10/28
- Re: Org 9.6-pre and Bash sessions, Ihor Radchenko, 2022/10/29
- [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions), Ihor Radchenko, 2022/10/29
- Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions), tomas, 2022/10/29
- Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions), Samuel Wales, 2022/10/29
- Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions), tomas, 2022/10/29