[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 19:51:30 +0000 |
Hello, Stefan.
On Mon, Apr 20, 2020 at 15:01:14 -0400, Stefan Monnier wrote:
> > If it can be done reliably outside of CC Mode (i.e. without relying on
> > knowing the particulars of the buffer's programming language),
> It can be done reliably, but it would most likely want help from the
> major mode (e.g. the C syntax tables give the syntax of strings but
> don't indicate that those strings are not allowed to span multiple
> lines).
How about adding support to the syntax table?
For example, a new syntax class called something like "line string
quote". One of these would begin a @def{line string}, and another one
or an unescaped NL (whichever came first) would end it.
Easy enough to implement, at least for forward scanning. back_comment
might cause some fun.
> 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/07
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Alan Mackenzie, 2020/04/07
- 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 <=
- 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, 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