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#74308: 30.0.92; emacs-lisp font-locking word regexp Date: Sun, 17 Nov 2024 08:22:23 +0200 Message-ID: <86o72ewfa8.fsf@gnu.org> References: <87ed3iwacp.fsf@gnu.org> <86zfm6j6l0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68318-done@debbugs.gnu.org, winkler@gnu.org, 74308@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 17 07:23:24 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 1tCYgt-00087G-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Nov 2024 07:23:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCYga-0002uA-4W; Sun, 17 Nov 2024 01:23:04 -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 1tCYgY-0002th-QN for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 01:23:02 -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 1tCYgY-0007Du-Hg for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 01:23:02 -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=clycPwi8xB8yYxJ8lFV+cL+s+ByHEM7Nn7S1xeYNBtk=; b=rI27sEZFCKun3m8tah+CgkEVkgv3kk11mPGxcEQE3RsBhieBNOuHxTQXjSElOCbTaR0BKRu/H/kzV/jAIc4TQyupm435Ja7GkQV7vyEOpisxlS3ggmY7ASV0KAeaiWfKLPXE10UOaN7fdB5depaYdSeYxPbQEWczRTuFOITMcmKyyHUK8d+aIdhwcXKMib3Gs5lwbe2aEQrvw3SmeOPcnFN1DfruC43VqMqmyfza0w70gAXedCNL/TmN55bDArVk1BDXkziMAPzcHJOopEay821r7P60Ns3bzWO4v9ypnVzNF8sa5iIgmtmcMSPuEDkJSX31rpKA1i85AcmV/AQRmg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCYgY-0007dj-2g for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 01:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2024 06:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74308 X-GNU-PR-Package: emacs Original-Received: via spool by 74308-submit@debbugs.gnu.org id=B74308.173182457629354 (code B ref 74308); Sun, 17 Nov 2024 06:23:02 +0000 Original-Received: (at 74308) by debbugs.gnu.org; 17 Nov 2024 06:22:56 +0000 Original-Received: from localhost ([127.0.0.1]:55675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCYgS-0007dJ-7y for submit@debbugs.gnu.org; Sun, 17 Nov 2024 01:22:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCYgN-0007cy-S0; Sun, 17 Nov 2024 01:22:54 -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 1tCYgI-0007Cq-I9; Sun, 17 Nov 2024 01:22:46 -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=clycPwi8xB8yYxJ8lFV+cL+s+ByHEM7Nn7S1xeYNBtk=; b=bSEuEeq20t0a QUNf5Tf1RuciMam6N313cecSgqaoOxTWU+KdRJGpAA/Py6vDOeTXk/nipILShNunArgwo4lo9/Pe8 ieb2SuskvqNc+UYz884rsMUNih1bTSghi/HQtr6G6UjT0B5SPBhf4MCLiyyCymMBgGGzYUQ5cvnCY FcHF7e/YlZ2Wv7eXw0Yh7pKP1EE5yKclkjxBPRX222By2pM9HV6P2atlos1/sWyncnkCsuKeKAZPw RKVRkcdic0umrCGCTLiP1cjGJcjRQ6wvtj4skJHwi1YRY3785crsTpA+9Iz2+FCspJJDpd4uqdwJe YW/ZMjNsuxT4kAgSsk/+BQ==; In-Reply-To: (message from Arash Esbati on Sat, 16 Nov 2024 22:33:55 +0100) 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:295509 Archived-At: > From: Arash Esbati > Cc: Roland Winkler , 74308@debbugs.gnu.org > Date: Sat, 16 Nov 2024 22:33:55 +0100 > > Eli Zaretskii writes: > > > merge 74308 74307 > > thanks > > > >> From: Roland Winkler > >> Date: Mon, 11 Nov 2024 00:30:46 -0600 > >> > >> Starting from emacs -Q, put the following into a buffer with > >> emacs-lisp-mode > >> > >> (setq foo "\\") > >> > >> The part "foo\\" of the string "\\" will get > >> font-lock-variable-name-face, which looks odd. > >> > >> I believe, this is due to a clause in lisp-mode.el that says > >> > >> ;; Words inside \\[], \\<>, \\{} or \\`' tend to be for > >> ;; `substitute-command-keys'. > >> > >> But this assumption is not always correct, in particular if ">" is > >> preceded by "\\", which happens when constructing regexps. > > > > This is an exact duplicate of bug#74307 that you submitted just 2 > > minutes earlier, so I'm merging them. > > I think bug#68318 is also about the same issue; it can be merged into > this one as well. Thanks. Since this bug was already closed, I'm therefore closing bug#68318 as well.