From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error Resent-From: brian Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 72296@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17219262464512 (code B ref -1); Thu, 25 Jul 2024 16:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jul 2024 16:50:46 +0000 Received: from localhost ([127.0.0.1]:37686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX1fv-0001Ad-I9 for submit@debbugs.gnu.org; Thu, 25 Jul 2024 12:50:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:34018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWyXd-0006P6-30 for submit@debbugs.gnu.org; Thu, 25 Jul 2024 09:30:00 -0400 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 1sWyXV-0004pp-5a for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 09:29:49 -0400 Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWyXR-0001Cw-MR for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 09:29:48 -0400 X-Sender-Id: dreamhost|x-authsender|me@briang.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D20694C4185 for ; Thu, 25 Jul 2024 13:29:41 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6016E4C44AD for ; Thu, 25 Jul 2024 13:29:41 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1721914181; a=rsa-sha256; cv=none; b=q+uoVUTz0YbsWJ2eg/7ZgQ0xgVnaASWAdcn62pbebm6iCX7VQKVq4X2XpNDDD47dhGN4R9 EPRgUjbiEKKyzWkRWncqTtmTT1OIXJC71xDkTw4smTNSsAzh4jwnpu8Diqvw9r/WrKjOcY Hz3jwju8EsskKmz6odksy8jub/yKUoxRmaWlnKg4WZlPdYgQ3BOgxX8ujZiBDVtzzmGr1X m7V443Lw98n0bV0h4ShiMeT/KECL3wjmLtqtbVxl0IuGinZTr1mffwG50W7/epBVR9goBT VtgEs9yCDPV52+IbKKS0fg0Sv6ncOk2R3erMG1lmRgT407OUNau5UbD1PRp89g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1721914181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=mNnnXFFwN2cVFMJ4fl+hw6MbX+1myDateDSFtJ6V/dk=; b=8wpGRitlNKYYXYtWw/jrp2U5u9qPNJjltHw1PBBJI9B0WdRJDDFDybMgvgghRjrd7Zuyai niJWyuJsDvFq3jI/CpQgBxYqXaQFGhnWg3THQldvYwWyBIxn2lWySyRubcsumKNMJFm80i p0liqu7t86XQoJCmLlnEhHgA1tCzUrg/aIm8ihSQOglVYapENAXiUQpILJhOlRuhDogaNg YBgrUs0g5cspLlFjBHeaiRU14JpVVAH0tJlar+Pp/9fpvIEqOENWuK8cI4Hdz1rBkuEsIt ae4VnIi6SjNI1vuH7moIp8UHtfquokk9yyuijuEq1QJ9pOZSrKAY82v0pLVy1Q== ARC-Authentication-Results: i=1; rspamd-7d6b596b87-np5lk; auth=pass smtp.auth=dreamhost smtp.mailfrom=me@briang.org X-Sender-Id: dreamhost|x-authsender|me@briang.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|me@briang.org X-MailChannels-Auth-Id: dreamhost X-Little-Fumbling: 240276ba1d69efa7_1721914181617_3269319070 X-MC-Loop-Signature: 1721914181617:2426067425 X-MC-Ingress-Time: 1721914181617 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.120.39.204 (trex/7.0.2); Thu, 25 Jul 2024 13:29:41 +0000 Received: from [192.168.136.246] (unknown [83.137.7.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: me@briang.org) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPSA id 4WVBZD5mHDzBT for ; Thu, 25 Jul 2024 06:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=briang.org; s=dreamhost; t=1721914181; bh=mNnnXFFwN2cVFMJ4fl+hw6MbX+1myDateDSFtJ6V/dk=; h=Date:To:Subject:From:Content-Type:Content-Transfer-Encoding; b=zlvUpfntLyqhUQszXjRJ0naMtQBRV2oIQuzjiKXE38c3RXsx5WFgI4cHC3eJoNnUQ mAvxwih0i2jGhDSIJ0VnQmxvixwfwcg7mr3JTSt84C7I5+95XW8l8k18H7ZgqgfrKa wWGtbjwoHfhCRwFnz8j1DszeFOq7jpyOhUmeFOojRsLSbBUvrQijZkLRDn+UVh8dVB 4tS8bIEBwWh5At6R2G2TPInDH8C1v8iSPG8xkElenYFax2T3mL2uCaOvCOkVApJtya KaVOG140jnfcshh/SjTZnyb59RQWHuzWOa2RFG9FecJIcTftmBu0/CUy8vgjW5jVDY W2gCUgpiGWSpg== Message-ID: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> Date: Thu, 25 Jul 2024 14:29:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: brian Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=23.83.218.253; envelope-from=me@briang.org; helo=iguana.tulip.relay.mailchannels.net X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the empty buffer and as soon as I pressed '/' there was an error [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=me%40briang.org; ip=209.51.188.17; r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [83.137.7.169 listed in zen.spamhaus.org] X-Mailman-Approved-At: Thu, 25 Jul 2024 12:50:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the empty buffer and as soon as I pressed '/' there was an error [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [83.137.7.169 listed in zen.spamhaus.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=me%40briang.org;ip=209.51.188.17;r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the empty buffer and as soon as I pressed '/' there was an error message in the minibuffer End of ‘/ ... /’ string/RE not found: (scan-error Unbalanced parentheses 11 38) and syntax hilighting was broken. Inserting a single space before '$' cleared the error and fixed the hilighting. In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2024-06-24 built on dev Windowing system distributor 'The X.Org Foundation', version 11.0.12302000 System Description: Ubuntu 23.10 Configured using: 'configure --prefix=/opt/emacs --with-cairo --with-libsystemd --with-mailutils --with-native-compilation --with-pop=yes --with-sound=alsa --with-toolkit-scroll-bars --with-x-toolkit=gtk3 --with-x=yes --without-gconf 'CFLAGS=-g -O2'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: CPerl Minor modes in effect: rainbow-delimiters-mode: t global-hl-line-mode: t savehist-mode: t which-key-mode: t marginalia-mode: t vertico-mode: t yas-global-mode: t yas-minor-mode: t global-flycheck-mode: t flycheck-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/brian/.emacs.d/elpa/transient-20240603.2200/transient hides /opt/emacs/share/emacs/29.4/lisp/transient Features: (shadow sort mail-extr emacsbug message yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search mailabbrev gmm-utils mailheader sendmail mail-utils mule-util orderless comp comp-cstr warnings cperl-mode facemenu rainbow-delimiters hl-line savehist which-key move-text org-tempo org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ring org-list org-footnote org-faces org-entities time-date noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-compat tempo org-version org-macs format-spec marginalia vertico compat yasnippet-snippets yasnippet diminish flycheck ansi-color find-func rx display-fill-column-indicator display-line-numbers ef-dark-theme ef-themes cus-edit pp cus-load icons wid-edit edmacro kmacro quelpa-use-package cl-extra quelpa mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr lisp-mnt help-fns radix-tree help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf all-the-icons-dired-autoloads all-the-icons-autoloads auctex-autoloads tex-site avy-autoloads cdlatex-autoloads corfu-autoloads diminish-autoloads ef-themes-autoloads embark-consult-autoloads consult-autoloads embark-autoloads flycheck-autoloads helpful-autoloads elisp-refs-autoloads jinx-autoloads json-mode-autoloads keycast-autoloads logos-autoloads magit-todos-autoloads magit-autoloads pcase git-commit-autoloads hl-todo-autoloads f-autoloads async-autoloads marginalia-autoloads markdown-mode-autoloads move-text-autoloads orderless-autoloads org-modern-autoloads osm-autoloads pcre2el-autoloads pdf-tools-autoloads perltidy-autoloads quelpa-use-package-autoloads quelpa-autoloads rainbow-delimiters-autoloads realgud-autoloads realgud-recursive-autoloads loc-changes-autoloads load-relative-autoloads s-autoloads spacious-padding-autoloads svg-lib-autoloads tablist-autoloads taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads dash-autoloads test-simple-autoloads transient-autoloads treepy-autoloads vertico-autoloads which-key-autoloads with-editor-autoloads info compat-autoloads ws-butler-autoloads yaml-autoloads yaml-mode-autoloads yasnippet-snippets-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 507989 330210) (symbols 48 28255 420) (strings 32 141117 47270) (string-bytes 1 4103290) (vectors 16 44098) (vector-slots 8 844183 452452) (floats 8 157 942) (intervals 56 373 368) (buffers 984 12)) From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 17:02:02 +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: To: brian Cc: 72296@debbugs.gnu.org Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.17219269115643 (code B ref 72296); Thu, 25 Jul 2024 17:02:02 +0000 Received: (at 72296) by debbugs.gnu.org; 25 Jul 2024 17:01:51 +0000 Received: from localhost ([127.0.0.1]:37702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX1qg-0001Sw-JO for submit@debbugs.gnu.org; Thu, 25 Jul 2024 13:01:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX1qd-0001Sj-I1 for 72296@debbugs.gnu.org; Thu, 25 Jul 2024 13:01:49 -0400 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 1sX1qQ-0005J9-FW; Thu, 25 Jul 2024 13:01:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=X23AfP8OqTh1kJTeNzpQ2wNa5GvUGebcr1+9bPbS3l4=; b=jXHIboZSJ+zRqC5IM11v WZ55HkKBkdRXRgHY6JjUXS5nMHprte6n1j4SX9Z9yDmWgNEaLL6HiTxo5eTKe6cMyWbdGKW5bVND1 qRTg4dMwldfQUnNJX66Yh7uMxM+bGX/37I40KFtPv5iH21Ek+xA1u0qV2t3NF4a0aKQPfgN6Dz44T /m6l7FpVr0hhfvuUwVlW4TnrUDjwjIVBu7d5X7zGoOVZ0+BtYucRJjamwi0plTlF6EPS0Dr9xARZa WK1ng3g/8AJNBIlgokxcYelG2c6KNTnVXetiaTQbXUk4m0uQhwlvscx8m/V8cugwrHs7vfzkIh5v8 TCDC8ECSHri/ag==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sX1qM-0000vJ-Gz; Thu, 25 Jul 2024 13:01:34 -0400 From: Andrea Corallo In-Reply-To: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> (brian's message of "Thu, 25 Jul 2024 14:29:37 +0100") References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> Date: Thu, 25 Jul 2024 13:01:30 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) brian writes: > I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated > cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the > empty buffer and as soon as I pressed '/' there was an error message in > the minibuffer > > End of =E2=80=98/ ... /=E2=80=99 string/RE not found: (scan-error Unbalan= ced > parentheses 11 38) > > and syntax hilighting was broken. Inserting a single space before '$' > cleared the error and fixed the hilighting. > > > > In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, > cairo version 1.18.0) of 2024-06-24 built on dev > Windowing system distributor 'The X.Org Foundation', version 11.0.12302000 > System Description: Ubuntu 23.10 I might be doing something wrong but I cannot reproduce on emacs-30, could you confirm? 29 is not under development anymore. Andrea From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 19:07: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: To: Andrea Corallo Cc: me@briang.org, 72296@debbugs.gnu.org Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172193440017943 (code B ref 72296); Thu, 25 Jul 2024 19:07:01 +0000 Received: (at 72296) by debbugs.gnu.org; 25 Jul 2024 19:06:40 +0000 Received: from localhost ([127.0.0.1]:37788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3nT-0004fK-HX for submit@debbugs.gnu.org; Thu, 25 Jul 2024 15:06:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3nP-0004f2-0v for 72296@debbugs.gnu.org; Thu, 25 Jul 2024 15:06:38 -0400 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 1sX3nA-00065i-4B; Thu, 25 Jul 2024 15:06:21 -0400 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=EdkF3cQ6/RxriyRxW7jkorXRzHVaQ0vhAnAK/zNSU0A=; b=NSdIMMCGdjQil2rUipOB OgzcPibNiVsoB69oUl9djf1WOwdH/WPlDimHb9ABVQnWRCli6IYLW3wZembqOtFg/kOqkWbuPhZnb NfJHTeUpYPAiCLgWJ+ud+ixAIPmHwh6+JzbZJmyMUoe+2VVplh8l0L706ezZmzASTX2HbdfBM+jZz SWPl1MrjSrxShajGDuvveL8lhcQenFRpbcUAKRPBO0eRoHvCNq6KvimXXfHiGgmAOXR9Hz/e03I6O Kr9itQ3gcomCPk1C1rQ5pQD+fcq7J7BSg3fyhyw09SKSk8rvBWmsiVdYVC78FnOmg8w/TdFk+skzc GffdtKe2mT5mUA==; Date: Thu, 25 Jul 2024 22:06:03 +0300 Message-Id: <865xst47hg.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Andrea Corallo on Thu, 25 Jul 2024 13:01:30 -0400) References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 72296@debbugs.gnu.org > From: Andrea Corallo > Date: Thu, 25 Jul 2024 13:01:30 -0400 > > brian writes: > > > I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated > > cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the > > empty buffer and as soon as I pressed '/' there was an error message in > > the minibuffer > > > > End of ‘/ ... /’ string/RE not found: (scan-error Unbalanced > > parentheses 11 38) > > > > and syntax hilighting was broken. Inserting a single space before '$' > > cleared the error and fixed the hilighting. > > > > > > > > In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, > > cairo version 1.18.0) of 2024-06-24 built on dev > > Windowing system distributor 'The X.Org Foundation', version 11.0.12302000 > > System Description: Ubuntu 23.10 > > I might be doing something wrong but I cannot reproduce on emacs-30, > could you confirm? 29 is not under development anymore. I can reproduce on master. Be sure to invoke cperl-mode, and type exactly the text the OP shows. From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error Resent-From: Harald =?UTF-8?Q?J=C3=B6rg?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 19:07:02 +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: To: 72296@debbugs.gnu.org Cc: brian Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172193441417985 (code B ref 72296); Thu, 25 Jul 2024 19:07:02 +0000 Received: (at 72296) by debbugs.gnu.org; 25 Jul 2024 19:06:54 +0000 Received: from localhost ([127.0.0.1]:37792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3ni-0004fz-0I for submit@debbugs.gnu.org; Thu, 25 Jul 2024 15:06:54 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3nf-0004fa-1Q for 72296@debbugs.gnu.org; Thu, 25 Jul 2024 15:06:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7BF12240101 for <72296@debbugs.gnu.org>; Thu, 25 Jul 2024 21:06:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1721934397; bh=fCmZReDY4vEZuxtws6L+94yRlgg1Z9Cq4kV5/kPh5Ro=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=GKlfqQnbwQmIf2SAxvFK+Rzye5MDZEW3LJkiKRc39neVVj7csog2W8gQzDFoR5JH0 1VT8/yB7460/Q1muqR0ElDiRCybcO6FXbpwRt2lhBMRYLQOYAcI/U9jaWCRLI2sSua 76lV42IWWvyEUjaXkwMkVVKvleTAgOOHNOMlqRQf433ntb1Xa6OSvoDWKSKtShe+hh mi/c5jR+dkZIKogz9wJlemALNZWOarK2kWpi8gjb01FWqQehvwfELOXmqGI1TsUCUC O2EeNjDMXlQlDs3h1CX2Ji6oWKIyKXwZEGWm7gh8XT5OBa0Tfx+0OpIh0MZ3bUeQNO CF6ggrq2NPzdQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WVL301KMwz9rxB; Thu, 25 Jul 2024 21:06:36 +0200 (CEST) From: Harald =?UTF-8?Q?J=C3=B6rg?= In-Reply-To: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> (brian's message of "Thu, 25 Jul 2024 14:29:37 +0100") References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> Date: Thu, 25 Jul 2024 19:06:35 +0000 Message-ID: <87frrxjnpg.fsf@oook.m.uunet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 72296 confirmed severity 72296 normal owner 72296 Harald J=C3=B6rg thanks brian writes: > I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated > cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the > empty buffer and as soon as I pressed '/' there was an error message in > the minibuffer > > End of =E2=80=98/ ... /=E2=80=99 string/RE not found: (scan-error Unbalan= ced > parentheses 11 38) > > and syntax hilighting was broken. Inserting a single space before '$' > cleared the error and fixed the hilighting. I can reproduce this and am about to prepare a fix. That code sits here since 1997, I find it rather surprising that it has not surfaced until now. I'll run some tests and add a test case. If I am not mistaken, then replacing a `progn` with `save-excursion` should do the trick: index b85db699e72..34481925d3e 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el @@ -4108,7 +4108,7 @@ cperl-find-pods-heres (and (eq (preceding-char) ?\}) (cperl-after-block-p (point-min))) (and (eq (char-syntax (preceding-char))= ?w) - (progn + (save-excursion (forward-sexp -1) ;; After these keywords `/' starts a RE. One should add all the ;; functions/builtins which expect an argument, but ... In newer versions the line numbers are different (~4650) but the issue is the same. The unprotected (forward-sexp -1) skips over $n and the two characters before that are '..' which, in the following clause, makes the construct look like a flip-flop operator where '/' does start a regular expression. Using 'save-excursion' undoes the skip before running the next checks. --=20 Cheers, haj From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Harald =?UTF-8?Q?J=C3=B6rg?= Resent-Date: Fri, 26 Jul 2024 08:01:02 +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 To: Eli Zaretskii Cc: me@briang.org, 72296@debbugs.gnu.org Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172198081728880 (code B ref 72296); Fri, 26 Jul 2024 08:01:02 +0000 Received: (at 72296) by debbugs.gnu.org; 26 Jul 2024 08:00:17 +0000 Received: from localhost ([127.0.0.1]:38738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXFs8-0007Vk-Ox for submit@debbugs.gnu.org; Fri, 26 Jul 2024 04:00:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXFs5-0007U7-15 for 72296@debbugs.gnu.org; Fri, 26 Jul 2024 04:00:15 -0400 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 1sXFrp-0007lN-LV; Fri, 26 Jul 2024 03:59:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=gnCAY7MZi2JjgDyK5Fb/oIU1LSPQK7IE1MItx150z1Y=; b=CAwF8fkrxeP3MrFzJ16A wO62KdUiiAcaGIiZ1d2ZVxXFSgAWv07uJupBQ2GrlEgfb099Nk8PgRJwXjCWeNzc9Y83z3KdLCUxW BcFwo4YXxwoqwLAPC/RhtLK9/QKOBYtoysXV8JTw8ozN2MzDMYRocGP8Z2JEH4KX3PtPStJS7Z+f2 dLTP8U1c1l/YKbxOxTqvOWT7uWYFwYl80UAg6DmyHdbsl6Nhv+QiwXk73oRuN6NSivuQM3IgUZn/Q kS31BtH/Vy6nvK9rSKagSiA3FYNgRwxflRJ/I8ya1lWK8SNyA095D+Ndo0vtasYC7WMT41GbQ4o2P y5Nve3ax+SHdHw==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sXFro-0005NG-9x; Fri, 26 Jul 2024 03:59:56 -0400 From: Andrea Corallo In-Reply-To: <865xst47hg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 25 Jul 2024 22:06:03 +0300") References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> <865xst47hg.fsf@gnu.org> Date: Fri, 26 Jul 2024 03:59:56 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> Cc: 72296@debbugs.gnu.org >> From: Andrea Corallo >> Date: Thu, 25 Jul 2024 13:01:30 -0400 >>=20 >> brian writes: >>=20 >> > I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated >> > cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the >> > empty buffer and as soon as I pressed '/' there was an error message in >> > the minibuffer >> > >> > End of =E2=80=98/ ... /=E2=80=99 string/RE not found: (scan-error Unba= lanced >> > parentheses 11 38) >> > >> > and syntax hilighting was broken. Inserting a single space before '$' >> > cleared the error and fixed the hilighting. >> > >> > >> > >> > In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, >> > cairo version 1.18.0) of 2024-06-24 built on dev >> > Windowing system distributor 'The X.Org Foundation', version 11.0.1230= 2000 >> > System Description: Ubuntu 23.10 >>=20 >> I might be doing something wrong but I cannot reproduce on emacs-30, >> could you confirm? 29 is not under development anymore. > > I can reproduce on master. Be sure to invoke cperl-mode, and type > exactly the text the OP shows. So I do but can't reproduce, I must be doing something wrong sorry =F0=9F= =A4=B7 From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Harald =?UTF-8?Q?J=C3=B6rg?= Resent-Date: Fri, 26 Jul 2024 08:05: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 To: brian greenfield Cc: 72296@debbugs.gnu.org Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172198104429555 (code B ref 72296); Fri, 26 Jul 2024 08:05:01 +0000 Received: (at 72296) by debbugs.gnu.org; 26 Jul 2024 08:04:04 +0000 Received: from localhost ([127.0.0.1]:38744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXFvo-0007gd-HL for submit@debbugs.gnu.org; Fri, 26 Jul 2024 04:04:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXFvm-0007fz-JX for 72296@debbugs.gnu.org; Fri, 26 Jul 2024 04:04:03 -0400 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 1sXFvT-0000k5-Jx; Fri, 26 Jul 2024 04:03:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Qq2yLZgKAjMJvX3uZQ0uldWOtGBMsM966N8vFBC2hKI=; b=Rfy2WydXJg9Rgba0oCzh +3N6u0WkVmyxpPx1wAga7sWG6+8lJaVhEW6Be16YZRNMoIYg5nxvlFZXh3nhPPSIiC4u8ONQ+MSll hTgllFfFmf3UMNVtOoZUpI7wK/lPhvXtzTwBaosjLOI9oggtrhg4r2rit2VG+4R92acI0vUX+VIwR kPVcx1ySrt+oKLBIVg089JnKqxDchAtAM1kpwR9PWQdFABUKx/aa2Gwyj8c6QbHGHZz0zOkkYCck/ US7n94fA6sKS1gDclBXhwCSHlm99gpUfBuLSKsluKWy1Q1bdpXGEYaMk/naytE23o460YhrnzijGW Y1zqUyRfEcDzcw==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sXFvL-0005AV-TS; Fri, 26 Jul 2024 04:03:43 -0400 From: Andrea Corallo In-Reply-To: <20240725183057.dqp2aii5asd5tdgv@dev> (brian greenfield's message of "Thu, 25 Jul 2024 19:30:57 +0100") References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> <20240725183057.dqp2aii5asd5tdgv@dev> Date: Fri, 26 Jul 2024 04:03:35 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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). Andrea From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error 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 To: Andrea Corallo Cc: brian greenfield , 72296@debbugs.gnu.org Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172198923212968 (code B ref 72296); Fri, 26 Jul 2024 10:21:01 +0000 Received: (at 72296) by debbugs.gnu.org; 26 Jul 2024 10:20:32 +0000 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 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 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== 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) From: Harald =?UTF-8?Q?J=C3=B6rg?= In-Reply-To: (Andrea Corallo's message of "Fri, 26 Jul 2024 04:03:35 -0400") References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> <20240725183057.dqp2aii5asd5tdgv@dev> Date: Fri, 26 Jul 2024 10:20:12 +0000 Message-ID: <87h6ccqwtf.fsf@oook.m.uunet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: 29.4; cperl-mode parsing error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Harald =?UTF-8?Q?J=C3=B6rg?= Resent-Date: Fri, 26 Jul 2024 10:39: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 To: Andrea Corallo Cc: dev@briang.org, 72296@debbugs.gnu.org Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172199033014956 (code B ref 72296); Fri, 26 Jul 2024 10:39:01 +0000 Received: (at 72296) by debbugs.gnu.org; 26 Jul 2024 10:38:50 +0000 Received: from localhost ([127.0.0.1]:38857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXILa-0003t9-CB for submit@debbugs.gnu.org; Fri, 26 Jul 2024 06:38:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXILY-0003st-RO for 72296@debbugs.gnu.org; Fri, 26 Jul 2024 06:38:49 -0400 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 1sXILK-0008QR-S6; Fri, 26 Jul 2024 06:38:34 -0400 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=4Sh9LhayO9g/j4egSVI709orYEQ/kwtYFhVq0oR5ReU=; b=OsSywa9jn4gK Yi5NHF5E04Jk5sQbayoVfSZeFBdbmGGKLHeiIgIACwkipactX3L7r6AYoYKhoDBn95DWYiVp7qEat 5uhnyrVXv5ZtYLfzWZcoWK+ltR0FhXBfqjFWZb4uqmsgI7u/qwLTscxH/428uUiJOmp0VEFS926qJ Bh6l5JCKpOKCZbScnqNI4QyQ3WtEVdgsw/vkANQvSAiqYUPWIeDSM5AuO2uDt8a5DFSu6NG2rNp6U xNHcXca6SSfvXxFDHDQNCVKfOruzZrOvs0el9YswdovzPf6vaSA3DgdeQrWfKoZiyI3Fh1i4J0GNA oeC+5lmzeCUGYoQDsF7Epg==; Date: Fri, 26 Jul 2024 13:38:32 +0300 Message-Id: <86sevw30bb.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Andrea Corallo on Fri, 26 Jul 2024 04:03:35 -0400) References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> <20240725183057.dqp2aii5asd5tdgv@dev> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 72296@debbugs.gnu.org > From: Andrea Corallo > Date: Fri, 26 Jul 2024 04:03:35 -0400 > > 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). Wasn't this fixed today on the emacs-30 branch? From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: Acknowledgement (29.4; cperl-mode parsing error) Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Harald =?UTF-8?Q?J=C3=B6rg?= Resent-Date: Fri, 26 Jul 2024 13:57:02 +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 To: brian greenfield Cc: acorallo@gnu.org, 72296@debbugs.gnu.org, haj@posteo.de Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172200221325933 (code B ref 72296); Fri, 26 Jul 2024 13:57:02 +0000 Received: (at 72296) by debbugs.gnu.org; 26 Jul 2024 13:56:53 +0000 Received: from localhost ([127.0.0.1]:39792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLRE-0006kC-JB for submit@debbugs.gnu.org; Fri, 26 Jul 2024 09:56:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLRB-0006k0-6N for 72296@debbugs.gnu.org; Fri, 26 Jul 2024 09:56:50 -0400 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 1sXLQv-0007Uh-J7; Fri, 26 Jul 2024 09:56:33 -0400 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=V6VMnuek79kdOdbvXXRWBdt923/3SJLcOwim1jK6yns=; b=iuF/a1oKONb3lN1fx+tE AWvqjXacK/cASmqNTJXSwzNsILrRJikQ1Mf+vEokwP1fY6HiFQHefDmMoomowrQckgFKTeXR6rIQL /huWezSG1E/kk/miqSXoEFFPa2ogCwknq9y7siEcv1qK+cKxC+Z5Jf97Ca7RKuRW3ySosoqlorb+i 4W/2SIg6i+Q6KXYJp6NKoi01NQ8+7Crg9WhXCyuHo8yKY5mEc5ee4n+yyisBL35vxcZqhg17nKDM1 FIpyntwRls865Rl9JJbE2mRXuqz6ebo9rIP33LDGMHDEMxV9UphfC8vpsEU0vaD9g8ENDUYOsvJZY aIXcMM5A6bZzHg==; Date: Fri, 26 Jul 2024 16:56:30 +0300 Message-Id: <86le1o2r5d.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <20240726132128.es5gxql2hpgyjc63@dev> (message from brian greenfield on Fri, 26 Jul 2024 14:21:28 +0100) References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> <20240726132128.es5gxql2hpgyjc63@dev> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 26 Jul 2024 14:21:28 +0100 > From: brian greenfield > Cc: Harald Jörg , > Andrea Corallo , Eli Zaretskii > > I compiled emacs-30 (87389f9ff90) and master (52cae67e1e7) in the last couple of > hours, and tested with 'for (2..$n/2) {}'. > > emacs-30 is fixed: the spurious error has gone, and hilighting is working as > expected. master is still broken. The fix was installed on the emacs-30 branch, it will be merged to master soon. From unknown Sun Jun 22 17:18:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72296: Acknowledgement (29.4; cperl-mode parsing error) Resent-From: brian greenfield Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Harald =?UTF-8?Q?J=C3=B6rg?= Resent-Date: Fri, 26 Jul 2024 16:48:04 +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 To: 72296@debbugs.gnu.org Cc: Eli Zaretskii , Andrea Corallo , Harald =?UTF-8?Q?J=C3=B6rg?= Received: via spool by 72296-submit@debbugs.gnu.org id=B72296.172201245921159 (code B ref 72296); Fri, 26 Jul 2024 16:48:04 +0000 Received: (at 72296) by debbugs.gnu.org; 26 Jul 2024 16:47:39 +0000 Received: from localhost ([127.0.0.1]:39929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXO6S-0005V9-CQ for submit@debbugs.gnu.org; Fri, 26 Jul 2024 12:47:38 -0400 Received: from silver.cherry.relay.mailchannels.net ([23.83.223.166]:52017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXKtD-0005Ko-1r for 72296@debbugs.gnu.org; Fri, 26 Jul 2024 09:21:44 -0400 X-Sender-Id: dreamhost|x-authsender|dev@briang.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 28F134C66F7; Fri, 26 Jul 2024 13:21:33 +0000 (UTC) Received: from pdx1-sub0-mail-a313.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C1B134C62A7; Fri, 26 Jul 2024 13:21:32 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1722000092; a=rsa-sha256; cv=none; b=iYKpcnIv8+nj7ib2E2RZb99UEgsyPp94Quz3BsedJu4rKwibhdt17n4Hakl0CJZCKpsDbB 7SNsA6mDRrwI2HrX8cteKHFJwbuQft9pQ5M17xHdcIEADdragxU3QayFFEi8E6EJ8Fa6B7 WQt7/OTlCVeL5h+ZtO1PqCNB6yxvxUqegODhWFD04RLuEXqr57V2Cz6RPTkYkw9ZF29JR7 rJee+zjC2Ees6Abx7KOrGC4ujOkW7t0G6CZAIzw46aDCKhpSmBuaRAaV+xDHSF1X6L3vT2 jMr5NwjrkBDSSVvJfoMCbH+RpJVDXkVNYrflWcOOF1I6ZVUiiyNPniej0oVLDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1722000092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=emszdS5jvtSzVx3xPa5nOTyjKhcrfZo2whlhAGPheIg=; b=LbJdyEgRnWrY+UJXiVXeFeVrdPXnAgr5IT1Ah2Ec0kXxXiuxC+5FMr3dKXe9ay85Tz3xOQ syOKsBXgxnjvCpkaaz7+WRAG5uc1DBIvZP6r1SYeTkrsqTCOWrpBMDQpPINd3mdstooyBv QwJ8p7kngpoHmVv4bP25eKxvkyfYptI01WUbHJG08TDUVxUheddXgReniLhov16ORPCws/ Dp5qfnx5s/KzYVsCz3CtQJhfjAJP5VnsjOVi1DLPoh4TcHvAFjUYB3J6wtO4rMtWx6fUIg RWlD/6AZRnb8O2BWZE1nitjROi5cf1XgRkSSwtyzdC2MmodegUeN7OpLpxsfmQ== ARC-Authentication-Results: i=1; rspamd-7f77fccf7d-lzs9h; auth=pass smtp.auth=dreamhost smtp.mailfrom=dev@briang.org X-Sender-Id: dreamhost|x-authsender|dev@briang.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dev@briang.org X-MailChannels-Auth-Id: dreamhost X-Grain-Spot: 727b98a14f10e8ea_1722000093024_278669574 X-MC-Loop-Signature: 1722000093024:321512623 X-MC-Ingress-Time: 1722000093024 Received: from pdx1-sub0-mail-a313.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.114.228.60 (trex/7.0.2); Fri, 26 Jul 2024 13:21:33 +0000 Received: from dev (unknown [83.137.6.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dev@briang.org) by pdx1-sub0-mail-a313.dreamhost.com (Postfix) with ESMTPSA id 4WVpLM2HMPzDV; Fri, 26 Jul 2024 06:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=briang.org; s=dreamhost; t=1722000092; bh=emszdS5jvtSzVx3xPa5nOTyjKhcrfZo2whlhAGPheIg=; h=Date:From:To:Cc:Subject:Content-Type; b=aUzIcjPVH+H8DL4/TsFVvC1uLAAD5VwnM035XxXUCT2jrOn6z0306MA0tDDZ28NwC pEYOp6WWi+v7ZnrUyGERpEVvfjng1MbE5h8SG/EH0h57TwmI804lgagbUgxj957ee7 MPQmfvel8iRpamRlA2BKDcvYkiuL7jOLIFHj1tv5vt96PS2ldXU2qIOwjoTZGCVNKN YJ6xSY8do88oeVPlLIMsg7wiRytN5CXYVHGvqAGnOD7SzRt6UUvVYa/sPC/he8wMTW QUE8MyBfJRnpwhOuCtSp43EQd9W1Cx+wu8g3ZuRBgFrdNuXzevwg0rARLQa9w7SEC2 wE8sYq1+w6oTQ== Date: Fri, 26 Jul 2024 14:21:28 +0100 From: brian greenfield Message-ID: <20240726132128.es5gxql2hpgyjc63@dev> References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Fri, 26 Jul 2024 12:47:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I compiled emacs-30 (87389f9ff90) and master (52cae67e1e7) in the last couple of hours, and tested with 'for (2..$n/2) {}'. emacs-30 is fixed: the spurious error has gone, and hilighting is working as expected. master is still broken. From unknown Sun Jun 22 17:18:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: brian Subject: bug#72296: closed (Re: bug#72296: 29.4; cperl-mode parsing error) Message-ID: References: <86y15n1csg.fsf@gnu.org> <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> X-Gnu-PR-Message: they-closed 72296 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: confirmed Reply-To: 72296@debbugs.gnu.org Date: Sat, 27 Jul 2024 08:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1722067502-27806-1" This is a multi-part message in MIME format... ------------=_1722067502-27806-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72296: 29.4; cperl-mode parsing error which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72296@debbugs.gnu.org. --=20 72296: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72296 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1722067502-27806-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72296-done) by debbugs.gnu.org; 27 Jul 2024 08:04:37 +0000 Received: from localhost ([127.0.0.1]:40492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXcPt-0007D1-0w for submit@debbugs.gnu.org; Sat, 27 Jul 2024 04:04:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXcPq-0007Bj-2C for 72296-done@debbugs.gnu.org; Sat, 27 Jul 2024 04:04:35 -0400 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 1sXcPa-0008IW-09; Sat, 27 Jul 2024 04:04:18 -0400 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=UdcAQOy0h+kFnx8RRCRM3KcO4SWH+76CanymwN23MuQ=; b=AvBxPohGuCjfJQvqcG3Y b2YEeMKGfufAZLrEn5vDCVs869OIeUDyGr4TgR/WafQ+0nT/Cdfmu0LaWaFUWBtkLTpEeuiY9MRTv kGSNpKDcEAvoDRV+pRrFGonajNeSFofNAvtUL8rr9ADhry6sAxcaMLrsbegIdj/nAah+GOcrGgQSX gdUk20sEuBH2GHYMpWmYPfn5m2/YIJZltu47TMemRBwwQHV4ftMDJ1kCjSDNVyOYzltaJtmOvc5Gq H4V4MDZssXMe9OTKRhGwF9yK/RDyqhXx+CADXskE0Wz2ebby0aJoubvhLjyUV1ZPMmePjZZ9Mpiug t0+FvI5RBvybsQ==; Date: Sat, 27 Jul 2024 11:04:15 +0300 Message-Id: <86y15n1csg.fsf@gnu.org> From: Eli Zaretskii To: Harald =?utf-8?Q?J=C3=B6rg?= In-Reply-To: <87frrxjnpg.fsf@oook.m.uunet.de> (message from Harald =?utf-8?Q?J=C3=B6rg?= on Thu, 25 Jul 2024 19:06:35 +0000) Subject: Re: bug#72296: 29.4; cperl-mode parsing error References: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> <87frrxjnpg.fsf@oook.m.uunet.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72296-done Cc: me@briang.org, 72296-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: brian > From: Harald Jörg > Date: Thu, 25 Jul 2024 19:06:35 +0000 > > brian writes: > > > I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated > > cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the > > empty buffer and as soon as I pressed '/' there was an error message in > > the minibuffer > > > > End of ‘/ ... /’ string/RE not found: (scan-error Unbalanced > > parentheses 11 38) > > > > and syntax hilighting was broken. Inserting a single space before '$' > > cleared the error and fixed the hilighting. > > I can reproduce this and am about to prepare a fix. > > That code sits here since 1997, I find it rather surprising that it has > not surfaced until now. I'll run some tests and add a test case. If I > am not mistaken, then replacing a `progn` with `save-excursion` should > do the trick: > > index b85db699e72..34481925d3e 100644 > --- a/lisp/progmodes/cperl-mode.el > +++ b/lisp/progmodes/cperl-mode.el > @@ -4108,7 +4108,7 @@ cperl-find-pods-heres > (and (eq (preceding-char) ?\}) > (cperl-after-block-p (point-min))) > (and (eq (char-syntax (preceding-char)) ?w) > - (progn > + (save-excursion > (forward-sexp -1) > ;; After these keywords `/' starts a RE. One should add all the > ;; functions/builtins which expect an argument, but ... > > In newer versions the line numbers are different (~4650) but the issue > is the same. The unprotected (forward-sexp -1) skips over $n and the > two characters before that are '..' which, in the following clause, > makes the construct look like a flip-flop operator where '/' does start > a regular expression. Using 'save-excursion' undoes the skip before > running the next checks. Thanks, since this appears to be fixed on the emacs-30 branch, I'm closing this bug. ------------=_1722067502-27806-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jul 2024 16:50:46 +0000 Received: from localhost ([127.0.0.1]:37686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX1fv-0001Ad-I9 for submit@debbugs.gnu.org; Thu, 25 Jul 2024 12:50:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:34018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWyXd-0006P6-30 for submit@debbugs.gnu.org; Thu, 25 Jul 2024 09:30:00 -0400 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 1sWyXV-0004pp-5a for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 09:29:49 -0400 Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWyXR-0001Cw-MR for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 09:29:48 -0400 X-Sender-Id: dreamhost|x-authsender|me@briang.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D20694C4185 for ; Thu, 25 Jul 2024 13:29:41 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6016E4C44AD for ; Thu, 25 Jul 2024 13:29:41 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1721914181; a=rsa-sha256; cv=none; b=q+uoVUTz0YbsWJ2eg/7ZgQ0xgVnaASWAdcn62pbebm6iCX7VQKVq4X2XpNDDD47dhGN4R9 EPRgUjbiEKKyzWkRWncqTtmTT1OIXJC71xDkTw4smTNSsAzh4jwnpu8Diqvw9r/WrKjOcY Hz3jwju8EsskKmz6odksy8jub/yKUoxRmaWlnKg4WZlPdYgQ3BOgxX8ujZiBDVtzzmGr1X m7V443Lw98n0bV0h4ShiMeT/KECL3wjmLtqtbVxl0IuGinZTr1mffwG50W7/epBVR9goBT VtgEs9yCDPV52+IbKKS0fg0Sv6ncOk2R3erMG1lmRgT407OUNau5UbD1PRp89g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1721914181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=mNnnXFFwN2cVFMJ4fl+hw6MbX+1myDateDSFtJ6V/dk=; b=8wpGRitlNKYYXYtWw/jrp2U5u9qPNJjltHw1PBBJI9B0WdRJDDFDybMgvgghRjrd7Zuyai niJWyuJsDvFq3jI/CpQgBxYqXaQFGhnWg3THQldvYwWyBIxn2lWySyRubcsumKNMJFm80i p0liqu7t86XQoJCmLlnEhHgA1tCzUrg/aIm8ihSQOglVYapENAXiUQpILJhOlRuhDogaNg YBgrUs0g5cspLlFjBHeaiRU14JpVVAH0tJlar+Pp/9fpvIEqOENWuK8cI4Hdz1rBkuEsIt ae4VnIi6SjNI1vuH7moIp8UHtfquokk9yyuijuEq1QJ9pOZSrKAY82v0pLVy1Q== ARC-Authentication-Results: i=1; rspamd-7d6b596b87-np5lk; auth=pass smtp.auth=dreamhost smtp.mailfrom=me@briang.org X-Sender-Id: dreamhost|x-authsender|me@briang.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|me@briang.org X-MailChannels-Auth-Id: dreamhost X-Little-Fumbling: 240276ba1d69efa7_1721914181617_3269319070 X-MC-Loop-Signature: 1721914181617:2426067425 X-MC-Ingress-Time: 1721914181617 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.120.39.204 (trex/7.0.2); Thu, 25 Jul 2024 13:29:41 +0000 Received: from [192.168.136.246] (unknown [83.137.7.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: me@briang.org) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPSA id 4WVBZD5mHDzBT for ; Thu, 25 Jul 2024 06:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=briang.org; s=dreamhost; t=1721914181; bh=mNnnXFFwN2cVFMJ4fl+hw6MbX+1myDateDSFtJ6V/dk=; h=Date:To:Subject:From:Content-Type:Content-Transfer-Encoding; b=zlvUpfntLyqhUQszXjRJ0naMtQBRV2oIQuzjiKXE38c3RXsx5WFgI4cHC3eJoNnUQ mAvxwih0i2jGhDSIJ0VnQmxvixwfwcg7mr3JTSt84C7I5+95XW8l8k18H7ZgqgfrKa wWGtbjwoHfhCRwFnz8j1DszeFOq7jpyOhUmeFOojRsLSbBUvrQijZkLRDn+UVh8dVB 4tS8bIEBwWh5At6R2G2TPInDH8C1v8iSPG8xkElenYFax2T3mL2uCaOvCOkVApJtya KaVOG140jnfcshh/SjTZnyb59RQWHuzWOa2RFG9FecJIcTftmBu0/CUy8vgjW5jVDY W2gCUgpiGWSpg== Message-ID: <0c1147f0-9656-4860-ad58-dd1e24b75634@briang.org> Date: Thu, 25 Jul 2024 14:29:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-gnu-emacs@gnu.org Subject: 29.4; cperl-mode parsing error Content-Language: en-US From: brian Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=23.83.218.253; envelope-from=me@briang.org; helo=iguana.tulip.relay.mailchannels.net X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the empty buffer and as soon as I pressed '/' there was an error [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=me%40briang.org; ip=209.51.188.17; r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [83.137.7.169 listed in zen.spamhaus.org] X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 25 Jul 2024 12:50:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the empty buffer and as soon as I pressed '/' there was an error [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [83.137.7.169 listed in zen.spamhaus.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=me%40briang.org;ip=209.51.188.17;r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager I started emacs using 'emacs -Q /tmp/some-empty-file.pl' and activated cperl mode by 'M-x cperl-mode'. I typed 'for (2..$n/2) {}' into the empty buffer and as soon as I pressed '/' there was an error message in the minibuffer End of ‘/ ... /’ string/RE not found: (scan-error Unbalanced parentheses 11 38) and syntax hilighting was broken. Inserting a single space before '$' cleared the error and fixed the hilighting. In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2024-06-24 built on dev Windowing system distributor 'The X.Org Foundation', version 11.0.12302000 System Description: Ubuntu 23.10 Configured using: 'configure --prefix=/opt/emacs --with-cairo --with-libsystemd --with-mailutils --with-native-compilation --with-pop=yes --with-sound=alsa --with-toolkit-scroll-bars --with-x-toolkit=gtk3 --with-x=yes --without-gconf 'CFLAGS=-g -O2'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: CPerl Minor modes in effect: rainbow-delimiters-mode: t global-hl-line-mode: t savehist-mode: t which-key-mode: t marginalia-mode: t vertico-mode: t yas-global-mode: t yas-minor-mode: t global-flycheck-mode: t flycheck-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/brian/.emacs.d/elpa/transient-20240603.2200/transient hides /opt/emacs/share/emacs/29.4/lisp/transient Features: (shadow sort mail-extr emacsbug message yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search mailabbrev gmm-utils mailheader sendmail mail-utils mule-util orderless comp comp-cstr warnings cperl-mode facemenu rainbow-delimiters hl-line savehist which-key move-text org-tempo org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ring org-list org-footnote org-faces org-entities time-date noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-compat tempo org-version org-macs format-spec marginalia vertico compat yasnippet-snippets yasnippet diminish flycheck ansi-color find-func rx display-fill-column-indicator display-line-numbers ef-dark-theme ef-themes cus-edit pp cus-load icons wid-edit edmacro kmacro quelpa-use-package cl-extra quelpa mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr lisp-mnt help-fns radix-tree help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf all-the-icons-dired-autoloads all-the-icons-autoloads auctex-autoloads tex-site avy-autoloads cdlatex-autoloads corfu-autoloads diminish-autoloads ef-themes-autoloads embark-consult-autoloads consult-autoloads embark-autoloads flycheck-autoloads helpful-autoloads elisp-refs-autoloads jinx-autoloads json-mode-autoloads keycast-autoloads logos-autoloads magit-todos-autoloads magit-autoloads pcase git-commit-autoloads hl-todo-autoloads f-autoloads async-autoloads marginalia-autoloads markdown-mode-autoloads move-text-autoloads orderless-autoloads org-modern-autoloads osm-autoloads pcre2el-autoloads pdf-tools-autoloads perltidy-autoloads quelpa-use-package-autoloads quelpa-autoloads rainbow-delimiters-autoloads realgud-autoloads realgud-recursive-autoloads loc-changes-autoloads load-relative-autoloads s-autoloads spacious-padding-autoloads svg-lib-autoloads tablist-autoloads taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads dash-autoloads test-simple-autoloads transient-autoloads treepy-autoloads vertico-autoloads which-key-autoloads with-editor-autoloads info compat-autoloads ws-butler-autoloads yaml-autoloads yaml-mode-autoloads yasnippet-snippets-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 507989 330210) (symbols 48 28255 420) (strings 32 141117 47270) (string-bytes 1 4103290) (vectors 16 44098) (vector-slots 8 844183 452452) (floats 8 157 942) (intervals 56 373 368) (buffers 984 12)) ------------=_1722067502-27806-1--