[ESS] Debug mode puts point in the wrong buffer
spinuvit at gmail.com
Thu Jun 20 16:56:50 CEST 2013
>> Andreas Leha <andreas.leha at med.uni-goettingen.de>
>> on Thu, 20 Jun 2013 13:54:58 +0200 wrote:
> Called from: foo()
> debug bei /tmp/ESS-region/20-103751.R at 6#3:1 + 2
Damn, this is German, right. ESS tracks "debug at", and other English
phrases. To illustrate, paste the following into your *R* session:
debug at /tmp/ESS-region/tests.R at 28#3: 1 + 2
Browse> Error in x %*% y (from models.R#46) :
Error in source("~/R/funcs.R") (from hierarchy.R#6) :
You should see all 3 references above highlighted and clickable.
Tracking all possible languages is not an option. May be there is a way
to ask R for this, but I don't know how.
So you have two options. Either make your R speak English, or set the
regexp variables that start with ess--dbg-regexp-* to your
language. They are defined in ess-tracebug.el at line 1102. Also
ess-R-error-regexp-alist and all the regexps added to
compilation-error-regexp-alist-alist. See ess-r-d.el at lines 232-247
(in ESS devel).
The second option is a bit of a pain and is clearly not recommended. Bot
R and ESS sides could be modified in the future.
More information about the ESS-help