[ESS] ESS[R] / Xemacs dies if I hit return before parenthesis matching is completed

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Thu Feb 24 18:14:17 CET 2005


 > I just apt-get upgrade'd my debian linux "sarge" system, and one 
 > consequence has been that ESS / R / Xemacs are not behaving as nicely as 
 > they were before the upgrade: If I hit return to evaluate an R expression, 
 > and do so immediately after closing a parenthesis or two, without waiting 
 > for the parenthesis highlighter to "bounce" back from the matching 
 > parenthesis, then the session dies

Hi Dan, by the look of the backtraces, this could be a problem with
packages other than just ESS.

Can you try the same in a shell?

M-x shell

then type a silly command like
  (pwd)

and hit return before the bounce finishes.

Do you have anything special in your .emacs to do the paren bouncing?

 > 
 >    string-match("\\(?:[^ \n 
 > \"'`]+\\|\"[^\"]*\"\\|'[^']*'\\|`[^`]*`\\)+" "apply(A, 1, function(row) 
 > prod(row))" 11)
 >    # bind (arg-regexp args pos count mth nth string)
 >    comint-arguments("apply(A, 1, function(row) prod(row))" 0 nil)
 >    # bind (input intxt append-here pmark-val pmark proc)
 >    comint-send-input()
 >    #<compiled-function nil "...(14)" [ess-object-list 
 > ess-make-buffer-current run-hooks ess-send-input-hook comint-send-input 
 > nil] 2 ("/usr/share/xemacs21/site-lisp/ess/ess-inf.elc" . 30639) nil>()
 >    call-interactively(inferior-ess-send-input)
 >    # (condition-case ... . error)
 >    # (catch top-level ...)

Also, can you try using Emacs rather than XEmacs?

Stephen




More information about the ESS-help mailing list