[ESS] Debugger entered--Lisp error
Vitalie Spinu
spinuvit at gmail.com
Tue Sep 4 10:00:05 CEST 2012
>> Leo <sdl.web at gmail.com>
>> on Tue, 4 Sep 2012 13:03:11 +0800 wrote:
> In an R buffer, C-M-a to get the following error:
> Debugger entered--Lisp error: (error "Point is not in a function according to 'ess-function-pattern'.")
> signal(error ("Point is not in a function according to 'ess-function-pattern'."))
> error("Point is not in a function according to 'ess-function-pattern'.")
> ess-beginning-of-function()
> call-interactively(ess-beginning-of-function nil nil)
> It is fine for this command to behave like this but there are call-sites
> where this error gets in the way such as `ess-calculate-indent' which
> hurts indentation.
Hi Leo,
In development version C-M-a is bound to
ess-goto-beginning-of-function-or-para which has an explicit error
protection for such cases.
Vitalie.
More information about the ESS-help
mailing list