bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67569: 29.1; ruby-mode syntax highlighting breaks with variable name


From: Dmitry Gutov
Subject: bug#67569: 29.1; ruby-mode syntax highlighting breaks with variable named "index" and "/" operator
Date: Sat, 9 Dec 2023 19:38:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 09/12/2023 16:35, Eli Zaretskii wrote:
Date: Sat, 9 Dec 2023 16:13:02 +0200
From: Dmitry Gutov<dmitry@gutov.dev>

Eli, should we put this in Emacs 29.2? It's not a regression (a fairly
old problem), but the fix looks simple enough.
Yes, please.

Very good, pushed to emacs-29.

Here's a second patch on top which gets rid of the whitelist altogether (the new heuristic seems to cover the cases better anyway), though I'm on the fence whether this should go here or into master.

It seems to work well with some testing, but it is more adventurous than the previous one.

Attachment: ruby-parenless-regexp-no-whitelist.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]