[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29107: 27.0.50; Infinite recursion in Ruby mode
From: |
Noam Postavsky |
Subject: |
bug#29107: 27.0.50; Infinite recursion in Ruby mode |
Date: |
Thu, 09 Nov 2017 21:13:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
tags 29107 + confirmed
quit
Anders Lindgren <andlind@gmail.com> 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.