Skip to content

Conversation

@tonini
Copy link
Contributor

@tonini tonini commented May 21, 2015

It fixes #168

If you try to indent on a blank line, one line before the last blank line in the buffer the following error raises and crashes the indentation.

(error "Lisp nesting exceeds `max-lisp-eval-depth'") 

Example:

1 defmodule Application.Behavior do
2
3   def something(arg) do
4
5   end
6   -> try to indent here raises `(error "Lisp nesting exceeds `max-lisp-eval-depth'")`
7  

@tonini tonini changed the title fix wrong indentation of cursor between and after code Fix (error "Lisp nesting exceeds `max-lisp-eval-depth'") which crashes correct indentation May 22, 2015
@tonini
Copy link
Contributor Author

tonini commented May 22, 2015

/cc @edubkendo

tonini added a commit that referenced this pull request May 22, 2015
Fix (error "Lisp nesting exceeds `max-lisp-eval-depth'") which crashes correct indentation
@tonini tonini merged commit c8e70d2 into master May 22, 2015
@tonini tonini deleted the issue-168 branch May 22, 2015 14:46
J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
)

Otherwise we're logging an exception which makes the logs unecessarily noisy and
this should be an expected case.

Also handle the case where the source_file is not currently in state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error encountered when working with macros

3 participants