GNU logs - #26847, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#26847: 26.0.50; Using edebug-step-in on a macro switches to go-mode
Resent-From: Gemini Lasswell <gazally@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 08 May 2017 21:08:01 +0000
Resent-Message-ID: <handler.26847.B.14942776311567 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 26847
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 26847 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14942776311567
          (code B ref -1); Mon, 08 May 2017 21:08:01 +0000
Received: (at submit) by debbugs.gnu.org; 8 May 2017 21:07:11 +0000
Received: from localhost ([127.0.0.1]:60323 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d7ps7-0000PC-E4
	for submit <at> debbugs.gnu.org; Mon, 08 May 2017 17:07:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gazally@HIDDEN>) id 1d7ps5-0000P0-6Z
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 17:07:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gazally@HIDDEN>) id 1d7prz-00066u-8o
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 17:07:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54813)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <gazally@HIDDEN>) id 1d7prz-00066q-5V
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 17:07:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51221)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gazally@HIDDEN>) id 1d7pry-0003Jb-4v
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 17:07:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gazally@HIDDEN>) id 1d7pru-00065q-6M
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 17:07:02 -0400
Received: from aibo.runbox.com ([91.220.196.211]:34182)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <gazally@HIDDEN>) id 1d7prt-00065d-SJ
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 17:06:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=rbselector1;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; 
 bh=TTdVnv9u7y92YJcCCnEDMkj2iVjPdekM/XYSXR+EEpI=; b=DW25rNVmaYRQXLG40T/v2suGC
 Ds7l8S6Q/JX1F8uXgvPAmTdCbYZLssdLLJcCmxh2bTZumQaKjWWqWy3amAGFBremFyA+XMSFybEGJ
 P9upIa4EW5TeNMg0p4x/J9N6F7QfBj2CV/oG6fqbpnSUIi8Y6aep0c9cFzk0IZt0kxD4tdcwYeKik
 G6ea4uwyhJPD5wbilEupJfh2jvrSuumCfD6+e2KKJIXFfqTs5GOe0n6v9CLg74wEHgwVjaGIUyuzD
 Dr44vjymAs8CcaOHaekXFC+FCUuPW5Hy7Zlj3Kn5LQ+7F0M35F9Tpi+eY/oTrc87XSiRdN2/nxIUk
 hvIPxnF+A==;
Received: from [10.9.9.211] (helo=mailfront11.runbox.com)
 by mailtransmit03.runbox with esmtp (Exim 4.86_2)
 (envelope-from <gazally@HIDDEN>) id 1d7prp-0003Nf-S1
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 23:06:53 +0200
Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161]
 helo=chinook) by mailfront11.runbox.com with esmtpsa (uid:179284 )
 (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1d7prd-0006sL-Hy
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 23:06:41 +0200
From: Gemini Lasswell <gazally@HIDDEN>
Date: Mon, 08 May 2017 14:06:21 -0700
Message-ID: <87vapb12k2.fsf@chinook>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
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: -4.1 (----)

edebug-step-in doesn't behave well when you try to use it on a
macro. For an example, enter the following code in *scratch*:
  
(setq my-things nil)
(defun my-try-thing (thing)
  (push thing my-things))

Then:

M-x eval-buffer RET
navigate to my-try-thing and C-u C-M-x
M-: (my-try-thing 'a) RET
i

Result: Edebug exits and code runs to completion, result printed in
minibuffer.

Then navigate to my-try-thing again and C-M-x

Result: Edebug activates with the debugger prompt in `push'.

Stepping into macros would have made sense before eager
macro-expansion, but now by the time Edebug instruments the code the
macro has already run. Probably the simplest thing to do here is to
have edebug-step-in signal an error if asked to step into a macro. The
documentation for edebug-step-in also should be updated to remove
mention of stepping into macros.




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: Gemini Lasswell <gazally@HIDDEN>
Subject: bug#26847: Acknowledgement (26.0.50; Using edebug-step-in on a
 macro switches to go-mode)
Message-ID: <handler.26847.B.14942776311567.ack <at> debbugs.gnu.org>
References: <87vapb12k2.fsf@chinook>
X-Gnu-PR-Message: ack 26847
X-Gnu-PR-Package: emacs
Reply-To: 26847 <at> debbugs.gnu.org
Date: Mon, 08 May 2017 21:08:02 +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 26847 <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
26847: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26847
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#26847: 26.0.50; Using edebug-step-in on a macro switches to go-mode
Resent-From: Dmitry Gutov <dgutov@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 09 May 2017 22:24:01 +0000
Resent-Message-ID: <handler.26847.B26847.14943686355214 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 26847
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Gemini Lasswell <gazally@HIDDEN>, 26847 <at> debbugs.gnu.org
Received: via spool by 26847-submit <at> debbugs.gnu.org id=B26847.14943686355214
          (code B ref 26847); Tue, 09 May 2017 22:24:01 +0000
Received: (at 26847) by debbugs.gnu.org; 9 May 2017 22:23:55 +0000
Received: from localhost ([127.0.0.1]:34724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d8DXu-0001M1-Qt
	for submit <at> debbugs.gnu.org; Tue, 09 May 2017 18:23:54 -0400
Received: from mail-wr0-f196.google.com ([209.85.128.196]:34485)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1d8DXs-0001Lo-Nf
 for 26847 <at> debbugs.gnu.org; Tue, 09 May 2017 18:23:53 -0400
Received: by mail-wr0-f196.google.com with SMTP id 6so3685164wrb.1
 for <26847 <at> debbugs.gnu.org>; Tue, 09 May 2017 15:23:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=1U0JoRmbKiMFh/vPlsi05o00YLgQ67i/8yHD+YfCgws=;
 b=gU/wm3lecjM3cRVVIQvWdyyXrVUaOrjn1Vznb1RLuHp3GNUpKWdnhZXWnIxcvaoCj5
 jzk8+odX6yZ+5y1Ei4YFiWZqtcNbKncvUhflU+ULqz3GvT5EBDrhnKLUjHzzszhqCtUZ
 x1Ug/RTBScegh7bPzVMEZX8omBNhvXSGRD/olqnmdObay7FkNaGSKfRekx+p2sBQDU4l
 uUKItDzPr0FVJ4MYLIRWfSc8FdTxR4VI64bi1tW8UJVusrJJGj3yjv7JhnpXRLcXem6c
 UQmsVEZ4Rub5PRSdssCsTZyYuWX4nHCkl5tlG8+T43ct1KwrZPWAyOE2+D9MffV35cju
 W2CQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=1U0JoRmbKiMFh/vPlsi05o00YLgQ67i/8yHD+YfCgws=;
 b=TGmmknx6c2LzZILGlmWHRAI+kdKHXOCiLpEEoodUqyB3vpy1k3wahqjH+ljvPwJ7DR
 MUp/qioIq4lgkbHoiLL941qDqx+4CBamF5CYDhR+Js5OEEgEt4HI/Zt2H45Q6cJ/HOqF
 1sLyFTPIRuIU3eXcfmObwG5pB9v8ZKjFlWuSz3dDklCMckfXnuZNKg4ixkhImQxY1hPx
 3HtAq6CfLKtm8Y4cae5CEbWcSKxBfdATIHykJxQL/t9hQ3e2iCJjzqD9tW4AD6F1xveH
 SSvLOXmwHlY+kYfPGQ13cN7sV5D7OOrChSGAsHDkKsbXkFFRqVTCnnZhIXUY6rhjmpAf
 cE+w==
X-Gm-Message-State: AODbwcATXFfIXUTSIyoVCMu0tccNhazzYbWO/dvvl+x1cU2Jtz+U2uMD
 J2YPapR0qvnp2gtASuQ=
X-Received: by 10.28.54.165 with SMTP id y37mr2419323wmh.29.1494368626659;
 Tue, 09 May 2017 15:23:46 -0700 (PDT)
Received: from [192.168.1.3] ([185.105.173.156])
 by smtp.googlemail.com with ESMTPSA id n49sm1411428wrn.30.2017.05.09.15.23.44
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 09 May 2017 15:23:45 -0700 (PDT)
References: <87vapb12k2.fsf@chinook>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <3aa02b7a-3031-73f3-a344-3a10f95d0171@HIDDEN>
Date: Wed, 10 May 2017 01:23:39 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101
 Thunderbird/53.0
MIME-Version: 1.0
In-Reply-To: <87vapb12k2.fsf@chinook>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.1 (--)
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: -2.1 (--)

On 09.05.2017 0:06, Gemini Lasswell wrote:

> Stepping into macros would have made sense before eager
> macro-expansion, but now by the time Edebug instruments the code the
> macro has already run. Probably the simplest thing to do here is to
> have edebug-step-in signal an error if asked to step into a macro. The
> documentation for edebug-step-in also should be updated to remove
> mention of stepping into macros.

Since nobody has complained about this problem by now, it's probably the 
easiest solution indeed.

However, I wonder if we could inhibit eager macro-expansion when a 
function is being instrumented by edebug. Its definition is being 
re-evaluated at that time, right?

I don't know if we have a good way to do that, though. Or if adding one 
ends up being easy to maintain.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#26847: 26.0.50; Using edebug-step-in on a macro switches to go-mode
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Oct 2019 21:42:01 +0000
Resent-Message-ID: <handler.26847.B26847.157160766831183 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 26847
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Gemini Lasswell <gazally@HIDDEN>
Cc: 26847 <at> debbugs.gnu.org
Received: via spool by 26847-submit <at> debbugs.gnu.org id=B26847.157160766831183
          (code B ref 26847); Sun, 20 Oct 2019 21:42:01 +0000
Received: (at 26847) by debbugs.gnu.org; 20 Oct 2019 21:41:08 +0000
Received: from localhost ([127.0.0.1]:55393 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMIwm-00086s-Gu
	for submit <at> debbugs.gnu.org; Sun, 20 Oct 2019 17:41:08 -0400
Received: from quimby.gnus.org ([80.91.231.51]:56688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iMIwl-00086l-Fx
 for 26847 <at> debbugs.gnu.org; Sun, 20 Oct 2019 17:41:08 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1iMIwi-0007xo-1C; Sun, 20 Oct 2019 23:41:06 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87vapb12k2.fsf@chinook>
Date: Sun, 20 Oct 2019 23:41:03 +0200
In-Reply-To: <87vapb12k2.fsf@chinook> (Gemini Lasswell's message of "Mon, 08
 May 2017 14:06:21 -0700")
Message-ID: <87sgnnccy8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Gemini Lasswell <gazally@HIDDEN> writes: > edebug-step-in
 doesn't behave well when you try to use it on a > macro. For an example,
 enter the following code in *scratch*: > > (setq my-things nil) > (defun
 my-try-thing (thing) > (push thing my [...] 
 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.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: -1.0 (-)

Gemini Lasswell <gazally@HIDDEN> writes:

> edebug-step-in doesn't behave well when you try to use it on a
> macro. For an example, enter the following code in *scratch*:
>
> (setq my-things nil)
> (defun my-try-thing (thing)
>   (push thing my-things))
>
> Then:
>
> M-x eval-buffer RET
> navigate to my-try-thing and C-u C-M-x
> M-: (my-try-thing 'a) RET
> i
>
> Result: Edebug exits and code runs to completion, result printed in
> minibuffer.

I'm unable to reproduce this in Emacs 27.  When I hit `i', I'm then
edebugging the `push' macro, and then I can step through it, and then
I'm back to stepping through my-try-thing.

Are you still seeing this bug in Emacs 27?

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




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


Received: (at control) by debbugs.gnu.org; 20 Oct 2019 21:41:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 20 17:41:15 2019
Received: from localhost ([127.0.0.1]:55396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMIws-00087E-Om
	for submit <at> debbugs.gnu.org; Sun, 20 Oct 2019 17:41:14 -0400
Received: from quimby.gnus.org ([80.91.231.51]:56704)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iMIwr-000875-84
 for control <at> debbugs.gnu.org; Sun, 20 Oct 2019 17:41:13 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iMIwo-0007xv-Ez
 for control <at> debbugs.gnu.org; Sun, 20 Oct 2019 23:41:12 +0200
Date: Sun, 20 Oct 2019 23:41:10 +0200
Message-Id: <87r237ccy1.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #26847
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:  tags 26847 + moreinfo quit 
 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.0 (/)
X-Debbugs-Envelope-To: control
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.0 (-)

tags 26847 + moreinfo
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#26847: 26.0.50; Using edebug-step-in on a macro switches to go-mode
Resent-From: Gemini Lasswell <gazally@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Oct 2019 05:20:02 +0000
Resent-Message-ID: <handler.26847.B26847.15716351719084 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 26847
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 26847 <at> debbugs.gnu.org
Received: via spool by 26847-submit <at> debbugs.gnu.org id=B26847.15716351719084
          (code B ref 26847); Mon, 21 Oct 2019 05:20:02 +0000
Received: (at 26847) by debbugs.gnu.org; 21 Oct 2019 05:19:31 +0000
Received: from localhost ([127.0.0.1]:55590 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMQ6M-0002MS-Sr
	for submit <at> debbugs.gnu.org; Mon, 21 Oct 2019 01:19:31 -0400
Received: from aibo.runbox.com ([91.220.196.211]:56430)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gazally@HIDDEN>) id 1iMQ6K-0002MH-F3
 for 26847 <at> debbugs.gnu.org; Mon, 21 Oct 2019 01:19:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=rbselector1;
 h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From;
 bh=J7rxhhseYiv3ZmfAkTC62AHP2hvixq27NL/PJGCa/Ew=; b=gDBBpzBl6a+a51/ykmh5ni7J9K
 0KNQGgNQw9IQMdkxfbHjPi7MP9x6Sv2AYE4CUtJRXpxB2SUZWWXz3GuRYCh3gyGaR2ynhiAFrUnvH
 fD5n1MJKr1DXBz6jGwVdg6Xx7SnSnQ3MbtABSGexP/KeADY0Yy8TIE/4AAFjD8yLyuD+PYkrZwI47
 dRkkLFg0SgX2XBoZLjKyAxdOc9a+HfLKNhNGDAetM5tDxqqH83mW4pmfzy6ZfS3qmd6cseRbtLaPy
 pqw3+dJf1EL7owfY2OKn1JtC458kTntrZH4vYjiiTHOWJH4WHOSNgr0+WT0ezQ2CYmc6iNPcJJik7
 iHNeOfWA==;
Received: from [10.9.9.202] (helo=mailfront20.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <gazally@HIDDEN>)
 id 1iMQ6I-0003Ic-48; Mon, 21 Oct 2019 07:19:26 +0200
Received: by mailfront20.runbox with esmtpsa [Authenticated alias (696087)]
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 id 1iMQ62-0006Yt-Uo; Mon, 21 Oct 2019 07:19:11 +0200
From: Gemini Lasswell <gazally@HIDDEN>
References: <87vapb12k2.fsf@chinook> <87sgnnccy8.fsf@HIDDEN>
Date: Sun, 20 Oct 2019 22:18:54 -0700
In-Reply-To: <87sgnnccy8.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sun,
 20 Oct 2019 23:41:03 +0200")
Message-ID: <8736fmd6bl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> I'm unable to reproduce this in Emacs 27.  When I hit `i', I'm then
> edebugging the `push' macro, and then I can step through it, and then
> I'm back to stepping through my-try-thing.
>
> Are you still seeing this bug in Emacs 27?

In Emacs 26, eager macro expansion happened when instrumenting code for
Edebug using eval-defun.  In current master, it's not getting done.
Looking at (symbol-function 'my-try-thing) in both versions will show
you the difference.

The lack of macroexpansion doesn't only happen when instrumenting for
Edebug.  If you evaluate a function definition with eval-buffer or
eval-last-sexp then macroexpansion is done, but if you evaluate it with
eval-defun with or without the universal argument, then no
macroexpansion happens. This is a change from Emacs 26, and is masking
the original bug.

If you use these steps to reproduce, with the same sample code:

M-x edebug-all-defs RET
M-x eval-buffer RET
M-: (my-try-thing 'a) RET
i

then the original bug still occurs.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#26847: 26.0.50; Using edebug-step-in on a macro switches to go-mode
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Oct 2019 19:36:02 +0000
Resent-Message-ID: <handler.26847.B26847.157168652612499 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 26847
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Gemini Lasswell <gazally@HIDDEN>
Cc: 26847 <at> debbugs.gnu.org
Received: via spool by 26847-submit <at> debbugs.gnu.org id=B26847.157168652612499
          (code B ref 26847); Mon, 21 Oct 2019 19:36:02 +0000
Received: (at 26847) by debbugs.gnu.org; 21 Oct 2019 19:35:26 +0000
Received: from localhost ([127.0.0.1]:57859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMdSg-0003FW-5j
	for submit <at> debbugs.gnu.org; Mon, 21 Oct 2019 15:35:26 -0400
Received: from quimby.gnus.org ([80.91.231.51]:50958)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iMdSe-0003FO-FR
 for 26847 <at> debbugs.gnu.org; Mon, 21 Oct 2019 15:35:24 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1iMdSa-0003qy-L6; Mon, 21 Oct 2019 21:35:23 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87vapb12k2.fsf@chinook> <87sgnnccy8.fsf@HIDDEN>
 <8736fmd6bl.fsf@HIDDEN>
Date: Mon, 21 Oct 2019 21:35:20 +0200
In-Reply-To: <8736fmd6bl.fsf@HIDDEN> (Gemini Lasswell's message of "Sun,
 20 Oct 2019 22:18:54 -0700")
Message-ID: <87lftdq4cn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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:  Gemini Lasswell <gazally@HIDDEN> writes: > If you use
 these steps to reproduce, with the same sample code: > > M-x edebug-all-defs
 RET > M-x eval-buffer RET > M-: (my-try-thing 'a) RET > i > > then the
 original bug still occurs. 
 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.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: -1.0 (-)

Gemini Lasswell <gazally@HIDDEN> writes:

> If you use these steps to reproduce, with the same sample code:
>
> M-x edebug-all-defs RET
> M-x eval-buffer RET
> M-: (my-try-thing 'a) RET
> i
>
> then the original bug still occurs.

Yup.

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




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


Received: (at control) by debbugs.gnu.org; 21 Oct 2019 19:35:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 21 15:35:35 2019
Received: from localhost ([127.0.0.1]:57862 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMdSp-0003Fw-G4
	for submit <at> debbugs.gnu.org; Mon, 21 Oct 2019 15:35:35 -0400
Received: from quimby.gnus.org ([80.91.231.51]:50986)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iMdSl-0003Fk-SK
 for control <at> debbugs.gnu.org; Mon, 21 Oct 2019 15:35:32 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iMdSj-0003r7-4E
 for control <at> debbugs.gnu.org; Mon, 21 Oct 2019 21:35:31 +0200
Date: Mon, 21 Oct 2019 21:35:28 +0200
Message-Id: <87k18xq4cf.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #26847
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:  tags 26847 + confirmed quit 
 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.0 (/)
X-Debbugs-Envelope-To: control
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.0 (-)

tags 26847 + confirmed
quit





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


Received: (at control) by debbugs.gnu.org; 21 Oct 2019 19:35:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 21 15:35:39 2019
Received: from localhost ([127.0.0.1]:57865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMdSs-0003GB-Ru
	for submit <at> debbugs.gnu.org; Mon, 21 Oct 2019 15:35:39 -0400
Received: from quimby.gnus.org ([80.91.231.51]:51006)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iMdSp-0003Fv-Op
 for control <at> debbugs.gnu.org; Mon, 21 Oct 2019 15:35:36 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iMdSm-0003rC-UE
 for control <at> debbugs.gnu.org; Mon, 21 Oct 2019 21:35:35 +0200
Date: Mon, 21 Oct 2019 21:35:32 +0200
Message-Id: <87imohq4cb.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #26847
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:  tags 26847 - moreinfo quit 
 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.0 (/)
X-Debbugs-Envelope-To: control
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.0 (-)

tags 26847 - moreinfo
quit






Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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