GNU bug report logs - #5818
23.1; cperl-mode sees mismatched parens where there are none

Previous Next

Package: emacs;

Reported by: "Terrence Brannon" <t.brannon <at> contractor.verio.net>

Date: Thu, 1 Apr 2010 17:13:01 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 5818-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: 5818-done <at> debbugs.gnu.org
Subject: Re: bug#5818: 23.1;
 cperl-mode sees mismatched parens where there are none
Date: Fri, 5 Jul 2019 20:33:03 +0200
"Terrence Brannon" <t.brannon <at> 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




This bug report was last modified 6 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.