233
## From: "Sebastian P. Luque" <spluque@gmail.com>
234
## To: ess-bugs@stat.math.ethz.ch
235
## Subject: [ESS-bugs] ess-mode 5.12; `ess-indent-line' error
236
## Date: Tue, 17 Aug 2010 13:08:25 -0500
238
## With the following input, and point on the line with "Table 8.3":
242
(fm1 <- lmer(logFEV1 ~ age + log(height) + age0 + log(height0) + (age | id),
243
data=fev1, subset=logFEV1 > -0.5))
245
VarCorr(fm1)$id * 100
248
(fm2 <- update(fm1, . ~ . - (age | id) + (log(height) | id)))
251
## hitting TAB (`ess-indent-command'), which calls `ess-indent-line' I get
252
## the following trace:
254
## ....: (scan-error "Containing expression ends prematurely" 20 20)
255
## scan-sexps(177 -2)
258
## ess-continued-statement-p()
259
## ......................
261
## Interestingly, if the lines 2-4 are absent, then the problem is gone.
262
## The problem is also there in ESS 5.11.
264
## I'll try to find out what is going on in `ess-continued-statement-p' but
265
## given that I'm not very familiar with the stuff in ess-mode.el, I'm
266
## submitting the report in case somebody can detect the issue sooner.