From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Terrence Brannon" Newsgroups: gmane.emacs.bugs Subject: bug#5818: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAD1BD.9F6D5598" X-Trace: dough.gmane.org 1270154832 10035 80.91.229.12 (1 Apr 2010 20:47:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2010 20:47:12 +0000 (UTC) To: 5818@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 01 22:47:07 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NxRI9-0007Cl-Uu for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Apr 2010 22:47:07 +0200 Original-Received: from localhost ([127.0.0.1]:60142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxRGk-00072Q-Q1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Apr 2010 16:45:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxO9N-00018j-SJ for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:25:49 -0400 Original-Received: from [140.186.70.92] (port=51499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxO9L-00012K-1h for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:25:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxO9J-0001Wc-H7 for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:25:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54734) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxO9J-0001WX-Cc for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 13:25:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NxNwz-0005I3-Ki; Thu, 01 Apr 2010 13:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Terrence Brannon" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Apr 2010 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5818 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.127014197720327 (code B ref -1); Thu, 01 Apr 2010 17:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Apr 2010 17:12:57 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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 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== 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-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 Resent-Date: Thu, 01 Apr 2010 13:13:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 01 Apr 2010 16:45:17 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35864 Archived-At: 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--