From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3466: 23.0.94; have `d' in debugger treat macro expansion like `c' does Date: Wed, 3 Jun 2009 14:44:00 -0700 Message-ID: Reply-To: Drew Adams , 3466@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244066301 30339 80.91.229.12 (3 Jun 2009 21:58:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jun 2009 21:58:21 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 03 23:58:17 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MByTQ-00082K-5R for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2009 23:58:16 +0200 Original-Received: from localhost ([127.0.0.1]:36431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MByTK-0003Qo-Ly for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2009 17:58:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBySb-0002m1-M4 for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 17:57:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBySY-0002jv-1U for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 17:57:25 -0400 Original-Received: from [199.232.76.173] (port=60087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBySX-0002jZ-CU for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 17:57:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45053) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBySW-00019d-I3 for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 17:57:20 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n53LvIJY021312; Wed, 3 Jun 2009 14:57:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n53Lo4Yp020103; Wed, 3 Jun 2009 14:50:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 03 Jun 2009 21:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3466 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124406545219385 (code B ref -1); Wed, 03 Jun 2009 21:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 3 Jun 2009 21:44:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 ; Wed, 3 Jun 2009 14:44:09 -0700 Original-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 ) id 1MByFj-0000NI-NK for emacs-pretest-bug@gnu.org; Wed, 03 Jun 2009 17:44:07 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MByFi-00074g-BB for emacs-pretest-bug@gnu.org; Wed, 03 Jun 2009 17:44:07 -0400 Original-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 ) id 1MByFh-00074Y-Ud for emacs-pretest-bug@gnu.org; Wed, 03 Jun 2009 17:44:06 -0400 Original-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 ; Wed, 3 Jun 2009 21:43:51 GMT Original-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 ; Wed, 3 Jun 2009 21:44:05 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 03 Jun 2009 14:44:00 -0700 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) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 03 Jun 2009 17:57:25 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28466 gmane.emacs.pretest.bugs:24562 Archived-At: 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)'