Unbalanced parentheses

Zajcev Evgeny zevlg at yandex.ru
Wed Dec 7 05:45:04 EST 2005


Zajcev Evgeny <zevlg at yandex.ru> writes:

> "Stephen J. Turnbull" <stephen at xemacs.org> writes:
>
>>>>>>> "Zajcev" == Zajcev Evgeny <zevlg at yandex.ru> writes:
>>
>>   ("aoeuaoeuaoeu")
>>         ^
>>         |
>>       point here
>>
>>     Zajcev> In given situation if i press C-M-u (`backward-up-list')
>>     Zajcev> it gives "Unbalanced parentheses" error.  For me such
>>     Zajcev> behaviour is quite surprizing, because i *see* balanced
>>     Zajcev> parentheses :)
>>
>> I can't reproduce in `XEmacs 21.5 (beta23) "daikon" (+Xft) [Lucid]
>> (i686-pc-linux, Mule) of Mon Nov 7 2005 on tleepslib'.  Can you
>> reproduce with `xemacs -vanilla'?  What version of S?XEmacs?
>>
>
> Oh sorry, forgot to mention - it is in 21.4 series, in my case 21.4
> (patch 15) non-mule build.  And yes it is reproducable with `xemacs
> -vanilla'.
>
> BTW: How it behaves in 21.5, does it jumps to the open parenthesis ?

Here is additional information:

Richard Klinda wrote me in private email:
|  Okay, in gnus's *article buffer* it works,
| I triple checked, but now as I am editing this email to you it doesn't
| work in this buffer (I get "unbalanced parentheses" too).  It works in
| EmacsWiki documents too, doesn't work in *scratch*.  Hehe, I'm sure
| you'll figure this out.:)

Ok, in modes where syntax for `"' is "(string quote) - C-M-u gives
error, but why?  Can I simple modify syntax entry for `"' to
.(punctuation) in programming modes without breaking anything?

Consider this picture

  nn("aoeui(aoeu)aoeu")
             ^     ^
             |     |
    (*) point here |
                   |
         (**) point here

For me, in modes where `"' is string quote, C-M-u should jump to open
paren(after double n) in both situations (*) and (**).  But if `"' is
punctuation, then C-M-u should move point to open paren(after i) in
(*) situation, and move point to open paren(after double nn) in (**)
situation.  Am i wrong and missing something?

-- 
lg




More information about the XEmacs-Beta mailing list