[ESS] Julia indentation failing
Vitalie Spinu
spinuvit at gmail.com
Tue Mar 11 23:18:53 CET 2014
I would strongly recommend upgrading to 24 for julia. Even if you solve
ignore-errors problem there might be other issues. I was never testing
julia-mode on emacs < 24. Sorry for the inconvenience.
Vitalie
>>> Stephen Eglen on Tue, 11 Mar 2014 09:34:35 +0000 wrote:
>> M-x C-h f gets me: "You have typed C-h, the help character. Type a help
>> option:"
>> Then I choose 'f', and get a prompt: "describe function".
>> Then I enter "ignore-errors", but Emacs says [no match]
> Apologies, I meant to write "C-h f RET ignore-errors RET" w/o leading
> M-x.
> But its odd that it is not there. As a workaround, you can add this
> into your .emacs before ESS is loaded
> (defmacro ignore-errors (&rest body)
> "Execute BODY; if an error occurs, return nil.
> Otherwise, return result of last form in BODY.
> See also `with-demoted-errors' that does something similar
> without silencing all errors."
> (declare (debug t) (indent 0))
> `(condition-case nil (progn , at body) (error nil)))
> This comes from subr.el; try and find that file. For me it is:
> /usr/local/share/emacs/24.3/lisp/subr.el.gz
> and then ignore-errors is line 286.
> Stephen
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list