help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

but how to FIX it? Re: cperl-mode: paren-bounce vs (dQuotes in regexps)


From: David Combs
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)

In article <address@hidden>,
Pablo Marin Garcia  <address@hidden> 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|||/ \|||
>   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-'
>
>
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]