GNU bug report logs - #23651
25.1.50; edebug-read-sexp: infinite recursion when reading backquote or comma

Previous Next

Package: emacs;

Reported by: ju.schmidt <at> gmx.de

Date: Sun, 29 May 2016 23:00:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 25.1.50

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: ju.schmidt <at> gmx.de
Cc: 23651 <at> debbugs.gnu.org
Subject: bug#23651: 25.1.50; edebug-read-sexp: infinite recursion when reading backquote or comma
Date: Sat, 25 Mar 2017 14:40:31 -0400
tags 23651 fixed
close 23651 26.1
quit

ju.schmidt <at> gmx.de writes:

> Start emacs with -Q, do M-: and type "(require 'edebug)". Then write
> this in buffer "*scratch*":
>
> `1
>
> Then do M-: and type "(edebug-eval-defun)". It will give this error:
>
> "edebug-read-sexp: Lisp nesting exceeds `max-lisp-eval-depth'"
>
> (The documentation for edebug-eval-defun says that this should display
> "1" instead of giving an error).
>
> One gets the same error when the buffer contains this instead:
>
> ,1
>
> This is caused by an endless recursion in edebug-read-sexp which
> apparently can be fixed like this:

Pushed to master [1: 5f6ef7cba8].

1: 2017-03-25 14:38:29 -0400 5f6ef7cba8200d19198e42a9a76fef1618b5f233
  Stop edebug getting stuck on backquote (Bug#23651)




This bug report was last modified 8 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.