[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Raw" string literals for elisp
From: |
Clément Pit-Claudel |
Subject: |
Re: "Raw" string literals for elisp |
Date: |
Wed, 8 Sep 2021 09:59:41 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 9/8/21 7:34 AM, Adam Porter wrote:
> For extra bonus points, it would be nice if leading indentation at the
> beginning of a line in a raw string were omitted, similar to Python's
> triple-quoted strings.
Python's triple quoted strings don't omit leading indentation, do they?
$ python3
>>> s = """
... aaa
... """
>>> s
'\n aaa\n '
- "Raw" string literals for elisp, Anna Glasgall, 2021/09/08
- Re: "Raw" string literals for elisp, Po Lu, 2021/09/08
- Re: "Raw" string literals for elisp, Lars Ingebrigtsen, 2021/09/08
- Re: "Raw" string literals for elisp, Alan Mackenzie, 2021/09/08
- Re: "Raw" string literals for elisp, Adam Porter, 2021/09/08
- Re: "Raw" string literals for elisp, Stefan Monnier, 2021/09/08