Unbalanced parentheses crash Xemacs+ESS

Mayeul KAUFFMANN mayeul.kauffmann at tiscali.fr
Fri Aug 20 18:32:05 CEST 2004


Hello everyone,
I posted the following to the R devel list. (with title "Unbalanced
parentheses printed by warnings() crash text editor")
Specifically, I use ESS and XEmacs for Windows Users of R (by John Fox)
which is advised to do at http://ess.r-project.org/
with a buffer for text editing and an inferior ESS (R) buffer.
(I downloaded the latest Xemacs and ESS a month ago).

But all on the r-devel list agree that it was an ESS bug.
(see
http://www.mail-archive.com/r-devel@stat.math.ethz.ch/index.html#04256  )

Hope ESS specialists won't say it's an R or Xemacs bug !

Best regards,
Mayeul
=======================================================
(here is my post, slightly edited)

Most of the time, warnings are very long (they give the function that
caused them) and thus are
truncated. [by warnings() under R]
Most of the time, this generates printouts with unbalanced parentheses.

Xemacs and ESS, which do  parentheses highlighting, get very
confused with this.
After too many warnings, they give errors, and may even crash.

After too many warnings (with unbalanced parentheses), Xemacs  swithes to
an ESS-error buffer which says "error Nesting too deep for parser".
In some case, when back in R buffer, typing any letter switches back to
the ESS-error Buffer.
In other case, it simply takes ages (until you kill Xemacs) or it crashes.
There is a button to stop highlighting but it does not work.
In most case, the R process is lost.

Regards,

Mayeul KAUFFMANN
Univ. Pierre Mendes France
Grenoble - France




More information about the ESS-help mailing list