From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74307: 30.0.92; emacs-lisp font-locking word regexp Date: Sat, 16 Nov 2024 16:22:55 +0200 Message-ID: <865xongsw0.fsf@gnu.org> References: <87jzdawagd.fsf@gnu.org> <868qtmkzeo.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74307-done@debbugs.gnu.org, winkler@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 16 15:24:43 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 1tCJj9-0001he-0e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Nov 2024 15:24:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCJiX-0007nD-Je; Sat, 16 Nov 2024 09:24:05 -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 1tCJiV-0007mw-TL for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:24:03 -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 1tCJiV-0005Zl-KQ for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:24:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=SYAtRKUerLKvdW0+UOt03bQUmTS/Qnc0vsDAW8Z3AnQ=; b=EreYoEDybxBkJPu6pwESw6rAa89Wf9wBoEOjnmEwi7izpOrzssQdnhkJveijsWSrCX5iMSQdvLSxgKjDAaMKIGppAlgvmId1c4taubeXaXe6pcg/yb+9awjKjbr4HJFDniVGme1zUQa706/pul6BG/mgvV3VBy4GBXL3b3OqoEwjFzmL8ftWSgxMbZoI07ZoRX5YoqHS2v0lWSafMhruOXEfKISfuqssJ9eBirt8hMhDgOl1MXwRpO+7cBgNi5lACZY0btJ1MKmmOjtmp8HKHYwkhkNdAZyxv5pv5xsudQXoGrWiv+MpEShdTnt6gB3wBwtDFMK5mTxpCwkA1YvMbQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCJiU-0005Dp-GZ for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:24:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2024 14:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74307 X-GNU-PR-Package: emacs Mail-Followup-To: 74307@debbugs.gnu.org, eliz@gnu.org, winkler@gnu.org Original-Received: via spool by 74307-done@debbugs.gnu.org id=D74307.173176698919976 (code D ref 74307); Sat, 16 Nov 2024 14:24:02 +0000 Original-Received: (at 74307-done) by debbugs.gnu.org; 16 Nov 2024 14:23:09 +0000 Original-Received: from localhost ([127.0.0.1]:52620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCJhc-0005C7-Vi for submit@debbugs.gnu.org; Sat, 16 Nov 2024 09:23:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCJhZ-0005BP-JX for 74307-done@debbugs.gnu.org; Sat, 16 Nov 2024 09:23:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCJhT-0005XC-HS; Sat, 16 Nov 2024 09:22:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SYAtRKUerLKvdW0+UOt03bQUmTS/Qnc0vsDAW8Z3AnQ=; b=CXyv+kBM1PzG pIVu2JLVYIETvJnE7Uu6p2dfBVA1flqn7OPnOq2HrIqjXjxMDv+B++U/NQlbB7EcaAtqMyf8V/C4A 6XaXrcLnJIKybKwqR7D65EdRbDs/GpV7zpr/pfyAsalPjkF73tjdt70NmU59yErbajJM3fVMicBj9 iR55Pp1VtwghcySiufeUcYvxq+7oNltXUDewMgyrwfhod/rbo2BgNYjlllDPCqdD6nsOe6TqCx6oQ 5Tuj0yGs0VvLBNwvZM03sON5OzGq2XjnS6XLIaT1AdehM4kc0hDEHKqO6/GvLSIbZRDNkWA1dc2VG gRgZt55T3E7AyC9ArigTMg==; In-Reply-To: (message from Stefan Monnier on Thu, 14 Nov 2024 11:24:48 -0500) 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:295461 Archived-At: > From: Stefan Monnier > Cc: Roland Winkler , 74307@debbugs.gnu.org > Date: Thu, 14 Nov 2024 11:24:48 -0500 > > > 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. Thanks, installed on master, and closing the bug.