[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Interpret #r"..." as a raw string
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] Interpret #r"..." as a raw string |
Date: |
Tue, 02 Mar 2021 08:49:51 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I have done a patch like that few years ago and it wasn't accepted
> then see past discussion:
> https://mail.gnu.org/archive/html/emacs-devel/2012-08/msg00071.html
>
> My notes and patch on implementing it:
> http://diobla.info/blog-archive/raw-strings.html
Thanks, that's quite helpful.
At the end you state:
I personally think raw strings have their use outside of regexes and
would be a nice addition to the Emacs Lisp language.
I'm willing to believe it, but so far the only concrete examples I've
seen where raw string literals could be helpful are regexps.
I'm clearly leaning against the addition of raw string literal (just
like I'm leaning against the addition of multiline comments, BTW)
because I feel the benefits are quite limited.
Stefan
- Re: [PATCH] Interpret #r"..." as a raw string, (continued)
- Re: [PATCH] Interpret #r"..." as a raw string, Alan Mackenzie, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Dmitry Gutov, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Alan Mackenzie, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Dmitry Gutov, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Alan Mackenzie, 2021/03/02
Re: [PATCH] Interpret #r"..." as a raw string, Aurélien Aptel, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string,
Stefan Monnier <=
- Re: [PATCH] Interpret #r"..." as a raw string, Aurélien Aptel, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Stefan Monnier, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Aurélien Aptel, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Alfred M. Szmidt, 2021/03/03
- Re: [PATCH] Interpret #r"..." as a raw string, Stefan Monnier, 2021/03/03
Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/02
Re: [PATCH] Interpret #r"..." as a raw string, Stefan Monnier, 2021/03/02
Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/02
Re: [PATCH] Interpret #r"..." as a raw string, Andreas Schwab, 2021/03/03
Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/03