From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 01 13:12:57 2010 Received: (at submit) by debbugs.gnu.org; 1 Apr 2010 17:12:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxNwu-0005Ho-TZ for submit@debbugs.gnu.org; Thu, 01 Apr 2010 13:12:57 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxNqZ-0005EV-8Y for submit@debbugs.gnu.org; Thu, 01 Apr 2010 13:06:24 -0400 Received: from lists.gnu.org ([199.232.76.165]:33439) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NxNqU-0002zd-HS for submit@debbugs.gnu.org; Thu, 01 Apr 2010 13:06:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxNqU-0002mO-3l for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:06:18 -0400 Received: from [140.186.70.92] (port=33856 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxNqR-0002m2-Gv for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:06:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxNqO-0007Kt-LL for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:06:15 -0400 Received: from relay1-bcrtfl2.verio.net ([131.103.218.142]:56810) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxNqN-0007KO-VM for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:06:12 -0400 Received: from iad-wprd-xchw01.corp.verio.net (iad-wprd-xchw01.corp.verio.net [198.87.7.164]) by relay1-bcrtfl2.verio.net (Postfix) with ESMTP id 677A1B038E92 for ; Thu, 1 Apr 2010 13:06:09 -0400 (EDT) Received: from IAD-WPRD-XCHB03.corp.verio.net ([198.87.7.153]) by iad-wprd-xchw01.corp.verio.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 1 Apr 2010 13:06:08 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAD1BD.9F6D5598" Subject: 23.1; cperl-mode sees mismatched parens where there are none Date: Thu, 1 Apr 2010 13:06:07 -0400 Message-ID: <2F06164F2E8ECE4A97106FC49A25C3B201E7C84F@IAD-WPRD-XCHB03.corp.verio.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 23.1; cperl-mode sees mismatched parens where there are none Thread-Index: AcrRvZ6T+jrJybB4Qp2RAcA89EH5qw== From: "Terrence Brannon" To: X-OriginalArrivalTime: 01 Apr 2010 17:06:08.0849 (UTC) FILETIME=[9F804C10:01CAD1BD] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 01 Apr 2010 13:12:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) This is a multi-part message in MIME format. ------_=_NextPart_001_01CAD1BD.9F6D5598 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable If you enter the source code below, you will get a "mismatched parentheses" error when entering=20 =20 { customer_id =3D> { '=3D' =3D> \'me.customer_id' } =20 because the backslash in front of 'me.customer_id' throws cperl-mode off =20 =3D=3D=3D=3D begin sample source code =3D=3D=3D=3D =20 sub execute { my ($self, $opt, $args) =3D @_; =20 my $p_rs =3D $self->app->schema->resultset('Payment'); =20 my $rs =3D $p_rs->search ({ amount =3D> { '>' =3D> $p_rs->search ( { customer_id =3D> { '=3D' =3D> \'me.customer_id' } =20 =20 =3D=3D=3D=3D end sample source code =3D=3D=3D=3D =20 =20 =20 =20 If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. =20 =20 In GNU Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-03-26 on palmer, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10604000 configured using `configure '--build=3Di486-linux-gnu' '--host=3Di486-linux-gnu' '--prefix=3D/usr' = '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' = '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs23:/etc/emacs:/usr/local/share/emacs/= 2 3.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/sit e-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=3Dyes' '--with-x-toolkit=3Dlucid' '--with-toolkit-scroll-bars' 'build_alias=3Di486-linux-gnu' 'host_alias=3Di486-linux-gnu' 'CFLAGS=3D-DDEBIAN -g -O2' 'LDFLAGS=3D-g' 'CPPFLAGS=3D'' =20 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t =20 Major mode: CPerl =20 Minor modes in effect: shell-dirtrack-mode: t desktop-save-mode: t show-paren-mode: t global-auto-revert-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t =20 Recent input: C-s C-n C-n C-p C-n C-SPC C-n C-n C-n C-n C-n C-n C-e=20 C-w SPC SPC * SPC SPC * =20 * C-n C-n C-b C-d C-d C-n C-f C-f C-f C-f=20 SPC SPC C-f C-f C-f C-f C-f C-f C-f C-f C-f=20 C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f=20 C-f C-f C-f C-x C-s C-n C-n C-n C-n C-n C-a C-k =20 =20 C-p C-o m y SPC $ p _ r s SPC =3D SPC $ s e l f=20 - > a p p - . > s c e h =20 h e m a - > r e s u l t s e t ( ' P a y m e n t ' )=20 ; m y SPC $ p r=20 s SPC =3D SPC $ p _ r s - > s e a r c h ( { =20 C-p C-p C-n C-b C-b C-n =20 a m o u n t SPC =3D > SPC { SPC ' > =3D ' SPC=20 =3D > SPC $ p _ r s - > s e a r c h (=20 { { SPC c u s t o m e r=20 _ i d SPC =3D > SPC { SPC ' =3D ' SPC =3D > SPC \ ' m e .=20 c u s t o m e r _ i d ' SPC } SPC =20 } =20 C-x 0 } =20 =20 ESC x r e=20 p o r t - e m =20 Recent messages: Saving file /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlat ed_subquery.pm... Wrote /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlat ed_subquery.pm Mark set [2 times] Saving file /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlat ed_subquery.pm... Wrote /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlat ed_subquery.pm Mark set Saving file /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlat ed_subquery.pm... Wrote /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlat ed_subquery.pm Auto-saving...done Auto-saving... ------_=_NextPart_001_01CAD1BD.9F6D5598 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

If you = enter the source code below, you will get a "mismatched

parentheses" error when entering

 

           =    { customer_id =3D> { '=3D' =3D> \'me.customer_id' = }

 

because = the backslash in front of 'me.customer_id' throws = cperl-mode

off

 

=3D=3D=3D=3D begin sample source code =3D=3D=3D=3D

 

sub = execute {

  my = ($self, $opt, $args) =3D @_;

 

    my $p_rs =3D $self->app->schema->resultset('Payment');

 

  my = $rs =3D $p_rs->search

    ({

      amount =3D> { '>' =3D> $p_rs->search

           =   (

           =    { customer_id =3D> { '=3D' =3D> \'me.customer_id' = }

 

 

=3D=3D=3D=3D end sample source code =3D=3D=3D=3D

 

 

 

 

If Emacs = crashed, and you have the Emacs process in the gdb = debugger,

please = include the output from the following gdb commands:

    `bt full' and `xbacktrace'.

If you = would like to further debug the crash, please read the file

/usr/share/emacs/23.1/etc/DEBUG for instructions.

 

 

In GNU = Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)

 of = 2010-03-26 on palmer, modified by Debian

Windowing = system distributor `The X.Org Foundation', version = 11.0.10604000

configured using `configure  '--build=3Di486-linux-gnu' '--host=3Di486-linux-gnu' = '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' = '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' = '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs23:/etc/emacs:/usr/local/share/emacs/= 23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/sit= e-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=3Dyes' '--with-x-toolkit=3Dlucid' '--with-toolkit-scroll-bars' 'build_alias=3Di486-linux-gnu' 'host_alias=3Di486-linux-gnu' = 'CFLAGS=3D-DDEBIAN -g -O2' 'LDFLAGS=3D-g' 'CPPFLAGS=3D''

 

Important = settings:

  = value of $LC_ALL: nil

  = value of $LC_COLLATE: nil

  = value of $LC_CTYPE: nil

  = value of $LC_MESSAGES: nil

  = value of $LC_MONETARY: nil

  = value of $LC_NUMERIC: nil

  = value of $LC_TIME: nil

  = value of $LANG: en_US.UTF-8

  = value of $XMODIFIERS: nil

  locale-coding-system: utf-8-unix

  default-enable-multibyte-characters: t

 

Major = mode: CPerl

 

Minor = modes in effect:

  shell-dirtrack-mode: t

  = desktop-save-mode: t

  = show-paren-mode: t

  global-auto-revert-mode: t

  = tooltip-mode: t

  = mouse-wheel-mode: t

  = menu-bar-mode: t

  file-name-shadow-mode: t

  = global-font-lock-mode: t

  = font-lock-mode: t

  = blink-cursor-mode: t

  global-auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

  column-number-mode: t

  = line-number-mode: t

  transient-mark-mode: t

 

Recent = input:

C-s C-n = C-n C-p C-n C-SPC C-n C-n C-n C-n C-n C-n C-e

C-w SPC = SPC * <backspace> SPC SPC * <backspace> <backspace> =

<backspace> * C-n C-n C-b C-d C-d C-n C-f C-f C-f C-f

<return> SPC SPC C-f C-f C-f C-f C-f C-f C-f C-f C-f

C-f C-f = C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f

C-f C-f = C-f C-x C-s C-n C-n C-n C-n C-n C-a C-k <help-echo>

<help-echo> <down-mouse-1> <mouse-movement> <mouse-1> =

C-p C-o = <tab> m y SPC $ p _ r s SPC =3D SPC $ s e l f

- > a = p p - . <backspace> > s c e h <backspace> <backspace> =

h e m a - = > r e s u l t s e t ( ' P a y m e n t ' )

; = <return> <return> <tab> m y SPC $ p <backspace> r =

s SPC =3D = SPC $ p _ r s - > s e a r c h ( { <return>

<tab> C-p C-p C-n C-b C-b <return> <tab> C-n <tab> =

a m o u n = t SPC =3D > SPC { SPC ' > =3D <backspace> ' SPC

=3D > = SPC $ p _ r s - > s e a r c h <return> <tab> (

{ = <backspace> <return> <tab> { SPC c u s t o m e r

_ i d SPC = =3D > SPC { SPC ' =3D ' SPC =3D > SPC \ ' m e .

c u s t o = m e r _ i d ' SPC } SPC <backspace> <backspace>

} = <help-echo> <help-echo> <down-mouse-1> <mouse-movement> =

<mouse-1> C-x 0 <backspace> } <help-echo> <help-echo> =

<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> =

<down-mouse-1> <mouse-movement> <mouse-1> ESC x r e

p o r t - = e m <tab> <return>

 

Recent = messages:

Saving = file /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlate= d_subquery.pm...

Wrote /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlate= d_subquery.pm

Mark set = [2 times]

Saving = file /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlate= d_subquery.pm...

Wrote /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlate= d_subquery.pm

Mark = set

Saving = file /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlate= d_subquery.pm...

Wrote /home/metaperl/prg/DBIx-Cookbook/lib/DBIx/Cookbook/DBIC/Command/correlate= d_subquery.pm

Auto-saving...done

Auto-saving...

------_=_NextPart_001_01CAD1BD.9F6D5598-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 05 14:33:30 2019 Received: (at 5818-done) by debbugs.gnu.org; 5 Jul 2019 18:33:30 +0000 Received: from localhost ([127.0.0.1]:53718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjT1S-0002zT-Hh for submit@debbugs.gnu.org; Fri, 05 Jul 2019 14:33:30 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjT1M-0002z8-Qq for 5818-done@debbugs.gnu.org; Fri, 05 Jul 2019 14:33:24 -0400 Received: by mail-wr1-f67.google.com with SMTP id u18so10845568wru.1 for <5818-done@debbugs.gnu.org>; Fri, 05 Jul 2019 11:33:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=16nFsEarMJ3qqa12lUw/lkKRylGfHXJk9KtA3a6Vq3I=; b=qcDmelkD2mspuBKvTz4bp8CRoY4PIwgZ9zkYsuDOcBiKa1dL6V4pPtlNpJPpZB9LT0 rQj2/UBbRt3mGBNNFEBvcjO2L2G4bwERuSTkCkoGN4OE/S2XcZ3BcgxT8tfednO3aQVL 55aRZaob15mtiY6gDMZSvKDnO3hYNE9R74r6YtXOnF2GgRJkt/065EEcR7Xcn/gRLCAk 2iQ37DQlpBAN98tkY9W9C6g73rBeeJYk31V7Br7STOa/aFhpq+T89k4s17PTw/qaT6Dr TYJBD1RKi4vjcs7xLccg1hbhjyJl6pjq6K9l4eoC12Jys6BBs47mac3bEKupOJHPaZdU /WVw== X-Gm-Message-State: APjAAAVHErPsziCpGGHlX6mPyDcHF4aQUwxd/W+MvKmFgndtENFENrs5 bMAZcxD/bhrVf6XiKrh9MHjGff3ow/GZoIF615K+Ficm X-Google-Smtp-Source: APXvYqzmatvwuH5JJe16zlREe0lRYCm8JSLumyiYLaeqilDa10ZRg8tClDu1PNcey3CVlF80oq0WI3FH55cdshBD/lg= X-Received: by 2002:adf:f904:: with SMTP id b4mr5295269wrr.291.1562351594577; Fri, 05 Jul 2019 11:33:14 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Fri, 5 Jul 2019 20:33:03 +0200 Message-ID: Subject: Re: bug#5818: 23.1; cperl-mode sees mismatched parens where there are none To: 5818-done@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 5818-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Terrence Brannon" 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 From unknown Mon Aug 18 04:46:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Aug 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator