From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#67569: 29.1; ruby-mode syntax highlighting breaks with variable named "index" and "/" operator Date: Sat, 9 Dec 2023 20:00:27 +0200 Message-ID: References: <0ee4ce91-c344-4859-8b13-07de5876368d@gutov.dev> <83zfyjwiiy.fsf@gnu.org> <83plzfw9m9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: mjh@mjhoy.com, 67569-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 09 19:01:34 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rC1dt-0001QY-PP for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Dec 2023 19:01:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rC1dM-0006Z7-QO; Sat, 09 Dec 2023 13:01:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rC1dC-0006Uf-Fg for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 13:00:50 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rC1dC-0005Ke-6r for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 13:00:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rC1dO-0001Wq-8Z for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 13:01:02 -0500 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Dec 2023 18:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67569 X-GNU-PR-Package: emacs Mail-Followup-To: 67569@debbugs.gnu.org, dmitry@gutov.dev, mjh@mjhoy.com Original-Received: via spool by 67569-done@debbugs.gnu.org id=D67569.17021448555853 (code D ref 67569); Sat, 09 Dec 2023 18:01:02 +0000 Original-Received: (at 67569-done) by debbugs.gnu.org; 9 Dec 2023 18:00:55 +0000 Original-Received: from localhost ([127.0.0.1]:48879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rC1dG-0001WJ-9M for submit@debbugs.gnu.org; Sat, 09 Dec 2023 13:00:54 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rC1dB-0001W3-MF for 67569-done@debbugs.gnu.org; Sat, 09 Dec 2023 13:00:53 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8D1945C0195; Sat, 9 Dec 2023 13:00:30 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 09 Dec 2023 13:00:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1702144830; x=1702231230; bh=ji9LQOTBkoZ1ql4dPbV8hCeeHxcMUhLpWkG tXvcsYa0=; b=oAigmbdwTFbdrY7WJFVoQ9njhy6j7+rKuuYZBwwIEYaipToGOZa I6w7sWP3jF6hwsiskNNkrU0BYsxmEeqlf6kNKIqMqBDGOj87WoHO5Rg2fHk9Vc1Q N89zgZBdwx0Ux0rnr5oXOSOtv0TNCB/11Wt2qmywWFkgMcpZmbDeKwF2+X/RG+GM cJK82F3Z3Ri3EkCkERIkFtY6WhrK4Cx2fE3QH2TpZ1m+/mebhAq0dOcV0DRB4ApO y0GhcTce0sq0wLjcKE/GPWKQOqJN5PigcoHeOUM7tdDDErutrC4abuSbUC1JwLSY 7gVJEN3Spnnqdt1bYz22DcZ8jccf2U6zIwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1702144830; x=1702231230; bh=ji9LQOTBkoZ1ql4dPbV8hCeeHxcMUhLpWkG tXvcsYa0=; b=ZU2GvSjOih2pdW9VyFpIDYwfdpdSRk6OwwMXWRCo430XHqulTPk rRNm9bSa6N77TrROqjaZLAtBSv/PQBcqQXh/B3tueilf61nvM0F/lS+d95c4xSXH DZNitRfIdQ5+cr9KaXfAfD5BDaE3ltG8veVW8ZyIp0vg4BJtmUWoivrMTqA9zGxW O00rZ9+aXL/tui6lkjBYI8OWIvudRZ4ftot8xp4IP6nKLCnSGk2EYX5yESaG3rmb bzZvWMDsl/R5Hq+LbSxMi+TQWRYMZNQnyGg+iU2aUAZPeyYCV6ntY2rCYnwk+u8a TgE2LwOARXwpk3IMELkfs2Z9RkHwJ8hLFEQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekkedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeev ledvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 9 Dec 2023 13:00:29 -0500 (EST) Content-Language: en-US In-Reply-To: <83plzfw9m9.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275873 Archived-At: On 09/12/2023 19:47, Eli Zaretskii wrote: >> Date: Sat, 9 Dec 2023 19:38:28 +0200 >> Cc:mjh@mjhoy.com,67569@debbugs.gnu.org >> From: Dmitry Gutov >> >>>> 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. > Yes, I think we have enough adventures on emacs-29. All right. Guess I'm closing this, then, and will push the second patch after the next merge into master.