From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Is there a way to instrument for edebug a form (say, a progn) given to `eval'? Date: Mon, 4 Jan 2016 14:58:12 -0800 (PST) Message-ID: <66c6624a-4dea-4d1d-8c62-7eae109adfc5@default> References: <87k2nw866r.fsf@mbork.pl> <87wprv6e0f.fsf@web.de> <87mvslrn8q.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1451948332 21273 80.91.229.3 (4 Jan 2016 22:58:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2016 22:58:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Marcin Borkowski , Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 04 23:58:40 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aGE5H-0002DC-DF for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 23:58:39 +0100 Original-Received: from localhost ([::1]:47436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGE5D-0004rv-3n for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 17:58:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGE52-0004rp-F6 for help-gnu-emacs@gnu.org; Mon, 04 Jan 2016 17:58:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGE4x-0003z6-Bx for help-gnu-emacs@gnu.org; Mon, 04 Jan 2016 17:58:24 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:49556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGE4x-0003z2-4n for help-gnu-emacs@gnu.org; Mon, 04 Jan 2016 17:58:19 -0500 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u04MwGVN011725 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 22:58:17 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u04MwE2V010775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 22:58:14 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u04MwEKB006827; Mon, 4 Jan 2016 22:58:14 GMT In-Reply-To: <87mvslrn8q.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108606 Archived-At: > OK, so try C-u C-M-x with this form: > (eval '(progn (message "foo") (message "bar"))) > and see how Edebug doesn't step into the progn. >=20 > I suspect that it's impossible to actually edebug the `progn' form here, > I just would like to make sure. Well, as I said earlier, you can at least do this: (progn (debug) (eval '(progn (message "foo") (message "bar")))) or this: (eval '(progn (debug) (message "foo") (message "bar")))