Subject: Re: bug#29107: 27.0.50; Infinite recursion in Ruby mode

From: Noam Postavsky <[email-masked]>
Date: Thu, 09 Nov 2017 21:13:12 -0500

tags 29107 + confirmed
quit

Anders Lindgren <[email-masked]> writes:

> I just noticed that Ruby mode can go into infinite recursion (or
> "Lisp nesting exceeds ‘max-lisp-eval-depth’"). I managed to boil it
> down to the following:
>
>     Evaluate (setq debug-on-error t)
>
>     Open a new file, say test.rb
>     Type:
>
>         func do {
>
>     And press return.

> Entering debugger...
> Error in debug printer: (void-function t) [1113 times]

By the way, this funny message seems to be caused by loading cl-print
while stack has been used up by the inf looping.  If setting
debugger-print-function to prin1, or loading cl-print before triggering
the bug, that message doesn't show up.