[ESS] R-mode: forward-sexp: Scan error: "Unbalanced parentheses"

Martin Maechler maechler at stat.math.ethz.ch
Wed Dec 7 10:28:05 CET 2011


>>>>> Rodney Sparapani <rsparapa at mcw.edu>
>>>>>     on Tue, 6 Dec 2011 07:04:53 -0600 writes:

    > Aleksandar Blagotić wrote:
    >> I managed to reproduce the error on Xubuntu 11.10
    >> installed on VM.  With nothing more than
    >> 
    >> sudo apt-get install emacs r-base-dev ess
    >> 
    >> should I go even deeper and blame my CPU architecture? =)
    >> 
    >> aL3xa

    > I can reproduce it.  Just to clarify, this behavior is in
    > .R rather than *R*:

yes, I always understood that

However, I can *NOT* reproduce it,
also not after 
     emacs -Q
     load .. ess-site.el
tried both  ESS 5.14 and "ESS from svn"
(and I have committed the example at the end of the file
 ess/etc/R-ESS-bugs.R  in svn).

Martin

> Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 33 1)
>    scan-sexps(35 -1)
>    forward-sexp(-1)
>    ess-continued-statement-p()
>    S-calculate-indent(nil)
>    S-indent-line()
>    indent-according-to-mode()
>    ad-Orig-newline-and-indent()
>    (setq ad-return-value (ad-Orig-newline-and-indent))
>    (if (ess-roxy-entry-p) (progn (setq ad-return-value ...) (insert 
> ...)) (setq ad-return-value (ad-Orig-newline-and-indent)))
>    (let (ad-return-value) (if (ess-roxy-entry-p) (progn ... ...) (setq 
> ad-return-value ...)) ad-return-value)
>    newline-and-indent()
>    call-interactively(newline-and-indent nil nil)



More information about the ESS-help mailing list