[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs rendering comparisson between emacs23 and emacs26.3
From: |
Alan Mackenzie |
Subject: |
Re: emacs rendering comparisson between emacs23 and emacs26.3 |
Date: |
Mon, 20 Apr 2020 20:06:47 +0000 |
Hello, Stefan.
On Sun, Apr 19, 2020 at 19:21:59 -0400, Stefan Monnier wrote:
> >> You don't know whether it's an unterminated raw string (the usual case)
> >> until you've scanned for a potential closing delimiter.
> > Is C++ syntax so ambiguous? Can R"( mean something else?
> No it has nothing to do with the language's syntax.
> It's just a UI choice: Alan likes to highlight the opening string
> delimiter of unterminated strings [ Not sure why CC-mode doesn't do the
> same for unterminated comments, tho maybe it's just an oversight. ]
There isn't really such a thing as an unterminated comment. A line
comment extends to the next unescaped EOL, a block comment extends to
the next */ or EOB. The syntax routines and font locking already handle
it well.
> I think this should not vary between major modes, IOW it should be
> a separate feature that works on all major modes.
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
- Re: emacs rendering comparisson between emacs23 and emacs26.3, (continued)
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/09
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Alan Mackenzie, 2020/04/12
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/15
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Alan Mackenzie, 2020/04/19
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/19
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Stefan Monnier, 2020/04/19
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Stefan Monnier, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Alan Mackenzie, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Stefan Monnier, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3,
Alan Mackenzie <=
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Alan Mackenzie, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Stefan Monnier, 2020/04/20
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Stefan Monnier, 2020/04/16
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Eli Zaretskii, 2020/04/07
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/07
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Eli Zaretskii, 2020/04/08
- RE: emacs rendering comparisson between emacs23 and emacs26.3, Drew Adams, 2020/04/08
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Alan Mackenzie, 2020/04/07