Unbalanced parentheses printed by warnings() crash text editor
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