[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Importing "quoted" strings in `org-babel-import-elisp-from-file'
From: |
Ihor Radchenko |
Subject: |
Re: Importing "quoted" strings in `org-babel-import-elisp-from-file' |
Date: |
Sat, 04 May 2024 11:51:19 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
>> I do not see why we should limit things to single-line strings.
>
> Quotes are not stripped:
>
> (org-babel-read "\"abc\nsdf\"" t)
> "\"abc
> sdf\""
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=edb5eaaac
> (org-babel-read "(\n\"abc\"\n" t)
>
> progn: End of file during parsing
I cannot reproduce. Still, I added a prophylactic measure to recover
from parsing errors.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [BUG] ob-shell: results missing leading quotes, Max Nikulin, 2024/05/01
- Importing "quoted" strings in `org-babel-import-elisp-from-file' (was: [BUG] ob-shell: results missing leading quotes), Ihor Radchenko, 2024/05/01
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Max Nikulin, 2024/05/02
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Ihor Radchenko, 2024/05/03
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Max Nikulin, 2024/05/04
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Ihor Radchenko, 2024/05/04
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Max Nikulin, 2024/05/04
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file',
Ihor Radchenko <=
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Max Nikulin, 2024/05/04
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Ihor Radchenko, 2024/05/04
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Max Nikulin, 2024/05/04
- Re: Importing "quoted" strings in `org-babel-import-elisp-from-file', Ihor Radchenko, 2024/05/04