GNU bug report logs -
#72296
29.4; cperl-mode parsing error
Previous Next
Full log
Message #21 received at 72296 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Cc: 72296 <at> debbugs.gnu.org
>> From: Andrea Corallo <acorallo <at> gnu.org>
>> Date: Thu, 25 Jul 2024 13:01:30 -0400
>>
>> brian <me <at> briang.org> 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.
So I do but can't reproduce, I must be doing something wrong sorry 🤷
This bug report was last modified 302 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.