[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53203: Comment with lots of color codes crashes or hangs emacs in sc
From: |
Simen Heggestøyl |
Subject: |
bug#53203: Comment with lots of color codes crashes or hangs emacs in scss-mode |
Date: |
Sun, 15 May 2022 16:46:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Simen Heggestøyl <simenheg@runbox.com> writes:
>
>> I tested a bit with the patch you posted 15:30 yesterday, but it seems
>> to have some problems:
>>
>> Pasting this into a CSS mode buffer now freezes up Emacs:
>>
>> /*
>> * xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> */
>>
>> Selectors with hyphens are no longer highlighted, e.g.:
>>
>> .foo-bar {
>>
>> Only the last part of multi line selectors are now highlighted,
>> e.g. only `body` here:
>>
>> div,
>> body {
>
> I've now fixed these and pushed the change.
Thanks! Looks good.
The new selector tests makes it much less scary to tweak the regexp.