Subject: bug#12500: closed (Re: bug#12500: 24.2.50; (search-failed "\n debug(") in debugger)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 29 Jan 2016 19:13:02 +0000

Your bug report

#12500: 24.2.50; (search-failed "\n  debug(") in debugger

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12500: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12500
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12500: 24.2.50; (search-failed "\n debug(") in debugger
From: Marcin Borkowski <[email-masked]>
To: Helmut Eller <[email-masked]>
Cc: [email-masked], Stefan Monnier <[email-masked]>
Date: Fri, 29 Jan 2016 20:12:40 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2016-01-29, at 19:37, Helmut Eller <[email-masked]> wrote:

> On Fri, Jan 29 2016, Marcin Borkowski wrote:
>
>>> The patch below seems to fix the problem in your test case; can you
>>> confirm that it fixes your problem?
>>
>> Just wondering: should this bug be closed?
>
> Closing it is ok with me.

As you wish. ;-)

> Helmut

Thanks, and best regards,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

Subject: 24.2.50; (search-failed "\n debug(") in debugger
From: Helmut Eller <[email-masked]>
To: [email-masked]
Date: Mon, 24 Sep 2012 08:34:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

When stepping, the (search-forward "\n  debug(") in
debugger-setup-buffer sometimes fails.  To reproduce this 

1. eval this

  (progn
   (defun foo ()
     (debug nil 1)
     (debug nil 2))
   (setq toggle-debug-on-error t)
   (foo))

2. The debugger pops up with the message:
   Debugger entered: (1)
     foo()

3. At the line with foo(), press d (i.e. debugger-step-through).

4. Now the buffer starts with:
   Debugger entered--beginning evaluation of function call form:
   * (debug nil 2)

5. Now press c (i.e. debugger-continue) on the line with the *.

6. The debugger enters recursively with the error:
   Debugger entered--Lisp error: (search-failed "\n debug(")

In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2012-09-22 on ix
Bzr revision: 110128 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Configured using:
 `configure '--with-jpeg=no' '--with-gif=no' '--with-tiff=no''