Subject: Re: bug#70437: 30.0.50; Fail to enter the debugger when using prin1 (instead of cl-prin1)

From: Bruno Barbier <[email-masked]>
Date: Wed, 17 Apr 2024 18:39:08 +0200

Eli Zaretskii <[email-masked]> writes:

> merge 70437 70436
> thanks
>
>> From: Bruno Barbier <[email-masked]>
>> Date: Wed, 17 Apr 2024 18:05:45 +0200
>> 
>> 
>> Hi,
>> 
>> When setting debugger-print-function to prin1, Emacs 30.0.50 may fail
>> to enter the debugger.
>> 
>> Emacs displays something like:
>> 
>>     Entering debugger...
>>     make-text-button: Args out of range: 67, 3000
>> 
>> 
>> The correct behavior is to enter the debugger, with something like this:
>> 
>>     Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>       #f(compiled-function (&rest args) "Start a program in a subprocess.  ...
>>       ...
>>       make-process(:name "mandatory" :command "ls" :stderr err-buf)
>> 
>> The problem doesn't occur with Emacs 29.3.
>
> This is an exact duplicate of bug#70436 that you submitted about 2.5
> hours ago, so I'm merging them.

Thanks. Sorry.

It appeared in the middle of bug#70136:
   https://mail.gnu.org/archive/html/bug-gnu-emacs/2024-04/msg01039.html

I didn't realize it got it's own bug number though (bug#70436) ...

Sorry for the extra work.  Thanks again for merging them.

Bruno