emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]