From: Stefan Kangas <stefan@marxist.se>
To: 5818-done@debbugs.gnu.org
Subject: bug#5818: 23.1; cperl-mode sees mismatched parens where there are none
Date: Fri, 5 Jul 2019 20:33:03 +0200 [thread overview]
Message-ID: <CADwFkm=g8QjNCvOV_37GUK+5rmkbiAMeXPsoif_MNCXr=hUvMw@mail.gmail.com> (raw)
In-Reply-To: <2F06164F2E8ECE4A97106FC49A25C3B201E7C84F@IAD-WPRD-XCHB03.corp.verio.net>
"Terrence Brannon" <t.brannon@contractor.verio.net> writes:
> If you enter the source code below, you will get a "mismatched
>
> parentheses" error when entering
>
>
>
> { customer_id => { '=' => \'me.customer_id' }
>
>
>
> because the backslash in front of 'me.customer_id' throws cperl-mode
>
> off
>
>
>
> ==== begin sample source code ====
>
>
>
> sub execute {
>
> my ($self, $opt, $args) = @_;
>
>
>
> my $p_rs = $self->app->schema->resultset('Payment');
>
>
>
> my $rs = $p_rs->search
>
> ({
>
> amount => { '>' => $p_rs->search
>
> (
>
> { customer_id => { '=' => \'me.customer_id' }
>
>
>
>
>
> ==== end sample source code ====
Hi,
I can't reproduce this on Emacs 26.2, the latest version of Emacs.
Since the bug was reported 9 years ago, I will assume that this bug has
been fixed while you were waiting for a reply. I am therefore closing
this bug.
If you can still reproduce this issue on the latest version of Emacs,
please report back and we can re-open the issue.
Thanks,
Stefan Kangas
prev parent reply other threads:[~2019-07-05 18:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 17:06 bug#5818: 23.1; cperl-mode sees mismatched parens where there are none Terrence Brannon
2019-07-05 18:33 ` Stefan Kangas [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkm=g8QjNCvOV_37GUK+5rmkbiAMeXPsoif_MNCXr=hUvMw@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=5818-done@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).