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: random predicate function Date: Wed, 15 Dec 2010 10:04:24 -0800 Message-ID: References: <87mxo9r8xg.fsf@kuiper.lan.informatimago.com><87r5dlmw4a.fsf@lifelogs.com><8762uxr2cc.fsf@kuiper.lan.informatimago.com><8739pz144d.fsf@lifelogs.com><8739pzysey.fsf@kuiper.lan.informatimago.com> <87bp4nx9y8.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292436623 29527 80.91.229.12 (15 Dec 2010 18:10:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2010 18:10:23 +0000 (UTC) To: "'Ted Zlatanov'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 15 19:10:19 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSvnO-0002Du-BB for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 19:10:14 +0100 Original-Received: from localhost ([127.0.0.1]:43896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSvnJ-0003H9-G3 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 13:09:41 -0500 Original-Received: from [140.186.70.92] (port=49519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSvid-0001SQ-TS for help-gnu-emacs@gnu.org; Wed, 15 Dec 2010 13:04:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSvia-0004t9-PK for help-gnu-emacs@gnu.org; Wed, 15 Dec 2010 13:04:49 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:26107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSvia-0004so-Hg for help-gnu-emacs@gnu.org; Wed, 15 Dec 2010 13:04:48 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBFI4jko010705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Dec 2010 18:04:47 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBFI0iup006281; Wed, 15 Dec 2010 18:04:43 GMT Original-Received: from abhmt008.oracle.com by acsmt355.oracle.com with ESMTP id 856902141292436264; Wed, 15 Dec 2010 10:04:24 -0800 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 15 Dec 2010 10:04:24 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87bp4nx9y8.fsf@lifelogs.com> Thread-Index: AcucfyJGdbA4KYIsTGWM00b2leE/5wAAB/cQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77566 Archived-At: > We're talking about GNU Emacs specifically. Have you debugged macros > there? They are definitely not as intuitive as functions in > the debugger. Debug macros using `macroexpand', not the debugger. (Just a suggestion.) In the Emacs debugger (`debug', not `edebug'), assuming that a macro does not itself need to be debugged, I typically hit `c' (instead of `d') to skip over the details of its expansion. In fact, I would prefer it if `d' did the same thing as `c' for a macro, and a new key were available to do what `d' does now for macros. A typical example is `dolist' in the debugger. I hit `c' as soon as I see `#[' instead of a function name. For `dolist' you need to do that twice: once for `dolist' and once for its `block'.