GNU bug report logs - #3466
23.0.94; have `d' in debugger treat macro expansion like `c' does

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: "Drew Adams" <drew.adams@HIDDEN>; dated Wed, 3 Jun 2009 21:50:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 3466) by debbugs.gnu.org; 4 Jun 2021 09:23:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 04 05:23:04 2021
Received: from localhost ([127.0.0.1]:45354 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lp62i-00014T-9c
	for submit <at> debbugs.gnu.org; Fri, 04 Jun 2021 05:23:04 -0400
Received: from quimby.gnus.org ([95.216.78.240]:58946)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lp62g-00013i-Sm
 for 3466 <at> debbugs.gnu.org; Fri, 04 Jun 2021 05:23:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=f8p6+JklTiQZ/xul0Cq0FYEIvMxVeXuE1TuZe/fBoWs=; b=csUSbmTC8B2p46WA8qXK6+IXPa
 K6jnQ3lZBO3YOQTPZEhfloYHEEKGc1Dle3i7VTtmuFE9sPHEPhR2aAv74OX6YpFEFZTFzBPqUrleU
 YaA1V31N9Gr2iqfkU7mqTjSArHSSa9UWmgn+CfG/RnNjUhx0CGf98R1T2z+tYS9pG2Ao=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lp62W-0003i8-3J; Fri, 04 Jun 2021 11:22:56 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: [External] : Re: bug#3466: 23.0.94; have `d' in debugger treat
 macro expansion like `c' does
References: <D2CB9F1AC75E49D4AF5E110712196A56@HIDDEN>
 <87pmx3463n.fsf@HIDDEN>
 <SA2PR10MB44741D30AEE83B6ECF9FE357F33C9@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEX9/O3q5s/AvKiH
 hHc5NjH////zFb09AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UGBAkSMayECQAAAAGhSURBVDjLfVQN
 esMgCMV0BxCyAwjuAIvkAqve/0wDNe2ar9nr16o8QX4L8B4B5AxGAxPoBYAybyQ3EUVh11gySlnY
 CTuR2xgE+YIMa0mLJJWbqmQtN9GkqIqAGEOI9oMdtgf7IMIqRbdkppSp5BJKWXKRbG+4bVyEKQWj
 QTggI8Vrd2dEdI7TXrrAkQTzDmG6hv0xMdG8tKbgfGeAMQ55kLTXuUV0Ytym5vgeB1OBIQ+5y9vP
 NPogPoe81VeCdJ/E/ShgJ9Z23G+tDCIaEde2t6GhbGuVsHVTy16rTKL2ZW+WT3MXl5LbAzqeMiIG
 q117RXWNmJXDmXCNVQu8I6iyJehFvLe7eUXsfn+9EvpIycfJ1t0D9EA/3xFetrUdQY7HPSVI3mcR
 wo6UKxXarGbFiVnaL2vL0EuW7CtGzHqXvM2cZ7M+HwdYikQ5ilG85t0QolqYt6NbaDSDYz3MjDI9
 iIB/xP2mm/orfJLXvXsJb3l89vJzDK7nvGtwz5i5B8NJC27NOv4paAw5cZ96H06bdiJJxCazLTLb
 +Z/hHP4wnvELPGmBT22QumgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDYtMDRUMDk6MTg6NDgr
 MDA6MDCwMJDnAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA2LTA0VDA5OjE4OjQ4KzAwOjAwwW0o
 WwAAAABJRU5ErkJggg==
X-Now-Playing: Leaving Trains's _Chemical Imbalance #6_: "Heartbreak Wizard"
Date: Fri, 04 Jun 2021 11:22:51 +0200
In-Reply-To: <SA2PR10MB44741D30AEE83B6ECF9FE357F33C9@HIDDEN>
 (Drew Adams's message of "Thu, 3 Jun 2021 15:01:04 +0000")
Message-ID: <87h7ie0ys4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Drew Adams <drew.adams@HIDDEN> writes: > You hit `d' once,
 to get into the macro, then `c' to get > the macro expansion (then d d d...
 to go on after the > expansion). > > The point was only that at some point
 you need to hit `c' > if you [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 3466
Cc: "3466 <at> debbugs.gnu.org" <3466 <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: -1.7 (-)

Drew Adams <drew.adams@HIDDEN> writes:

> You hit `d' once, to get into the macro, then `c' to get
> the macro expansion (then d d d... to go on after the
> expansion).
>
> The point was only that at some point you need to hit `c'
> if you don't want to do the macro expansion itself step
> by step.

Hm.  I'm not all that familiar with this debugging interface -- I
usually use edebug, so I'm not quite sure what people expect from this
thing.

So here's my test case:

(defun foo ()
  (dotimes (i 2)
    (message "foo")))

and `M-x debug-on-entry' on foo, `M-: (foo)', just hitting `d' a lot
does what I'd expect -- stepping through all the code.  It does not seem
to step the through the macro expansion itself.  (At least not in Emacs
27.1 or 28.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#3466; Package emacs. Full text available.

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


Received: (at 3466) by debbugs.gnu.org; 3 Jun 2021 15:01:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 03 11:01:16 2021
Received: from localhost ([127.0.0.1]:44500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1looqR-0007pJ-QF
	for submit <at> debbugs.gnu.org; Thu, 03 Jun 2021 11:01:16 -0400
Received: from aserp2130.oracle.com ([141.146.126.79]:54622)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1looqO-0007h6-GD
 for 3466 <at> debbugs.gnu.org; Thu, 03 Jun 2021 11:01:14 -0400
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
 by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 153En6xp086497;
 Thu, 3 Jun 2021 15:01:06 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2020-01-29;
 bh=NquzjMjLsbIqQYhS04J+mBQtG9dk5Yj/ZFLlE0gMmpU=;
 b=sXm197WyUyK5xOYKxAfQfrQ10Mk84rzpM8o/OHO7UMhASj24gUCMS01AQaqltjHbHzAb
 YxIwr04hoEkoVzVAUp/u1UFblWQEDUaOE9MRN3t7+/GzlQAnvuBlfuHCjZeQErwSNL10
 0z9dOdSoqvSWuLf4vwksWJ0jfia2oaFTNYkVqBiCaKIXDxwbBgQcwCF7SQ2wAZzYswsf
 98OlxJw3JIH92UoM800tpEcnpj+tqS0KcqJFHGpQzefYMvo+aCxBmaOWzX2Rn4PAzPcY
 /AQNNSopuN3cN+3uaKR7CWHyHKQMd7Gws9m472fU5e6B/OMEcrhcgF7+eM17nOHXVL5N HQ== 
Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71])
 by aserp2130.oracle.com with ESMTP id 38ub4cup6t-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 03 Jun 2021 15:01:06 +0000
Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1])
 by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 153EobQn020436;
 Thu, 3 Jun 2021 15:01:06 GMT
Received: from nam02-sn1-obe.outbound.protection.outlook.com
 (mail-sn1anam02lp2040.outbound.protection.outlook.com [104.47.57.40])
 by aserp3030.oracle.com with ESMTP id 38ubnexens-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 03 Jun 2021 15:01:05 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=bW5DaXgvxpopdTXzDg95DWlIG4egjrOt2Iz6jnN98PaJED+spifbLfFppnfJmuxK1A0snErgpRaIMm7UPE0FnzYVR3eR2cjQx+lvntxPu61XMf+ctd6uX/eijd5qCt9CXVBMgWmiHgxJFVn8uukJNyYB9+2ZDo8lRv/430Iq+bw/UCtUUyZvOQPrLetDCUMsN0A7B7dGCGsySXAGG+7oMQYwBGfOseVgbNxps9EVJsIhLdghhy6IobR9rJ2uRyq02KpStsuOaUS5j2C22KGnn95IVqsdO6Yh+sX8LG5HljgS4SXKN2nQ8+R8T2sTkW+WW0tBt8nZL4pmCeHyVcRaig==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=NquzjMjLsbIqQYhS04J+mBQtG9dk5Yj/ZFLlE0gMmpU=;
 b=OgThyW8FlnmwPCNdn+TI4shIdUNnS/QbVi8PWGUd6KBJ1P40H3piOFjzlb3xNydSD2CsICP+z+t6hEd+7ZYSDGHo29x8sQvyFHvYzL+jSmGZJcHpTULNGEw6DsaiPxVi1kC3C4jKaVSVFL1lv3hwgb5Awouw8Fib/qCqZCREpBuDdDtEwwFf13SnX6JMb4TSZ4zn9f3FiBXkzBG0SHx89V6FVvjyCSoCP3sKZ3TueQoCXd0fIiItPn+kMftPV+8Tu/0RCZeIUU8wqCzohUAp2AEXXUmsFcrUAWDBv3hCKTJscu35+gUgVaey8EaNQeQ5YqxqI0nB2GbJiZwqKYNsNQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=NquzjMjLsbIqQYhS04J+mBQtG9dk5Yj/ZFLlE0gMmpU=;
 b=dCuhC4qvPFp12sGkWxVvteKYP/sKX8++T8hWjmVFSxvbMsKGgJYyMIWe90eGJFyjV1kWhXBfm/osfnsDuARW/SKv3YYF5CBbaSLiCGcwHFRKN1ctmHxU/GeoxHh9aqc/ipKJA69q0vIq3xzlgOuAfqRF0kmTJJcg8YJIFyimBi8=
Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15)
 by SA2PR10MB4442.namprd10.prod.outlook.com (2603:10b6:806:11a::21)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.24; Thu, 3 Jun
 2021 15:01:04 +0000
Received: from SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4195.024; Thu, 3 Jun 2021
 15:01:04 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: RE: [External] : Re: bug#3466: 23.0.94; have `d' in debugger treat
 macro expansion like `c' does
Thread-Topic: [External] : Re: bug#3466: 23.0.94; have `d' in debugger treat
 macro expansion like `c' does
Thread-Index: AQHXWF/WqHOX1n8MJEyFUpNA2cKQKqsCXfEA
Date: Thu, 3 Jun 2021 15:01:04 +0000
Message-ID: <SA2PR10MB44741D30AEE83B6ECF9FE357F33C9@HIDDEN>
References: <D2CB9F1AC75E49D4AF5E110712196A56@HIDDEN>
 <87pmx3463n.fsf@HIDDEN>
In-Reply-To: <87pmx3463n.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: gnus.org; dkim=none (message not signed)
 header.d=none;gnus.org; dmarc=none action=none header.from=oracle.com;
x-originating-ip: [73.170.83.28]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3d6874d3-e50d-4b22-9327-08d926a068d5
x-ms-traffictypediagnostic: SA2PR10MB4442:
x-microsoft-antispam-prvs: <SA2PR10MB444285195846B7D841454C98F33C9@HIDDEN>
x-ms-oob-tlc-oobclassifiers: OLM:3826;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nBwWdOYTTFno9Oss4qJbgzq8L9RuODlWCbBqv4TL8gMOY4P50G88Zo7B4mhpiy0m8404CKLWWXn1AAgOhMVdPdu2iJJ2hGKVuYMMSMhNbP87HYcUrQpAOl4nQkWdJKZOCBQ0R9yXPMebyPEbyTqfEXyGbUmPP6QfWFkq+0z7LHlJUiOQ2d0WerIR1t8iKGm8bhTAMwm7CSH0dzMI2VvuyADIZTJS/j5PNi+fE0tl2spTcVKCcbh25CV5zpwmPEt64h+ADvuNIt59lfiy7LTVMNRPu4+JCJKZFyMiPou2C1g2theiM7E35QGHVMjmZPrq3IE7cqzp1MUzGZfLn19Yy7avJYLXwF3ElvhwVRCbXUSG/Ed90sD6WoZyWN8B7I7eGZN8m40CMtVf7sZVH/dGR6Saa/PKtwuaWegMI22wexPAdv7rjW8ZKgdQQ0q5S3Sc3xG15KyU421fkx9R2X5O2+RSP5uukHiIYnuLLrk5bJzbivzgNSZO2nvDEHViQO2qsgf/wds2P4nSxif4/7FdoLwCZ3FlR5UOyXr5n04p6aUXLbNOXgf5gjFJ0LB1GpRP+DHhrzd3KGoZ5yGnHI8odDlSXkNwrEr3LcGtDD0kYcs4t47OF8Crnf0EH1xlMGIvihSgONV+tyXoOpPXyLXB7w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(376002)(366004)(39850400004)(136003)(396003)(346002)(2906002)(8936002)(5660300002)(9686003)(55016002)(316002)(6506007)(26005)(52536014)(4326008)(66946007)(66446008)(64756008)(76116006)(44832011)(66476007)(66556008)(71200400001)(83380400001)(86362001)(186003)(6916009)(8676002)(122000001)(33656002)(38100700002)(478600001)(7696005)(81973001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: =?us-ascii?Q?6gcTgkykhRjgczLoMICSlNrmaJo/2a9HADw4zlS5HFc9TELU+DhqZZO/DDKw?=
 =?us-ascii?Q?8q/zH+x3FDYxTQw0BhjxjSVP7JPukuJtfzzP46KSl/aP/qtZhdeIgZaHLm8H?=
 =?us-ascii?Q?oPhkqZsRosqicPQJuAVhA7VCzdIfHOuqWrcu0XYL1C9VSifwU5d90NWH5kJf?=
 =?us-ascii?Q?3UhweGUmJdKzuHYkrzuTs4t+klW1UlY++B0o31+zdYWjNgLVgw+PcCg5gF1n?=
 =?us-ascii?Q?7Oe3Cua/UExQLUU/bkZm6nmYJcfA/skrz8mCZmQHvXIsMOd9TbQLqXReXdvq?=
 =?us-ascii?Q?vuxr1PK/02JCk4PlNtRmppfdU6ZtHE8vPKbY+NQr9PxpumahLzL4dfWwQuaO?=
 =?us-ascii?Q?MVP/18Vfo2KZGcJ2nJmWM9FT9CpExmMm6JMcHQHmwAMFgrRyERP/cv4ZxNve?=
 =?us-ascii?Q?PwjFMlDGJBtNDlPDTm7ceylrd4eJ80YoAYYLq04ZtMNt5WVc5imKUVMKbRM1?=
 =?us-ascii?Q?q74rcZrrPAv6i7ebEgzmMw8QphtaV4XvEWdCm1H5sjTFKP1JMSyeRLyEtt/n?=
 =?us-ascii?Q?sdUlSj1Xcz0MmqZjTyVMYuQJld4PT5yR09vL0ZY9d+XfU/PAgPe+RstNAthC?=
 =?us-ascii?Q?Pw7gWIVF4f1J3izARyCnhdPKtVnY9gew+SoyVNhT8z9evn42nSZzjYi9c49A?=
 =?us-ascii?Q?RReVvBIlcm+Mzgu1KRwotFn1zR6NhlVjFDFnCEVhx9kk1AFD68yDxIACO2eP?=
 =?us-ascii?Q?lht61r1oF0dKPoQlGHnX3f8vRKZYpWVyxOEnXnEI4xclWlgRJO2Hpe6PQAeC?=
 =?us-ascii?Q?P3nuuhUUuyOfGI+yHaBNnC35oT0Y/NrRluiRWin9SwCYL0F6fOSUpwHXheK0?=
 =?us-ascii?Q?97B13b8cax1zab4uMvDmWQ2q0UAkkLgoz9GkGSpEXW6W3xiQERyOlM6aAaqt?=
 =?us-ascii?Q?frUmMswfkoQrF0fjNXB8M0RxU2cgM+660d92L7VPuEscX+jJvCKJy0syBPAu?=
 =?us-ascii?Q?j0mnxWO/1+8obb73bpy3+AqFI41f5hrdCJF6x3XB1ScV/ewDxCUFbrbF8the?=
 =?us-ascii?Q?R5BqEL32ufHuFNEdvHXBZHZB5j3x94d1M0BVr9nvAbLA1kG8dkkTPYfoeWyQ?=
 =?us-ascii?Q?iEXlc+ANSXCv42BIgy+7voMvMfPf1RQ7k9sRrKQWA+S4EolXE9r4CAtWA+SF?=
 =?us-ascii?Q?eGX2rrnnXMC0IOjuCNYslv4vilYg8PeEBsLp5fHGYkEhHtI4vUnuBwXasKMn?=
 =?us-ascii?Q?+I8sv/J1Oq3/8/FvT53O9hMWSm1iSdRKGI2AIlOVRHRIPitjIH2rJyRl0+6E?=
 =?us-ascii?Q?UWShjjRhZMQ1N/kneijbjd3hezhtiIrZt4QyEM66DLjZRSxnJR4CdHNbgzPs?=
 =?us-ascii?Q?mAJ+F92YEjrPW4mDUpqrs3Rv?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3d6874d3-e50d-4b22-9327-08d926a068d5
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2021 15:01:04.4538 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: tDCnEiMSnl2zpaSGDQgPw/yQFBUWJdtWhQw9T76WXC+OojzlaVZav2VpvBu/8ouuyY9zsfL0FrebO1zGtQ3VlQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4442
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10004
 signatures=668682
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0
 bulkscore=0 phishscore=0
 spamscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 suspectscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000
 definitions=main-2106030102
X-Proofpoint-GUID: 0j_OdZ9_mFiSJ8E0Dz1_TQmmoXCQqqe7
X-Proofpoint-ORIG-GUID: 0j_OdZ9_mFiSJ8E0Dz1_TQmmoXCQqqe7
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10004
 signatures=668682
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
 priorityscore=1501 mlxscore=0
 mlxlogscore=999 malwarescore=0 bulkscore=0 phishscore=0 lowpriorityscore=0
 clxscore=1011 impostorscore=0 adultscore=0 suspectscore=0 spamscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000
 definitions=main-2106030102
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 3466
Cc: "3466 <at> debbugs.gnu.org" <3466 <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 (---)

> > In the Lisp debugger (the one for `debug-on-entry' etc.), if you're
> > going along doing `d, d, d...', and you get to a Lisp macro, such as
> > `dolist', you must switch to `c' instead of `d', if you don't want to
> > drill down into the steps of the macro expansion itself.
> >
> > It would be good to be able to optionally have `d' skip over macro
> > expansions (that is, expand all at once, like `c' does). A new user
> > option could control this.
>=20
> I'm not quite sure I understand you here -- `c' evaluates (and skips)
> the entire expression, so you don't get to see what it's doing "inside"
> the macro.

You hit `d' once, to get into the macro, then `c' to get
the macro expansion (then d d d... to go on after the
expansion).

The point was only that at some point you need to hit `c'
if you don't want to do the macro expansion itself step
by step.

Here's an excerpt from a *Backtrace* that shows the macro
expansion: (let ((...))...).

Debugger entered--returning value: (let ((--dolist-tail-- (buffer-list)) b)=
 ...
  #f(compiled-function (arg1 &rest rest) "Loop over a list.\nEvaluate BODY =
with ...
* apply(#f(compiled-function (arg1 &rest rest) "Loop over a list.\nEvaluate=
 BODY ...
* cl--wrap-in-nil-block(#f(compiled-function (arg1 &rest rest) "Loop over a=
 list ...
* apply(cl--wrap-in-nil-block #f(compiled-function (arg1 &rest rest) "Loop =
over a ...
* #f(advice-wrapper :around #f(compiled-function (arg1 &rest rest) "Loop ov=
er a list...
* (dolist (b (buffer-list)) (message "Buf: %s" (buffer-name b)))
* (lambda nil (dolist (b (buffer-list)) (message "Buf: %s" (buffer-name b))=
))()
* apply((lambda nil (dolist (b (buffer-list)) (message "Buf: %s" (buffer-na=
me b)))) nil)
* foo()

At least that's what I think this was about (the bug was
reported 12 years ago).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#3466; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 3466) by debbugs.gnu.org; 3 Jun 2021 10:04:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 03 06:04:23 2021
Received: from localhost ([127.0.0.1]:42572 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lokD9-0002Um-7g
	for submit <at> debbugs.gnu.org; Thu, 03 Jun 2021 06:04:23 -0400
Received: from quimby.gnus.org ([95.216.78.240]:41640)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lokD8-0002UX-HW
 for 3466 <at> debbugs.gnu.org; Thu, 03 Jun 2021 06:04:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=YlGvFjBUBGQU+H34eG0gu7Q1pvLAYEJotggVOeAi47k=; b=rmqAa4WCkEV5xjAW3ee+W2DYKy
 Uv0uZm372f19aTkYsTx5IcablX5SR1QUsfM0CBFMpRzLJ4qOU4gn03eC5Jj99fDQZN2AWxRsRQBBT
 WWHTOYIl2DtIKoLAerixe7krYjXQtELYpUvTr+4jTmR3cbpDg9+BxyrJK1Jcot6idmFg=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lokCz-0000kN-Fn; Thu, 03 Jun 2021 12:04:15 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: "Drew Adams" <drew.adams@HIDDEN>
Subject: Re: bug#3466: 23.0.94; have `d' in debugger treat macro expansion
 like `c' does
References: <D2CB9F1AC75E49D4AF5E110712196A56@HIDDEN>
X-Now-Playing: Little Simz's _Grey Area_: "Offence"
Date: Thu, 03 Jun 2021 12:04:12 +0200
In-Reply-To: <D2CB9F1AC75E49D4AF5E110712196A56@HIDDEN> (Drew Adams's
 message of "Wed, 3 Jun 2009 14:44:00 -0700")
Message-ID: <87pmx3463n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  "Drew Adams" <drew.adams@HIDDEN> writes: > In the Lisp
 debugger (the one for `debug-on-entry' etc.), if you're > going along doing
 `d, d, d...', and you get to a Lisp macro, such as > `dolist', you must switch
 to `c' instead of `d', if you d [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 3466
Cc: 3466 <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: -1.7 (-)

"Drew Adams" <drew.adams@HIDDEN> writes:

> In the Lisp debugger (the one for `debug-on-entry' etc.), if you're
> going along doing `d, d, d...', and you get to a Lisp macro, such as
> `dolist', you must switch to `c' instead of `d', if you don't want to
> drill down into the steps of the macro expansion itself.
>
> It would be good to be able to optionally have `d' skip over macro
> expansions (that is, expand all at once, like `c' does). A new user
> option could control this.

I'm not quite sure I understand you here -- `c' evaluates (and skips)
the entire expression, so you don't get to see what it's doing "inside"
the macro.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#3466; Package emacs. Full text available.
Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd@HIDDEN> to control@HIDDEN. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 3 Jun 2009 21:44:12 +0000
From drew.adams@HIDDEN Wed Jun  3 14:44:12 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n53Li80c019380
	for <submit@HIDDEN>; Wed, 3 Jun 2009 14:44:09 -0700
Received: from mail.gnu.org ([199.232.76.166]:60675 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <drew.adams@HIDDEN>)
	id 1MByFj-0000NI-NK
	for emacs-pretest-bug@HIDDEN; Wed, 03 Jun 2009 17:44:07 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <drew.adams@HIDDEN>)
	id 1MByFi-00074g-BB
	for emacs-pretest-bug@HIDDEN; Wed, 03 Jun 2009 17:44:07 -0400
Received: from rcsinet12.oracle.com ([148.87.113.124]:56387 helo=rgminet12.oracle.com)
	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <drew.adams@HIDDEN>)
	id 1MByFh-00074Y-Ud
	for emacs-pretest-bug@HIDDEN; Wed, 03 Jun 2009 17:44:06 -0400
Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117])
	by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n53Lhobx032455
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <emacs-pretest-bug@HIDDEN>; Wed, 3 Jun 2009 21:43:51 GMT
Received: from abhmt004.oracle.com (abhmt004.oracle.com [141.146.116.13])
	by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n53Li5VE016086
	for <emacs-pretest-bug@HIDDEN>; Wed, 3 Jun 2009 21:44:05 GMT
Received: from dradamslap1 (/130.35.178.194)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Wed, 03 Jun 2009 14:44:00 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
To: <emacs-pretest-bug@HIDDEN>
Subject: 23.0.94; have `d' in debugger treat macro expansion like `c' does
Date: Wed, 3 Jun 2009 14:44:00 -0700
Message-ID: <D2CB9F1AC75E49D4AF5E110712196A56@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AcnklGgBvuhGziWaRo6BGIrMFXY1Lg==
X-Source-IP: abhmt004.oracle.com [141.146.116.13]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090201.4A26EEA1.003D:SCFSTAT5015188,ss=1,fgs=0
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1)

Feature request -
 
In the Lisp debugger (the one for `debug-on-entry' etc.), if you're
going along doing `d, d, d...', and you get to a Lisp macro, such as
`dolist', you must switch to `c' instead of `d', if you don't want to
drill down into the steps of the macro expansion itself.
 
It would be good to be able to optionally have `d' skip over macro
expansions (that is, expand all at once, like `c' does). A new user
option could control this.
 
[Alternatively, we could have a different key from `d', say `s' (for
"step"), that does this always - does what `d' does except for macros,
where it does what `c' does. But I suspect a user option would be
sufficient - you probably either want to do this all the time or you
don't (no need for two different stepping keys).]
 
With the alternative behavior, in `dolist', for example, you would
step through the function calls, using `d', and automatically skip
over the macro expansions, also using `d'. There are two macro
expansions for `dolist': #[(spec &rest body) "...] for `dolist' itself
and #[(name &rest body) "...] for `block'. No need to switch from `d'
to `c' for those expansions. In something like `dolist', you typically
just want to get quickly to the loop iterations.
 
Using the debugger with things like `dolist' (which I've been doing
for years) is a pain, compared to using the debugger with, say,
`while'. It's almost enough of a pain to make one avoid using `dolist'
and such.
 
In GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600)
 of 2009-05-24 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
 




Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3466; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 2 Jul 2021 11:30:02 UTC

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