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#65834: 29.1; highlighting bug in CPerl mode: here-document false positive Date: Sat, 14 Oct 2023 18:03:10 +0000 Message-ID: <87lec56q01.fsf@oook.m.uunet.de> References: <87a5twbbgx.fsf@zira.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17827"; mail-complaints-to="usenet@ciao.gmane.io" To: 65834-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 14 20:03:58 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 1qrizW-0004My-Bm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Oct 2023 20:03:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrizE-00013w-Un; Sat, 14 Oct 2023 14:03:40 -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 1qrizC-00013N-TK for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 14:03:39 -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 1qrizC-0007MM-L4 for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 14:03:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrizZ-0004bK-Uf for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 14:04:01 -0400 In-Reply-To: <87a5twbbgx.fsf@zira.vinc17.org> Resent-From: Harald =?UTF-8?Q?J=C3=B6rg?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 18:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65834 X-GNU-PR-Package: emacs Mail-Followup-To: 65834@debbugs.gnu.org, haj@posteo.de, vincent@vinc17.net Original-Received: via spool by 65834-done@debbugs.gnu.org id=D65834.169730662517654 (code D ref 65834); Sat, 14 Oct 2023 18:04:01 +0000 Original-Received: (at 65834-done) by debbugs.gnu.org; 14 Oct 2023 18:03:45 +0000 Original-Received: from localhost ([127.0.0.1]:50477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrizJ-0004ag-FO for submit@debbugs.gnu.org; Sat, 14 Oct 2023 14:03:45 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:45529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrizE-0004aJ-Fx for 65834-done@debbugs.gnu.org; Sat, 14 Oct 2023 14:03:43 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E6A45240101 for <65834-done@debbugs.gnu.org>; Sat, 14 Oct 2023 20:03:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1697306590; bh=6UBFD57HXegM1P8HTqNGqZRxxi1trimX9YKDMjGBSQQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=ct7I6mPzAlSZB2qzPOimvzNGgFHyHSbsI5g0DI260pzMjSlPNpCiIDXLBQ5LzkYTs HOdyIc4JvwpeV+nWNe72vfHr/8sLYuL/pNSMGxHsPwfl5UTudt7Nrq3B0hkvphgeBm 4QeTSiSIjC2utZymKOSNwVEhahjRklzT5fE+/WBB+SvFkORt9QCt4iGj4E4sfo1rUu TbTP7176PrckD7QhTJWgAXPyFht7mZgvrg1nx16OPqe5v1jvMkCBvRyRS7pbwJ5gVA E07F2y2+X5V7OKo/mmvd6fZNPDBfx9400vAQM+wyGba6Gy+b1OSNGJBjzkfpaepg1o qF49q1hBZDasQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S7B7L3clFz9rxG for <65834-done@debbugs.gnu.org>; Sat, 14 Oct 2023 20:03:10 +0200 (CEST) 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:272455 Archived-At: Thanks for spotting this. Indeed, the "<<" has been mistaken as a here-document starter. In particular, CPerl mode treated it as a here-document with an empty delimiter: In "<<5", the "5" is not a valid identifier. A line checking for digits following the "<<" has been commented out in 1999 for reasons unrecoverable by now, but luckily this check is not required. Empty, unquoted delimiters have been deprecated in Perl in 2013 and are illegal as of Perl 5.28. They are now no longer allowed in CPerl mode as well, which avoids mis-interpreting the code from the bug report. This also fixes the display of the mailgraph script. Therefore, I'm closing this bug report. -- Cheers, haj