From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#62904: 29.0.90;
Can't edebug a function that has the same name as a type
Date: Mon, 17 Apr 2023 15:59:21 +0200
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="29634"; mail-complaints-to="usenet@ciao.gmane.io"
To: 62904@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 17 16:03:59 2023
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1poPSX-0007UB-SB
for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Apr 2023 16:03:57 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1poPOq-0003Ai-Gu; Mon, 17 Apr 2023 10:00:08 -0400
Original-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 )
id 1poPOl-00034H-6S
for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 10:00:04 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1poPOk-0002rx-U4
for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 10:00:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1poPOk-0005xk-8W
for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 10:00:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 17 Apr 2023 14:00:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 62904
X-GNU-PR-Package: emacs
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.168173997422847
(code B ref -1); Mon, 17 Apr 2023 14:00:02 +0000
Original-Received: (at submit) by debbugs.gnu.org; 17 Apr 2023 13:59:34 +0000
Original-Received: from localhost ([127.0.0.1]:55598 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1poPOH-0005wR-F4
for submit@debbugs.gnu.org; Mon, 17 Apr 2023 09:59:33 -0400
Original-Received: from lists.gnu.org ([209.51.188.17]:39730)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1poPOF-0005wJ-OU
for submit@debbugs.gnu.org; Mon, 17 Apr 2023 09:59:32 -0400
Original-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 )
id 1poPOF-00024Q-BY
for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 09:59:31 -0400
Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1poPOA-0002mv-Af
for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 09:59:29 -0400
Original-Received: by mail-wm1-x329.google.com with SMTP id
n43-20020a05600c502b00b003f17466a9c1so1249808wmr.2
for ; Mon, 17 Apr 2023 06:59:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1681739964; x=1684331964;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:from:to:cc:subject:date:message-id:reply-to;
bh=8NteGKJXdFcMNj6APsVUyyTINzbg8hWEOErYQtoNr7o=;
b=BvpMAQeYmJ1ph1hQ75zkS0PKIgMqzC+uTbRM2EN5ViaIi4h/6hJlzh0HWG8MeT0W8E
0UqWAFN6gW0O7J2DSgQ+CAbv4YycqAdOT+DCs/koASEcXLJW0yIVCjTcy5xvs+RUNwDD
ePlDc72by8QIAsrksL4caKWvxiubSuCNmk4YgbruDl21EEDG9mnG40Nt7oMULbTwsh2X
O3Hx64k89rYx4oI2f9IeljVXZwQ0lPIv0bbC1D30pIoZUhscNxy4WWD9grpLYwbnjz0b
4Ur8tEO69DHg4Ih0vtV7/0wR06sjf1x5GS9uvjLjslAq4KV5l7e20PTakCZjY1XDQTX4
8z7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1681739964; x=1684331964;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=8NteGKJXdFcMNj6APsVUyyTINzbg8hWEOErYQtoNr7o=;
b=XLhyTd8/cp2d4tJhZ4UFOzV8Idoegtmj63/xI4xF9JQEB+M0M4f9FHSrYT8/XioTBe
cfCZU2jDAM1bmyOELJJ8TF0d/fMNnm3/O/DUyWXQP6ceqTmf1ZnXTaDZmSbWmn3vpXph
OAhYqfepAG8MUpXpoR74i/p2bL9otqdFVC66bskCvRqFP2FLYjOgHZKqsUe3pnSXZXQ+
uKbfW+rSOW/bNGUt7L3lRvE5jRmKWGmhudrDfL7ODALw4Z/fbw037tvMR4752G7X0lp/
pstBqnZrrCNsuMxk+BdQCZWSpey0ohTZk49CQS/NggrinN0scHYLcUejDfNUTO2ih9/q
sL3w==
X-Gm-Message-State: AAQBX9ebgeWvmiKgAaqX4Y4RryAT9Bmh8QBEkhNN+3BCJdV//R+I3Vt1
7YVhWwg88WAKJz7pn+CtfsCEZtEtobk=
X-Google-Smtp-Source: AKy350aZMt5+c74/ZtuqLjroqrm8C63e2f04g07XGLsZJyRnjikm3dhRN+vqVGpuT+cF6FkqZAsw2g==
X-Received: by 2002:a1c:ed07:0:b0:3ef:6eeb:c25a with SMTP id
l7-20020a1ced07000000b003ef6eebc25amr10497094wmh.6.1681739964087;
Mon, 17 Apr 2023 06:59:24 -0700 (PDT)
Original-Received: from phst-desktop.muc.corp.google.com
([2a00:79e0:15:10:71fe:29f2:2ff1:8f38])
by smtp.gmail.com with ESMTPSA id
v14-20020a5d678e000000b002f2b8cb5d9csm10603177wru.28.2023.04.17.06.59.23
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 17 Apr 2023 06:59:23 -0700 (PDT)
Received-SPF: pass client-ip=2a00:1450:4864:20::329;
envelope-from=p.stephani2@gmail.com; helo=mail-wm1-x329.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:260183
Archived-At:
Create an Emacs Lisp buffer with the following-contents:
;; -*- lexical-binding: t; -*-
(defun foo () (message "hi"))
(cl-deftype foo '(or string integer))
First, instrument the `foo' function by moving point into it and hitting
C-u C-M-x. Then, hit M-: (foo) RET. Edebug will step through the
function as expected. Now, instrument the `foo' type (again, by moving
point into it and hitting C-u C-M-x). Then, hit M-: (foo) RET once
again. This will now fail with an error:
Args out of range: [], 0
The problem appears to be that the Edebug specification for `cl-deftype'
doesn't take into account that type definitions live in a separate
namespace and therefore Edebug would need to generate a unique symbol
instead of reusing the type name.
In GNU Emacs 29.0.90 (build 4, x86_64-pc-linux-gnu, GTK+ Version
3.24.36, cairo version 1.16.0) of 2023-04-17
Repository revision: 596b780ab71d6495f866de35c234fe65a8a7914a
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12101005
System Description: Debian GNU/Linux rodete
Configured using:
'configure --enable-gcc-warnings=3Dwarn-only
--enable-gtk-deprecation-warnings --without-pop --with-mailutils
--enable-checking=3Dall --enable-check-lisp-object-type --with-modules
'CFLAGS=3D-O0 -ggdb3''
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP
SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3
ZLIB
Important settings:
value of $LC_MONETARY: en_DK.UTF-8
value of $LC_NUMERIC: en_DK.UTF-8
value of $LC_TIME: en_DK.UTF-8
value of $LANG: en_DK.UTF-8
value of $XMODIFIERS: @im=3Dibus
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
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 phst skeleton pcase ffap thingatpt url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util url-parse auth-source cl-seq
eieio eieio-core cl-macs json map byte-opt gv bytecomp byte-compile
url-vars rx message sendmail mailcap yank-media dired dired-loaddefs
rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config
gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader gnutls puny elp dbus xml subr-x compile
text-property-search comint ansi-osc ansi-color ring 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 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
threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process emacs)
Memory information:
((conses 16 68248 9352)
(symbols 48 8279 1)
(strings 32 23154 1708)
(string-bytes 1 705041)
(vectors 16 16246)
(vector-slots 8 217779 16001)
(floats 8 45 35)
(intervals 56 257 0)
(buffers 976 11))
--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen
Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls Sie diese f=C3=A4lschlicherweise erhal=
ten haben
sollten, leiten Sie diese bitte nicht an jemand anderes weiter, l=C3=B6sche=
n Sie
alle Kopien und Anh=C3=A4nge davon und lassen Sie mich bitte wissen, dass d=
ie E-Mail
an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake,
please don=E2=80=99t forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.