Chong Yidong <cyd@HIDDEN>to
control@HIDDEN. Full text available.
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 [18.104.22.168]) 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 ([22.214.171.124]: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 ([126.96.36.199]: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 [188.8.131.52]) 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 [184.108.40.206]) 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 (/220.127.116.11) 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 [18.104.22.168] 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 22.214.171.124 (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)'
"Drew Adams" <drew.adams@HIDDEN>:
Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
emacs. Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.