[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escape
From: |
Alan Mackenzie |
Subject: |
bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped. |
Date: |
Sun, 22 Nov 2020 18:19:57 +0000 |
Hello, Dmitry.
On Sun, Nov 22, 2020 at 19:46:24 +0200, Dmitry Gutov wrote:
> On 22.11.2020 19:08, Alan Mackenzie wrote:
> > Really? Are there any other programming language modes whose comments
> > syntax.c cannot handle without syntax-table text properties?
> Ruby is just one example.
Thanks.
I've just searched the web for that. Ruby has block comment delimiters
=begin and =end.
It would be possible to handle these in syntax.c, but somewhat clumsy
and awkward.
Presumably ruby-mode handles these with syntax-table text properties
applied to the = sign and the terminating d, which is a little clumsy,
but not too bad, at the Lisp level.
--
Alan Mackenzie (Nuremberg, Germany).
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Alan Mackenzie, 2020/11/19
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Stefan Monnier, 2020/11/19
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Alan Mackenzie, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Stefan Monnier, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Alan Mackenzie, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Dmitry Gutov, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped.,
Alan Mackenzie <=
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Dmitry Gutov, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Alan Mackenzie, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Dmitry Gutov, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Alan Mackenzie, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Stefan Monnier, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Stefan Monnier, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Eli Zaretskii, 2020/11/22
- bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped., Alan Mackenzie, 2020/11/22