Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-08 Thread Ihor Radchenko
Marcin Borkowski writes: > And here it is: > https://mbork.pl/2023-08-05_Plotting_ASCII_art_charts_from_Org_mode_tables There is also (org-babel-ref-resolve "weight-data[-60:-1]") -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support

Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-06 Thread Ihor Radchenko
Marcin Borkowski writes: >> May you elaborate why you consider this a bug? > > I wouldn't call it a bug per se. If my chart looks like this: > > | > * > |* > | * > +--*- > > it is displayed in Org example block as > > | > ,* > |* > | * > +--*- Is there any problem with the default results

Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-05 Thread Marcin Borkowski
On 2023-08-05, at 11:49, Ihor Radchenko wrote: > Marcin Borkowski writes: > >> Thanks a lot, that works! (Apart from the issue with lines beginning >> with a star, possibly preceded by whitespace, which are "escaped" with >> a comma - but that is a known thing in Org, and I can easily

Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-05 Thread Ihor Radchenko
Marcin Borkowski writes: > Thanks a lot, that works! (Apart from the issue with lines beginning > with a star, possibly preceded by whitespace, which are "escaped" with > a comma - but that is a known thing in Org, and I can easily circumvent > it.) May you elaborate why you consider this a

Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-05 Thread Marcin Borkowski
On 2023-08-04, at 22:20, Marcin Borkowski wrote: > On 2023-08-04, at 10:03, Ihor Radchenko wrote: > >> Marcin Borkowski writes: >> >>> I have an Elisp form in an Org source block, returning a (multi-line) >>> string. I'd like to put that string into the same Org buffer. I tried >>>

Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-04 Thread Marcin Borkowski
On 2023-08-04, at 10:03, Ihor Radchenko wrote: > Marcin Borkowski writes: > >> I have an Elisp form in an Org source block, returning a (multi-line) >> string. I'd like to put that string into the same Org buffer. I tried >> `:results raw', but the string contains `|' characters, so Org

Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-04 Thread Ihor Radchenko
Marcin Borkowski writes: > I have an Elisp form in an Org source block, returning a (multi-line) > string. I'd like to put that string into the same Org buffer. I tried > `:results raw', but the string contains `|' characters, so Org treats > its as a table and tries to format it as such,

How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-04 Thread Marcin Borkowski
Hi Orgers, I have an Elisp form in an Org source block, returning a (multi-line) string. I'd like to put that string into the same Org buffer. I tried `:results raw', but the string contains `|' characters, so Org treats its as a table and tries to format it as such, which is not what I want.