[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Raw" string literals for elisp
From: |
Stefan Kangas |
Subject: |
Re: "Raw" string literals for elisp |
Date: |
Wed, 8 Sep 2021 17:54:18 +0200 |
Anna Glasgall <anna@crossproduct.net> writes:
> During the course of working on this, I came across the following in I
> think syntax.el:
>
>
> (while (re-search-forward
> "\\(\\\\\\\\\\)\\(?:\\(\\\\\\\\\\)\\|\\((\\(?:\\?[0-
> 9]*:\\)?\\|[|)]\\)\\)" bound t)
>
> which I feel by itself rather justifies this work.
I didn't study your patch, but I for one hope that this feature will
eventually get accepted. IMHO, it would reduce a not insignificant
pain point for (some types of) programming in Emacs Lisp.
The argument against having "raw" strings in ELisp, if I understand,
it is that it will make some code in core more complex. This is true,
but it will at the same time make even more code out there less
complex, or at least easier to read and understand.
Once it is fully implemented, there will of course be bugs, but over
time the feature will stabilize. In the long run I think we will win
more by making Emacs Lisp more attractive (or at least less
unpleasant) to a generation that have already been spoiled by using
raw strings in other languages.
- Re: "Raw" string literals for elisp, (continued)
- Re: "Raw" string literals for elisp, Alan Mackenzie, 2021/09/08
- Re: "Raw" string literals for elisp, Mattias Engdegård, 2021/09/08
- Re: "Raw" string literals for elisp, Alan Mackenzie, 2021/09/08
- Re: "Raw" string literals for elisp, Philip Kaludercic, 2021/09/08
- Re: "Raw" string literals for elisp, Alan Mackenzie, 2021/09/08
- Re: "Raw" string literals for elisp, Stefan Kangas, 2021/09/08
- Re: "Raw" string literals for elisp, Philip Kaludercic, 2021/09/08
- Re: "Raw" string literals for elisp, tomas, 2021/09/09
- Re: "Raw" string literals for elisp,
Stefan Kangas <=
- Re: "Raw" string literals for elisp, tomas, 2021/09/08
- Re: "Raw" string literals for elisp, Lars Ingebrigtsen, 2021/09/08
- Re: "Raw" string literals for elisp, Stefan Monnier, 2021/09/08
- Re: "Raw" string literals for elisp, Stefan Monnier, 2021/09/08
- Re: "Raw" string literals for elisp, tomas, 2021/09/09
- Re: "Raw" string literals for elisp, Mattias Engdegård, 2021/09/09
- Re: "Raw" string literals for elisp, Stefan Kangas, 2021/09/09
- Re: "Raw" string literals for elisp, Mattias Engdegård, 2021/09/09
- Re: "Raw" string literals for elisp, tomas, 2021/09/09
- Re: "Raw" string literals for elisp, Augusto Stoffel, 2021/09/14