From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74307: 30.0.92; emacs-lisp font-locking word regexp Date: Thu, 14 Nov 2024 11:24:48 -0500 Message-ID: References: <87jzdawagd.fsf@gnu.org> <868qtmkzeo.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35704"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74307@debbugs.gnu.org, Roland Winkler To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 17:25:28 2024 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 1tBcet-00096d-Uw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 17:25:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBceg-00028Q-ND; Thu, 14 Nov 2024 11:25:14 -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 1tBcee-000282-Bw for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 11:25:12 -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 1tBceV-0001gO-Cf for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 11:25:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=JwqOqLl2e34itZbrD1snUH6ljyt2tT88BZCgssb1XVY=; b=rYvJoKM1SvXuqjfN7QG+ojVe3RVm4DyFELSqb00ZA4wRVkuuQ5BYhGVKykUm/mbm1XLh1yHkSb8rXoNbu2hb1rUKodonaQAhkymtSIMlcAYcj5Ap0UmZc01XlRMJV8MsYz1CSCay6NMHH7W3WeFMrxAXkc3LKlIioH81LcNb2bRT4Pb1FvqMelC6oLZnaE9ymthzjMk7LEtVUewAZB+2NUNNZwkH8uEPkFyHZ6HfH6TWOEhNloeFV3+R4e5xDgvz+DqUtuHCdMccOkmYsbDKzb3Bqlev56WIyztaOjVnJN3zMkCl/ZuyDletTr95S572taLOz7+GODMfLOGBfLkSlQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBceU-0007MW-C7 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 11:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2024 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74307 X-GNU-PR-Package: emacs Original-Received: via spool by 74307-submit@debbugs.gnu.org id=B74307.173160149628281 (code B ref 74307); Thu, 14 Nov 2024 16:25:02 +0000 Original-Received: (at 74307) by debbugs.gnu.org; 14 Nov 2024 16:24:56 +0000 Original-Received: from localhost ([127.0.0.1]:46901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBceO-0007M5-5r for submit@debbugs.gnu.org; Thu, 14 Nov 2024 11:24:56 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBceM-0007Lp-OT for 74307@debbugs.gnu.org; Thu, 14 Nov 2024 11:24:55 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6100E8092E; Thu, 14 Nov 2024 11:24:49 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1731601488; bh=hqXP/Lr2iiTZg+Y09Ck3KYG0B/h5NOlRbQR5kSKOnu8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JGI/cFM41yAbeQ3HDsOLrkB2j7JzumFNDTvLpK5wEBhlpYurhKEy3bF/Ipur+V2gy zO6TsA6R7wC2tfciUNH7DtemaKkw5AdWHIQSO48xeoIeacl2RIT3AQMAV2sZEJP5cx 0LOcam3wucOoEW5SW6MwZsDQsYk1s5gRk09AE1ic9qh3ljfqSbGpzP+WE1kxavd87Q Bi9wVMDhxkbbNqTcuD+KFOdLTb+wYg7aqBROT/M5dyCG8fCfmM6Dxm+qlVcM40qRxF eGHKufsezRlb6wpZ4KRZ3y3qdHo1mpIZ1vLxOv432qzyt7VwkE87WHce/BaIbWZ0Mc 0s5EhZ9xW23bA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A8FB68045E; Thu, 14 Nov 2024 11:24:48 -0500 (EST) Original-Received: from alfajor (modemcable005.21-80-70.mc.videotron.ca [70.80.21.5]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8A5FB1202EF; Thu, 14 Nov 2024 11:24:48 -0500 (EST) In-Reply-To: <868qtmkzeo.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2024 10:11:43 +0200") 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:295342 Archived-At: > I believe you are saying that in > > (,(rx "\\\\" (or (seq "<" (group-n 1 lisp-mode-symbol) ">") > (seq "{" (group-n 1 lisp-mode-symbol) "}"))) > (1 font-lock-variable-name-face prepend)) > > we should use something like the below instead? > > (,(rx "\\\\" (or (seq "<" (group-n 1 lisp-mode-symbol) (not "\\\\") ">") > (seq "{" (group-n 1 lisp-mode-symbol) (not "\\\\") "}")) > > And similarly for \\[] etc.? Sounds good to me. Stefan