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#69604: perl-mode and cperl-mode: $\" in a double-quoted string Date: Fri, 08 Mar 2024 10:32:21 +0200 Message-ID: <865xxx15uy.fsf@gnu.org> References: <87jzmetocr.5.fsf@jidanni.org> <87edcl6v7q.fsf@oook.m.uunet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40524"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69604@debbugs.gnu.org To: Harald =?UTF-8?Q?J=C3=B6rg?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 08 09:33:55 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 1riVfr-000ABP-7Y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Mar 2024 09:33:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riVfY-0001MI-Qg; Fri, 08 Mar 2024 03:33:32 -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 1riVfW-0001Ld-Iw for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 03:33:30 -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 1riVfW-000331-Ao for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 03:33:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riVg2-0005l3-7U for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 03:34: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: Fri, 08 Mar 2024 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69604 X-GNU-PR-Package: emacs Original-Received: via spool by 69604-submit@debbugs.gnu.org id=B69604.170988678422019 (code B ref 69604); Fri, 08 Mar 2024 08:34:02 +0000 Original-Received: (at 69604) by debbugs.gnu.org; 8 Mar 2024 08:33:04 +0000 Original-Received: from localhost ([127.0.0.1]:56531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riVf6-0005j3-5i for submit@debbugs.gnu.org; Fri, 08 Mar 2024 03:33:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riVf4-0005iR-0N for 69604@debbugs.gnu.org; Fri, 08 Mar 2024 03:33:02 -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 1riVeR-0002nK-Nz; Fri, 08 Mar 2024 03:32:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=vG9I0oE6N9JJbyVlNOMyjYjfAxmVPgpjjYzvXmbpovE=; b=dgGXvyJ+mfOgdVJsNEOd 4PvsAkWOWwvkkOg0oxSa/hmJhGi+DHBTaVXuLLoTt7mLoqTHMuvm/wHzuECmrIa6QnJG7emOa0bCR lMrB4VG9sSucBh1d42hEXMepidLw9RzE9Yx/xdQ3mWv6mAM9Vkydyqm7xSrlHmi2dqKxm/gpkPi8H /IW77GyHoFMEsmXr0VvKJwdTEvLBQEw9qT64kMjPLsCDxyWd5V34EN0nQLujAyKlfhk5y1T4XNa87 RUrUPvwfJD75n+vUmSUS5n+wKvbsGfgsdTUGQc2a1Em7WjCCIM4LDVZSlLjZ0W4Z+TWmoFlW355V7 LPgR1ShVL6UYhw==; In-Reply-To: <87edcl6v7q.fsf@oook.m.uunet.de> (message from Harald =?UTF-8?Q?J=C3=B6rg?= on Fri, 08 Mar 2024 07:25:45 +0000) 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:281215 Archived-At: > From: Harald Jörg > Date: Fri, 08 Mar 2024 07:25:45 +0000 > > Good catch! The same symptoms can be seen in cperl-mode. > > Both perl-mode and cperl-mode treat "$" as quoting character in their > syntax tables. This is needed for Perl's punctuation variables like $( > and $" which would otherwise be interpreted as unbalanced parens or > quotes. > > In a string, this safety belt is not required, and it actually misfires > in the case of "$\"", which is part of the demo code. > > This is now treated correctly in the Emacs master branch for both > perl-mode and cperl-mode. Thanks. Should this bug be closed now?