From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#23660: Patch for (edebug doesn't support circular object read syntax) Date: Mon, 20 Feb 2017 14:39:00 -0500 Message-ID: <87h93oire3.fsf_-_@users.sourceforge.net> References: <877feai8ii.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487619499 5052 195.159.176.226 (20 Feb 2017 19:38:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2017 19:38:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 23660@debbugs.gnu.org To: Gemini Lasswell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 20 20:38:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cftmn-0000o2-CB for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Feb 2017 20:38:13 +0100 Original-Received: from localhost ([::1]:40684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cftmt-0003W5-AP for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Feb 2017 14:38:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cftmg-0003Un-Ae for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2017 14:38:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cftmc-00069L-Ka for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2017 14:38:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cftmc-00069H-GA for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2017 14:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cftmc-0003wL-9o for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2017 14:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2017 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23660 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23660-submit@debbugs.gnu.org id=B23660.148761947715131 (code B ref 23660); Mon, 20 Feb 2017 19:38:02 +0000 Original-Received: (at 23660) by debbugs.gnu.org; 20 Feb 2017 19:37:57 +0000 Original-Received: from localhost ([127.0.0.1]:47802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cftmX-0003vu-9j for submit@debbugs.gnu.org; Mon, 20 Feb 2017 14:37:57 -0500 Original-Received: from mail-oi0-f65.google.com ([209.85.218.65]:34885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cftmV-0003vb-D9; Mon, 20 Feb 2017 14:37:55 -0500 Original-Received: by mail-oi0-f65.google.com with SMTP id z13so2798100oig.2; Mon, 20 Feb 2017 11:37:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UsFk4HxotppfipJbCxV62pq5HOlUJMK7PjkjaeWToqQ=; b=gYbgNTfUefRInizNbk+rqlsx2ITH94gb8Y+e+LP3UU0bAixQm8GdUOcw3Jv3y6rR/v BcWGBOzRkVU5VSeWbE5rB5Jsx0uHBLunYH4EubO/1yjv8Ksyyglv3f/QHIXx1jIcWdp3 utrXeweI+m2iTeWUg46sBKST+90ePc3FXyHKRqkp5g4sD/xjOiJOl2f1/npO2XuE0nGR HBoUllXQbpp4rMja5r6GgCU5KDK1aUqaPEIEMTbnVVLFlmFp18eQKxzLZdnCIQhaUwV5 9iTcdmUIWRd9M9t0hkwG80izbUC/dyilQUyTaN6SqAKNPCRrXyVbmrmdWi+mViuj3GxE SSqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=UsFk4HxotppfipJbCxV62pq5HOlUJMK7PjkjaeWToqQ=; b=CO68fM9uIs10g5pRTpNTtXn4Q4A3EO5A5Vge1rNVJnEsmmwdOeXWDxgg/IVZpYsiyF fh6CYCvvvwOxr/QuDQ8kGQYEpUn1xF48W4lc/AKZGnS8dUjaR7ZdxsHZrg/8NzeVtmu2 hXuY1JFd0OGWEA9Kg7qsnxYANKChLuTm0je4MNtNYA95IpRBtewyNB28Zm1dxgPhQuCs /thKTjlJPAqg2K2bLtxZfloZasRmDIFMDUfISRiUAFQ5HtHvqh5dlo7EeskTQQVFgIDE r+XzcNWZbFb9AhufT6wNunFrX5gqoMq2oZYqGl17BBwzbzow6c3vYlu58brxJ+XzOL2y KzJg== X-Gm-Message-State: AMke39mDAlKaWM/72vPMNWAumP+Wuaq59MCaXBd/S/42zIHoMv5ErENu/3m/SV4zFmJpDA== X-Received: by 10.107.31.204 with SMTP id f195mr21133702iof.183.1487619469566; Mon, 20 Feb 2017 11:37:49 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id j14sm6023555itd.0.2017.02.20.11.37.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Feb 2017 11:37:48 -0800 (PST) In-Reply-To: (Gemini Lasswell's message of "Mon, 20 Feb 2017 10:33:36 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129591 Archived-At: tags 23660 patch quit Gemini Lasswell writes: > Here's a patch adding support for circular object read syntax to Edebug: Looks good, I will push to master in a few days. The main motivation (which I probably should have mentioned in the OP) is to step in macro expansions, e.g. after doing (setq print-circle t print-gensym t) (pcase '(1 2) (`(,a ,b) (+ a b))) expands to (if (consp #1='(1 2)) (let* ((#5=#:x (car #1#)) (#2=#:x (cdr #1#))) (if (consp #2#) (let* ((#4=#:x (car #2#)) (#3=#:x (cdr #2#))) (if (null #3#) (let ((b #4#) (a #5#)) (+ a b)) nil)) nil)) nil) With the patch, I can step through the latter nicely. Thanks!