From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: How do I debug errors in post-command-hook? Date: Fri, 30 Jul 2010 13:58:59 +0200 Message-ID: <87vd7xxjss.fsf@gnu.org> References: <201007292230.58883.tassilo@member.fsf.org> <87wrsdq151.fsf@gnu.org> <201007300854.31902.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280492233 24056 80.91.229.12 (30 Jul 2010 12:17:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 12:17:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 30 14:17:12 2010 Return-path: Envelope-to: ged-emacs-devel@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 1OeoWT-0002yP-3v for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 14:17:09 +0200 Original-Received: from localhost ([127.0.0.1]:59611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeoWS-0005FU-8Q for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 08:17:08 -0400 Original-Received: from [140.186.70.92] (port=50722 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeoSw-0002mg-Gd for emacs-devel@gnu.org; Fri, 30 Jul 2010 08:13:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeoEw-0005Tb-2k for emacs-devel@gnu.org; Fri, 30 Jul 2010 07:59:02 -0400 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]:46272) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeoEv-0005TL-S0 for emacs-devel@gnu.org; Fri, 30 Jul 2010 07:59:02 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id 99D0CE9E25 for ; Fri, 30 Jul 2010 13:59:00 +0200 (CEST) X-SENDER-IP: [85.228.205.229] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsZQAGNbUkxV5M3lPGdsb2JhbACDFIRSi1mMVwwBAQEBNS2tYZFIgSaDIHME X-IronPort-AV: E=Sophos;i="4.55,286,1278280800"; d="scan'208";a="112707111" Original-Received: from c-e5cde455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.205.229]) by ipb1.telenor.se with ESMTP; 30 Jul 2010 13:59:00 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id 8654C484649; Fri, 30 Jul 2010 13:58:59 +0200 (CEST) Mail-Copies-To: never In-Reply-To: <201007300854.31902.tassilo@member.fsf.org> (Tassilo Horn's message of "Fri, 30 Jul 2010 08:54:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128014 Archived-At: Tassilo Horn writes: > On Friday 30 July 2010 02:11:38 Johan Bockg=C3=A5rd wrote: > > Hi Johan, > >> (defadvice lusty--post-command-function (around intercept activate) >> (condition-case err >> ad-do-it >> ;; Let the debugger run >> ((debug error) (signal (car err) (cdr err))))) > > That didn't enter the debugger. You need to turn on debug-on-error.