From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Patrick Goldmann Newsgroups: gmane.emacs.bugs Subject: bug#70948: 29.3; cperl mode hangs on comments like "#___" Date: Tue, 14 May 2024 18:35:48 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000aceff906186c987e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16916"; mail-complaints-to="usenet@ciao.gmane.io" To: 70948@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 14 18:58:14 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 1s6vTi-0004GC-4i for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 May 2024 18:58:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6vTZ-0001DI-Ki; Tue, 14 May 2024 12:58:05 -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 1s6vTY-0001D4-As for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 12:58:04 -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 1s6vTU-0004Cq-QV for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 12:58:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6vTV-0001w3-O7 for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 12:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Patrick Goldmann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2024 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70948 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17157058497413 (code B ref -1); Tue, 14 May 2024 16:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 May 2024 16:57:29 +0000 Original-Received: from localhost ([127.0.0.1]:40356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6vSy-0001vV-58 for submit@debbugs.gnu.org; Tue, 14 May 2024 12:57:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6v8U-0001ic-F6 for submit@debbugs.gnu.org; Tue, 14 May 2024 12:36:19 -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 1s6v8P-0002Qo-UN for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 12:36:15 -0400 Original-Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6v8J-0007mq-K9 for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 12:36:13 -0400 Original-Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-61af74a010aso55120627b3.0 for ; Tue, 14 May 2024 09:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715704557; x=1716309357; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=TFTe00TrdKsy+IND9+9hnfuumce5PExa2hqtvd5a3X0=; b=NVNJPznCNOAl7GA/0wMBRm4zkSk2H6yvWt2jXZ5JnYwTnxClLft8Lck8EzsJXqSSLP qdUtkIgh6xlnX+z4URUwITLd8WjBLaVg096hRnqgeSyV3+YL/Wd3T/KilhcCoxjdTNd1 TQNAdHL3oBQU6nK3W5z0nSnrED+3jBDsmgFDpl8G1Z1n4KUV1bBucdUSsRXgVp1s0cMg jk8ESESDGiIb33eGbsNKXXhlzWSNc2Hdhn2JdZIXFm6Ai9IDvOz8gCLMRx/2n2nTJW57 UmOQt7KUBl09WKqasvDFO/nOcZv7PG24f7LkeTF7XrMl+ArycVp3jkuqD7uavI+Rn14f vrYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715704557; x=1716309357; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TFTe00TrdKsy+IND9+9hnfuumce5PExa2hqtvd5a3X0=; b=NfaSEBlsh1+01rqQm3Pabz4dZkbIoq2jM6g4x0Ghr3rKveYDpaKFKJ+LYrjILKCPlb r/Y/HGG6EzSusFyDTNcF7cogHzYqc+ZxZEwu8bi9dyP2mQz9IV8jeUdWGRKRgIJthns8 DLTXpueVN8k71wHwrAYviSGjD4TQmLg7tem/oTUZzx9jlROGcza774ebJ6H6BR0+trHo nl2i3AZjnd3Vl+0FeZ3fFj2IEbuU6ha6oewxxtve7E3MyaOdJbDEt/ZwLUH60GbxyNmp 1vtwDL0uEFVT6EUSaYz56c8fn6Y/fYZTP7XvAJgEiZvFZO0wXDDWNZuy6Q4Csvlbu9a+ 7uTg== X-Gm-Message-State: AOJu0YykQYbLEHoNGQCUUkA1UQmgGu4n0D3oJo17YLmyZeOjO3mlclb/ +E3EUsVV212Jnb7r58woT9bUDCnTgAFlATdSCl8L0QGI950fQuF5fTt5O4yPPsgav4D+dDE3Eqr RqBBew26MkUw/B3fVSfscHWrigRHpS5Bo X-Google-Smtp-Source: AGHT+IHDqE9XHp/hlwHaZ4fqyCW+sYmhW86fjAm/m+5xth9IRTAz3+Q5VSzzVEPAvCLoqK42og6g+dR9tpY+0+eu4B8= X-Received: by 2002:a81:4152:0:b0:61b:e643:58c7 with SMTP id 00721157ae682-622affcc3edmr125124957b3.28.1715704557266; Tue, 14 May 2024 09:35:57 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1129; envelope-from=patrick.goldmann@gmail.com; helo=mail-yw1-x1129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 14 May 2024 12:57:26 -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:285031 Archived-At: --000000000000aceff906186c987e Content-Type: text/plain; charset="UTF-8" While trying to open files (with cperl-mode, perl-mode works) containing comments of this sort, emacs hangs. This also occurs when editing a new file in cperl-mode and trying to input a comment like that. Verified it's not my ~/.emacs.d/ by running emacs -Q I guess cperl-mode is mistaking this for something like __PACKAGE__ etc In GNU Emacs 29.3 (build 2, x86_64-w64-mingw32) of 2024-03-24 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.22631 System Description: Microsoft Windows 10 Pro (v10.0.2009.22631.3447) Configured using: 'configure --with-modules --without-dbus --with-native-compilation=aot --without-compress-install --with-sqlite3 --with-tree-sitter CFLAGS=-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB (NATIVE_COMP present but libgccjit not available) Important settings: value of $LANG: DEU locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win 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 w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 50309 9400) (symbols 48 5188 0) (strings 32 15119 1435) (string-bytes 1 415182) (vectors 16 11033) (vector-slots 8 262420 20014) (floats 8 24 38) (intervals 56 237 0) (buffers 984 10)) --000000000000aceff906186c987e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
While trying to open files (with cperl-mode, perl-mode wor= ks) containing comments of this sort, emacs hangs.

This = also occurs when editing a new file in cperl-mode and trying to input a com= ment like that.

Verified it's not my ~/.emacs.= d/ by running emacs -Q

I guess cperl-mode is m= istaking this for something like __PACKAGE__ etc


In GNU Emacs 29.3 (build 2, x86_64-w64-mingw32) of 2024-0= 3-24 built on
=C2=A0AVALON
Windowing system distributor 'Micros= oft Corp.', version 10.0.22631
System Description: Microsoft Windows= 10 Pro (v10.0.2009.22631.3447)

Configured using:
=C2=A0'conf= igure --with-modules --without-dbus --with-native-compilation=3Daot
=C2= =A0--without-compress-install --with-sqlite3 --with-tree-sitter
=C2=A0CF= LAGS=3D-O2'

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ = JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG= RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XP= M ZLIB

(NATIVE_COMP present but libgccjit not available)

Impo= rtant settings:
=C2=A0 value of $LANG: DEU
=C2=A0 locale-coding-syste= m: cp1252

Major mode: Lisp Interaction

Minor modes in effect:=
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-m= ode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
= =C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mo= de: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-= number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode:= t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
= =C2=A0 auto-compression-mode: t

Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message mailcap yank-medi= a puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derive= d epg rfc6068
epg-config gnus-util text-property-search time-date subr-x= mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils m= ailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util=
mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric=
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32<= br>ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win
tool= -bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomme= nt text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-esha= dow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock sy= ntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-ge= neric indonesian philippine cham georgian utf-8-lang
misc-lang vietnames= e tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew gree= k romanian slovak czech european ethiopic indian
cyrillic chinese compos= ite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help= abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs fac= es cus-face macroexp files window
text-properties overlay sha1 md5 base6= 4 format env code-pages mule
custom widget keymap hashtable-print-readab= le backquote threads
w32notify w32 lcms2 multi-tty make-network-process = native-compile emacs)

Memory information:
((conses 16 50309 9400)=
=C2=A0(symbols 48 5188 0)
=C2=A0(strings 32 15119 1435)
=C2=A0(st= ring-bytes 1 415182)
=C2=A0(vectors 16 11033)
=C2=A0(vector-slots 8 2= 62420 20014)
=C2=A0(floats 8 24 38)
=C2=A0(intervals 56 237 0)
=C2= =A0(buffers 984 10))
--000000000000aceff906186c987e--