[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ob-lua: Support all types and multiple values in results
From: |
Rudolf Adamkovič |
Subject: |
Re: [PATCH] ob-lua: Support all types and multiple values in results |
Date: |
Wed, 24 Apr 2024 17:01:14 +0200 |
Ihor Radchenko <yantar92@posteo.net> writes:
> May you create a test for this with expected failure?
Sure! Here is one:
(should
(equal "{B}"
(org-test-with-temp-text
"src_lua{return string.match('A {B} C', '%b{}')}"
(org-babel-execute-src-block))))
The return value from 'string.match' is the substring "{B}", which Babel
misjudges to be a list and signals the error:
(user-error "Inline error: list result cannot be used")
> Applied, onto main, after [...]
Thank you, Ihor!
Rudy
--
"I do not fear death. I had been dead for billions and billions of
years before I was born, and had not suffered the slightest
inconvenience from it." --- Mark Twain, paraphrased
Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
Studenohorská 25, 84103 Bratislava, Slovakia, European Union
- [PATCH] ob-lua: Support all types and multiple values in results, Rudolf Adamkovič, 2024/04/23
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Rudolf Adamkovič, 2024/04/23
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Ihor Radchenko, 2024/04/24
- Re: [PATCH] ob-lua: Support all types and multiple values in results,
Rudolf Adamkovič <=
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Ihor Radchenko, 2024/04/26
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Max Nikulin, 2024/04/27
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Rudolf Adamkovič, 2024/04/27
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Ihor Radchenko, 2024/04/28
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Rudolf Adamkovič, 2024/04/29
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Rudolf Adamkovič, 2024/04/29
- Re: [PATCH] ob-lua: Support all types and multiple values in results, Ihor Radchenko, 2024/04/30