Re: [Rd] Unbalanced parentheses printed by warnings() crash text editor

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Fri 20 Aug 2004 - 19:52:56 EST

On Thu, 19 Aug 2004 23:32:51 +0200, "Mayeul KAUFFMANN" <mayeul.kauffmann@tiscali.fr> wrote:

>Hope it is the good place for this (I discuss the question of the right
>place below).

I don't think so.

>Most of the time, warnings are more than 1000 characters long and thus are
>truncated.
>Most of the time, this generates printouts with unbalanced parentheses.
>
>Intelligent text editors which do parentheses highlighting get very
>confused with this.
>After too many warnings, they give errors, and may even crash.

As far as I know, this only affects one "intelligent" text editor. It's clearly an ESS/XEmacs bug, not a natural thing for an editor to do.

>I could have sent this to the ESS or Xemacs devel list, but ESS & Xemacs'
>attempt to find balanced parentheses accross many lines seems sensible,
>and is needed with very long functions.

Yes, it's sensible to try, but it is a bug that they don't fail gracefully.

Duncan Murdoch



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Aug 20 19:55:53 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 08:59:20 EST