Error in post-command-hook (schrute-check-last-command): (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")

Issue #1 new
Jorge Araya Navarro repo owner created an issue

If an alternative command does not stop the user for input, this error will be throw by Emacs:

Error in post-command-hook (schrute-check-last-command): (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")

Comments (2)

  1. Jorge Araya Navarro reporter

    This bug have to do with schrute--call-until-success, for functions that throw an error, like next-line, when they normally throw error if they can't complete their task.

  2. Jorge Araya Navarro reporter

    chg: Advises the user for any function that cause recursion errors

    Some functions like next-line throws an error if they reach the end of the buffer, which is good, however, this can make schrute-mode to enter into an infinite recursion because it thinks the alternative function hasn't finished correctly or the user didn't comply with any required input causing the major mode to fail miserably lol.

    We still have a bug that is caused when the user keeps invoking the same command and the alternative commands works without requesting input, somehow causing the recursion error I talked early. I still need to debug that.

    refs bug #1

    → <<cset 59faa6c4232a>>

  3. Log in to comment