From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.help Subject: Re: Debugging Elisp Date: Sun, 26 May 2013 21:12:12 +0200 Organization: Sebastien Vauban Message-ID: <86mwrhzhbn.fsf@somewhere.org> References: <51a08001$0$32589$862e30e2@ngroups.net> <87wqqnjhrw.fsf@kuiper.lan.informatimago.com> <86ehcu28br.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369617277 14632 80.91.229.3 (27 May 2013 01:14:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 May 2013 01:14:37 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Mon May 27 03:14:37 2013 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 1Ugm1F-00007R-Jh for geh-help-gnu-emacs@m.gmane.org; Mon, 27 May 2013 03:14:37 +0200 Original-Received: from localhost ([::1]:39794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ugm1F-0000aT-68 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 May 2013 21:14:37 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Injection-Info: mx05.eternal-september.org; posting-host="6f05eaee171434c896d44feeaf7179f0"; logging-data="2345"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX19Ybqq4H5p+ZtsxTb2lNRlp" User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:66XuYPdhPMEKw7NhXcVS1ZUm2s8= sha1:Md1lseoAb8mCFmqANxrT9xsMN5w= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.help:198813 X-Mailman-Approved-At: Sun, 26 May 2013 21:13:57 -0400 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:91082 Archived-At: Hello Stefan, Stefan Monnier wrote: >> What you say here resonates to me. I have the impression (from pragmatic >> observations) that `toggle-debug-on-error' just shows the next first error, >> then none. While `M-: (setq debug-on-error t)' will work forever. > > You misunderstood: toggle-debug-on-error is exactly the same as setting > via setq or set-variable. What Pascal was referring to is that errors > that occur while running post-command-hook cause the corresponding > function to be removed from the hook (to try and prevent the error from > occurring over and over again), so such errors tend to "occur only once". Thanks for putting me right on tracks, then. I don't think I've dreamed, though. Next time I need to track down some error, and get a backtrace, I'll be much more careful for testing, and report anything I would consider as being wrong. Up to that point, then, I'm presumed to be wrong. Best regards, Seb -- Sebastien Vauban