From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: but how to FIX it? Re: cperl-mode: paren-bounce vs (dQuotes in regexps) Date: Tue, 27 Jul 2004 22:43:20 +0000 (UTC) Organization: Public Access Networks Corp. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090968433 32253 80.91.224.253 (27 Jul 2004 22:47:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2004 22:47:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 28 00:47:05 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bpaiu-0007G9-00 for ; Wed, 28 Jul 2004 00:47:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bpam0-0006ix-Sh for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jul 2004 18:50:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!129.250.35.142.MISMATCH!newsfeed1.stngva01.us.to.verio.net!newsfeed1.nycmny01.us.to.verio.net!newsmaster.cc.columbia.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader2.panix.com 1090968200 22239 166.84.1.1 (27 Jul 2004 22:43:20 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 27 Jul 2004 22:43:20 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: shelby.stanford.edu gnu.emacs.help:124510 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19845 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19845 In article , Pablo Marin Garcia wrote: > >Probably is a problem with your version of cperl. It works for me for >the external parents. > I am using the cperl that >comes with emacs windows 21.2.x (I am not sure of the cperl version but >the last history line contains: "After 4.31:"). > > >Your line only fails in the internal pair broken by the doublequote > >(\s+boundary="--) OK -- me too -- but what to DO about it, keeping the functionality, but making the parens bounce properly? > >my Cperl is unable to match any of this parents. > >-- David Combs wrote -- > > > >> Subject: cperl-mode: paren-bounce vs (dQuotes in regexps) >> >> (emacs 21.2) > >> $gBoundaryTag = $2 if ( $gCurLine m/^(\s+boundary="--)([0-9]+)"$/ >>); > ===================>> NOTE THIS, though: >>Under text-mode, the above bounces fine -- leftmost "(" vs rightmost ")". > >>But not under cperl-mode (try it) -- you'll get the rightmost ")" >>matching >> the 2nd-from-the-left "(". > >>Suggestions on how to handle this? > > >>Thanks! >>David > > >. / __ \ / __ \ > \ | ///\\\ | / \ | ///\\\ | / > \ \_((####))_/ / \ \_((####))_/ / > \__ ((##)) __/ \__ ((##)) __/ > / |||| \ / |||| \ > / | oo | \ / | oo | \ > | | !! | | | | !! | | > \ / \\|// \ / > (o o) >. .-. .-. .-. .-. .-. .-oOOo~(_)~oOOo-. .-. .-. .-. .-. >|X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\ >/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \||| > `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' > > > > >