From: Peter Oliver <p.d.oliver@mavit.org.uk>
To: 74245@debbugs.gnu.org
Subject: bug#74245: 30.0.92; CPerl subroutine signatures are left open when last param is $
Date: Thu, 7 Nov 2024 19:19:31 +0000 (GMT) [thread overview]
Message-ID: <457f28cf-be1f-58e0-5a49-8690ecd4ad25@mavit.org.uk> (raw)
Perl subroutine signatures can include a variable with no name, just a bare $, to indicate that a parameter should be ignored. If this happens in the last place, CPerl mode in Emacs 30.0.92 mishandles it, and is unable to see the closing ). Consequently, it matches parentheses incorrectly, and misindents subsequent blocks.
I have a test that I will send in as a patch, once I have a bug number.
This issue is not present in Emacs 29.4.
--
Peter Oliver
next reply other threads:[~2024-11-07 19:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 19:19 Peter Oliver [this message]
2024-11-07 19:29 ` bug#74245: 30.0.92; CPerl subroutine signatures are left open when last param is $ Peter Oliver
2024-11-08 12:12 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=457f28cf-be1f-58e0-5a49-8690ecd4ad25@mavit.org.uk \
--to=p.d.oliver@mavit.org.uk \
--cc=74245@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.