From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Harald =?UTF-8?Q?J=C3=B6rg?= Newsgroups: gmane.emacs.bugs Subject: bug#72296: 29.4; cperl-mode parsing error Date: Fri, 26 Jul 2024 10:20:12 +0000 Message-ID: <87h6ccqwtf.fsf@oook.m.uunet.de> References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> <20240725183057.dqp2aii5asd5tdgv@dev> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13390"; mail-complaints-to="usenet@ciao.gmane.io" Cc: brian greenfield , 72296@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 26 12:21:11 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 1sXI4V-0003Eo-IX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jul 2024 12:21:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXI4I-0008EZ-Ug; Fri, 26 Jul 2024 06:20:58 -0400 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 1sXI4E-0008Bg-3D for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 06:20:54 -0400 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 1sXI4D-0000Ku-K9 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 06:20:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXI4L-0003O0-SP for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 06:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Harald =?UTF-8?Q?J=C3=B6rg?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2024 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172198923212968 (code B ref 72296); Fri, 26 Jul 2024 10:21:01 +0000 Original-Received: (at 72296) by debbugs.gnu.org; 26 Jul 2024 10:20:32 +0000 Original-Received: from localhost ([127.0.0.1]:38819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXI3r-0003N6-Mn for submit@debbugs.gnu.org; Fri, 26 Jul 2024 06:20:32 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:60207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXI3p-0003Mr-6V for 72296@debbugs.gnu.org; Fri, 26 Jul 2024 06:20:31 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 888AB24002A for <72296@debbugs.gnu.org>; Fri, 26 Jul 2024 12:20:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1721989214; bh=idj34YzoenFBBBbPdAjHr5hcdfcSAXk9qUL3jsBj85M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=eJuDvBYHYlcUeWE66hKICkypDAiWOFZHvJGYNT+u50k/wV5uQvkQHLbZHDcq3o6mo nlInSE2t40oSuEInpJVfXeUoLlMGH/5Cj5huAfi3Brc774T0QdQtQwjRTwqOGUQsRZ i/RjwnpoOCNeEngtkeacBYm2IITFp77oecBbSYD1opd2bLz7ab+iZgl6J4V1kP00CZ rUcDbWYtDVkFw62dk71kUnVaCpbiMn8B8UCYkHNSUhALMpcg6GfAhj0ZdxU81TKqzx cXV+B57fNxpyKAeNPOn+jOhZSkKSLajFWZrpbBhDK2TlskPhWZ17UTW70qWEuiaUwp TgRHv2BhDaogA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WVkK91Xnfz6tyc; Fri, 26 Jul 2024 12:20:12 +0200 (CEST) In-Reply-To: (Andrea Corallo's message of "Fri, 26 Jul 2024 04:03:35 -0400") 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:289355 Archived-At: Andrea Corallo writes: > brian greenfield writes: > >> On Thu, Jul 25, 2024 at 01:01:30PM -0400, Andrea Corallo wrote: >>> I might be doing something wrong but I cannot reproduce on emacs-30, >>> could you confirm? 29 is not under development anymore. >> >> No, it was me in the wrong. My emacs-30 was too old, retrying on a newer >> emacs-30 has the bug fixed. >> >> Sorry for the noise. > > [re-adding the list, please keep it Cced in the replies] > > Actually the others can still reproduce on more recent versions (I > can't), so I'm all but sure this is solved (and I'm a little puzzled on > the reproducibility of this). If either of you built your emacs-30 with the commit c27055a9 in place, then it is supposed to be not reproducible: I fixed it yesterday. Until the regular rebasing happens, it can still be reproduced on master. I may be stating the obvious, but the code is for (2..$n/2) {} without any enclosing quotes. If you apply cperl-mode for this snippet, you should see the message "End of =E2=80=98/ ... /=E2=80=99 string/RE not = found: (scan-error Unbalanced parentheses 11 17)" in the echo area, the slash should be formatted with font-lock-constant-face, the 2 following it with font-lock-string-face and the closing paren with font-lock-warning-face. If you can not reproduce the error on master, then I'd like to examine this further before closing the bug. --=20 Cheers, haj