GNU logs - #70437, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#70437: 30.0.50; Fail to enter the debugger when using prin1 (instead of cl-prin1)
Resent-From: Bruno Barbier <brubar.cs@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 17 Apr 2024 16:07:02 +0000
Resent-Message-ID: <handler.70437.B.171336998327611 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 70437
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 70437 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.171336998327611
          (code B ref -1); Wed, 17 Apr 2024 16:07:02 +0000
Received: (at submit) by debbugs.gnu.org; 17 Apr 2024 16:06:23 +0000
Received: from localhost ([127.0.0.1]:46705 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rx7ng-0007At-70
	for submit <at> debbugs.gnu.org; Wed, 17 Apr 2024 12:06:22 -0400
Received: from lists.gnu.org ([2001:470:142::17]:35756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brubar.cs@HIDDEN>) id 1rx7na-00079V-1s
 for submit <at> debbugs.gnu.org; Wed, 17 Apr 2024 12:06:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <brubar.cs@HIDDEN>)
 id 1rx7nG-0005Hl-VS
 for bug-gnu-emacs@HIDDEN; Wed, 17 Apr 2024 12:05:54 -0400
Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <brubar.cs@HIDDEN>)
 id 1rx7nB-00011c-HD
 for bug-gnu-emacs@HIDDEN; Wed, 17 Apr 2024 12:05:54 -0400
Received: by mail-lf1-x134.google.com with SMTP id
 2adb3069b0e04-516d0c004b1so7799319e87.2
 for <bug-gnu-emacs@HIDDEN>; Wed, 17 Apr 2024 09:05:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1713369947; x=1713974747; darn=gnu.org;
 h=mime-version:date:subject:to:from:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=ZOgX64RQvi+Mct8dZ5guQbw3FGRIGwaFFwUJsACfV6M=;
 b=S5EU/NwDyygAPFqOOYuXws5ukJpUjZ9/2uZgnl7dwsGgUFTk1mJK7kNWeSFsdovPmb
 DJ+1IXM1ZpN/aq6dtTtbkEwqij7PNxhvLisfr9uHWCBr00Maif0JESz9pn5vhcj/rD5N
 oqUuP6w6zTCFDvRrAuba2HS9dPeOuwyrxxLeZCFkfZZp443DswGNLUEbJZCv2PBbKDDH
 lvIb6hlTHt99BGLg89uBVqmYRROnM0HC6HtmndL4Eb0I9jqYVRDnQIlQ/i66/VMExntF
 hzI3lNXAohZHASmRoTLnmN9Hzrc8G+MgoQ1+CRlwQrbVkost4UHceYhga79hNFfgUXK3
 SD7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1713369947; x=1713974747;
 h=mime-version:date:subject:to:from:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ZOgX64RQvi+Mct8dZ5guQbw3FGRIGwaFFwUJsACfV6M=;
 b=TYCQEmLETb75PGL1Li95R4wQ+ag2T2Uyx2BfSxQrZoHX8ODEp3Fh9am/e34f9D+LGc
 PqgXVWCvdtl4FLtoD7EkIKz+7lir4OaRoiA5hWv+CM0KhvXrrC95yTmWkDYi80G5IErw
 LlExicy2bPvJkfStgeP1IEUqRe/4jK+qYlDECSkG++qf3UdZm5+janOiGCiqCgXi3krv
 rJSeqN1DVpaD0rpvGLPlMEiJbQI2kzEun9DrJS5HiRZP5AUafqnr0LzA3B7tYYEL8INr
 srH7bqefQojtAxoKqcgIKPl1NyoGqOgT4XteJ6VSMEGE5SSeO97rdQ7A96G+kyLPKEV2
 B59A==
X-Gm-Message-State: AOJu0Yzt77/k1BpaBkMuyOhcNVDJmJclhWPE9CL0R9zgmM79i9qGRQHg
 GNXI+kdhBK5edOc3425gbXK9ZaRQYnc/6aQoQrkEbXHW+23RrrgMAuMfNw==
X-Google-Smtp-Source: AGHT+IFMeXXCawcVdQHhUj/UjenbmDHbHkDBR7wyXJ0ybgwOvDNUCzq2oQ/JjUPdh6mnUMMQ0Z4W9A==
X-Received: by 2002:a05:6512:48cc:b0:519:20ef:4b8b with SMTP id
 er12-20020a05651248cc00b0051920ef4b8bmr4205309lfb.55.1713369946819; 
 Wed, 17 Apr 2024 09:05:46 -0700 (PDT)
Received: from keynux ([2a01:e0a:505:3460:1c18:688d:ece4:372e])
 by smtp.gmail.com with ESMTPSA id
 a16-20020adfed10000000b00349ac818326sm2491448wro.43.2024.04.17.09.05.45
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 17 Apr 2024 09:05:46 -0700 (PDT)
Message-ID: <661ff35a.df0a0220.c7dce.8615@HIDDEN>
Received: by keynux (sSMTP sendmail emulation); Wed, 17 Apr 2024 18:05:45 +0200
From: Bruno Barbier <brubar.cs@HIDDEN>
Date: Wed, 17 Apr 2024 18:05:45 +0200
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::134;
 envelope-from=brubar.cs@HIDDEN; helo=mail-lf1-x134.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


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.

To manually reproduce, execute the following code block in a new Emacs
(started with '-Q'):

  #+begin_src elisp
    (progn 
      (setq debugger-print-function 'prin1)
      
      (defun my-useless-advice (fun &rest args)
         (apply fun args))

      (advice-add 'make-process :around #'my-useless-advice)

      (make-process :name "mandatory"
                    :command "ls"
                    :stderr 'err-buf))
  #+end_src
  
It seems that backtrace.el prints using prin1, but infers where the
button should be using cl-prin1.

My personal workaround is to stop setting debugger-print-function to
prin1 (I customized it a few years ago because I found that cl-prin1 was
really slow at the time, I guess it shouldn't be the case anymore).

Best,

Bruno

PS: Sorry about the other email on the wrong bug number.  Copy/pasting
the report and updating the text wasn't enough, probably some buffer
local variables or some text properties.  I hope this one follow the
correct path.


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.0) of 2024-04-17 built on keynux
Windowing system distributor 'The X.Org Foundation', version 11.0.12101011
System Description: Gentoo Linux

Configured using:
 'configure --prefix=/home/bruno/local --with-x-toolkit=lucid
 --without-toolkit-scroll-bars --without-tree-sitter
 --without-native-compilation --without-modules --without-xwidgets
 --without-threads --without-pop --without-mailutils
 --without-compress-install --without-hesiod --without-gameuser
 --without-lcms2 --without-wide-int --without-kerberos
 --without-kerberos5 --with-sound=no --without-ns --without-gsettings
 --without-gconf --without-libotf --without-m17n-flt
 --with-gif=ifavailable --with-harfbuzz'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG LIBXML2
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 TIFF WEBP X11 XDBE XIM
XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: C.UTF8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
warnings icons cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote dbusbind inotify dynamic-setting
font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar
make-network-process emacs)

Memory information:
((conses 16 40047 17385) (symbols 48 5270 0) (strings 32 13441 1036)
 (string-bytes 1 323186) (vectors 16 9362)
 (vector-slots 8 111771 9938) (floats 8 23 28) (intervals 56 305 0)
 (buffers 984 11))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Bruno Barbier <brubar.cs@HIDDEN>
Subject: bug#70437: Acknowledgement (30.0.50; Fail to enter the debugger
 when using prin1 (instead of cl-prin1))
Message-ID: <handler.70437.B.171336998327611.ack <at> debbugs.gnu.org>
References: <661ff35a.df0a0220.c7dce.8615@HIDDEN>
X-Gnu-PR-Message: ack 70437
X-Gnu-PR-Package: emacs
Reply-To: 70437 <at> debbugs.gnu.org
Date: Wed, 17 Apr 2024 16:07:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 70437 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
70437: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70437
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#70437: 30.0.50; Fail to enter the debugger when using prin1 (instead of cl-prin1)
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 17 Apr 2024 16:24:02 +0000
Resent-Message-ID: <handler.70437.B70437.17133709862793 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 70437
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Bruno Barbier <brubar.cs@HIDDEN>
Cc: 70437 <at> debbugs.gnu.org
Received: via spool by 70437-submit <at> debbugs.gnu.org id=B70437.17133709862793
          (code B ref 70437); Wed, 17 Apr 2024 16:24:02 +0000
Received: (at 70437) by debbugs.gnu.org; 17 Apr 2024 16:23:06 +0000
Received: from localhost ([127.0.0.1]:46782 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rx83u-0000iy-2M
	for submit <at> debbugs.gnu.org; Wed, 17 Apr 2024 12:23:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35336)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1rx83q-0000hO-Ds; Wed, 17 Apr 2024 12:23:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rx83X-0003kA-U2; Wed, 17 Apr 2024 12:22:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=oZdGGfaHB1Sfmbxko/S/o8pHbUaXC0b1j/HA2DTgj0M=; b=rqdYHxLWHAcT
 FqRyDLqvvr9e2O1rRpeD+jpo0mGEGYx0ZFY0Ip2kT9Ex1KDqbGwPMp84PUHWFZkK7xsv42SunlYAQ
 eResOKTVw5Q4S6kUTDKmtA3aS71uC+n11K9Ckh944L3ExdGUwM2jn4uJ8PPLDBApacUlukuPFKw70
 J6hcZrYB90gGHXFUK27I/UuQI2IbeJGr5Js8RSVACbAs/UxjzKWKoRToUUBmtuK53shyYXmvrb1Z+
 iqDtyz3mo4JMyR1QNmhslsaK980DN3dNRk4CtryU4JMByojbx8ZjMzfwlDPEkstpuTQvkHsfMe2O+
 fR6UASjMZHvzvMKIQLwVsw==;
Date: Wed, 17 Apr 2024 19:22:40 +0300
Message-Id: <86a5lsgdrj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <661ff35a.df0a0220.c7dce.8615@HIDDEN> (message from Bruno
 Barbier on Wed, 17 Apr 2024 18:05:45 +0200)
References: <661ff35a.df0a0220.c7dce.8615@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

merge 70437 70436
thanks

> From: Bruno Barbier <brubar.cs@HIDDEN>
> 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.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 17 Apr 2024 16:23:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 17 12:23:07 2024
Received: from localhost ([127.0.0.1]:46784 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rx83u-0000j0-Ll
	for submit <at> debbugs.gnu.org; Wed, 17 Apr 2024 12:23:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35336)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1rx83q-0000hO-Ds; Wed, 17 Apr 2024 12:23:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rx83X-0003kA-U2; Wed, 17 Apr 2024 12:22:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=oZdGGfaHB1Sfmbxko/S/o8pHbUaXC0b1j/HA2DTgj0M=; b=rqdYHxLWHAcT
 FqRyDLqvvr9e2O1rRpeD+jpo0mGEGYx0ZFY0Ip2kT9Ex1KDqbGwPMp84PUHWFZkK7xsv42SunlYAQ
 eResOKTVw5Q4S6kUTDKmtA3aS71uC+n11K9Ckh944L3ExdGUwM2jn4uJ8PPLDBApacUlukuPFKw70
 J6hcZrYB90gGHXFUK27I/UuQI2IbeJGr5Js8RSVACbAs/UxjzKWKoRToUUBmtuK53shyYXmvrb1Z+
 iqDtyz3mo4JMyR1QNmhslsaK980DN3dNRk4CtryU4JMByojbx8ZjMzfwlDPEkstpuTQvkHsfMe2O+
 fR6UASjMZHvzvMKIQLwVsw==;
Date: Wed, 17 Apr 2024 19:22:40 +0300
Message-Id: <86a5lsgdrj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Bruno Barbier <brubar.cs@HIDDEN>
In-Reply-To: <661ff35a.df0a0220.c7dce.8615@HIDDEN> (message from Bruno
 Barbier on Wed, 17 Apr 2024 18:05:45 +0200)
Subject: Re: bug#70437: 30.0.50;
 Fail to enter the debugger when using prin1 (instead of cl-prin1)
References: <661ff35a.df0a0220.c7dce.8615@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
Cc: 70437 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

merge 70437 70436
thanks

> From: Bruno Barbier <brubar.cs@HIDDEN>
> 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.





Last modified: Wed, 17 Apr 2024 16:30:03 UTC

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