unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* but how to FIX it? Re: cperl-mode: paren-bounce vs (dQuotes in regexps)
       [not found] <mailman.1747.1090943510.1960.help-gnu-emacs@gnu.org>
@ 2004-07-27 22:43 ` David Combs
  0 siblings, 0 replies; 2+ messages in thread
From: David Combs @ 2004-07-27 22:43 UTC (permalink / raw)


In article <mailman.1747.1090943510.1960.help-gnu-emacs@gnu.org>,
Pablo Marin Garcia  <dysdera@ebi.ac.uk> 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|||/ \|||
>   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-'
>
>
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* re: but how to FIX it? Re: cperl-mode: paren-bounce vs (dQuotes in regexps)
       [not found] <200407281332.i6SDWFF01169@maui.ebi.ac.uk>
@ 2004-07-28 22:33 ` Pablo Marin Garcia
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Marin Garcia @ 2004-07-28 22:33 UTC (permalink / raw)



Sorry, I don't know how to fix it.  But you can make a diff against mine. 
Or, 
if you want,  try to use mine.

 I have put my cperl-mode in :

http://cyrtophora.homelinux.org/emacs/cperl-mode.el

put it in your emcas/site-lisp and let see if the problem is still there.

I hope this would be helpful to you


.             /   __   \                      /   __   \
          \  |  ///\\\  |  /              \  |  ///\\\  |  /
           \ \_((####))_/ /                \ \_((####))_/ /
            \__ ((##)) __/                  \__ ((##)) __/
               / |||| \                        / |||| \
             / |  oo  | \                    / |  oo  | \
            |  |  !!  |  |                  |  |  !!  |  |
                \    /            \\|//         \    /
                                  (o o)
. .-.   .-. .-.   .-. .-.   .-oOOo~(_)~oOOo-.   .-. .-.   .-. .-.
|X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\
/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-28 22:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1747.1090943510.1960.help-gnu-emacs@gnu.org>
2004-07-27 22:43 ` but how to FIX it? Re: cperl-mode: paren-bounce vs (dQuotes in regexps) David Combs
     [not found] <200407281332.i6SDWFF01169@maui.ebi.ac.uk>
2004-07-28 22:33 ` Pablo Marin Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).