[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in argume
From: |
Vladimir Panteleev |
Subject: |
Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments |
Date: |
Sun, 18 Mar 2018 22:43:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Hi,
On 2018-03-18 22:24, Nicolas Goaziou wrote:
We're clearly mis-communicating. I know the difference between a symbol
and a string, and how `read' operates. I think what puzzles me is some
design choices made in `org-sbe', and the fact that the second note of
its docstring is clear as mud.
Ah! Well, thanks for the clarification, and apologies for the confusion.
I consider it to be a bug if you need to write $"string" instead of
"string" in any `org-sbe' call. We should not test such a mis-feature,
which should be removed.
Agreed completely, but, wouldn't this be a breaking change? So far I've
tried to avoid breaking any meaningful existing uses of org-sbe.
Let me insist on this. $"string" (or $ "string") is very wrong. Please
do not write your tests on top of this. IIUC, `org-sbe' is about passing
table fields into source blocks. Let's test that instead, with a table,
and a source block. I don't mind superfluous coverage.
It is just a matter of tests. Your changes sound good. So, would you
mind adjusting your tests so we can move forward?
No problem. To clarify, would you prefer tests which still use
$-prefixing, but with a table cell reference to get the value in the
cell (i.e. $$2), or tests which do not use $-prefixing in order to
interpret the string in the table cell as a reference to another block
in the org-mode document?
--
Best regards,
Vladimir
- [O] [PATCH 0/3] org-sbe fixes, Vladimir Panteleev, 2018/03/08
- [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Vladimir Panteleev, 2018/03/08
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Nicolas Goaziou, 2018/03/12
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Vladimir Panteleev, 2018/03/13
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Nicolas Goaziou, 2018/03/14
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Vladimir Panteleev, 2018/03/14
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Nicolas Goaziou, 2018/03/14
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Vladimir Panteleev, 2018/03/14
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Nicolas Goaziou, 2018/03/18
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments,
Vladimir Panteleev <=
- Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments, Nicolas Goaziou, 2018/03/18
- [O] [PATCH v2 0/3] org-sbe fixes, Vladimir Panteleev, 2018/03/18
- [O] [PATCH v2 2/3] ob-table: Fix org-sbe's handling of list arguments, Vladimir Panteleev, 2018/03/18
- [O] [PATCH v2 1/3] ob-table: Fix org-sbe's handling of quotes in cell values, Vladimir Panteleev, 2018/03/18
- [O] [PATCH v2 3/3] ob-table: Mention passing ranges as lists in org-sbe's documentation, Vladimir Panteleev, 2018/03/18
- Re: [O] [PATCH v2 0/3] org-sbe fixes, Nicolas Goaziou, 2018/03/19
- Re: [O] [PATCH v2 0/3] org-sbe fixes, Alan Schmitt, 2018/03/25
- Re: [O] [PATCH v2 0/3] org-sbe fixes, Nicolas Goaziou, 2018/03/25
- Re: [O] [PATCH v2 0/3] org-sbe fixes, Vladimir Panteleev, 2018/03/25
- Re: [O] [PATCH v2 0/3] org-sbe fixes, Nicolas Goaziou, 2018/03/25