GNU bug report logs - #938
23.0.60; debug-on-error sometimes fails to debug on error

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Mon, 8 Sep 2008 23:40:04 UTC

Severity: normal

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: 938 <at> debbugs.gnu.org
Subject: bug#938: 23.0.60; debug-on-error sometimes fails to debug on error
Date: Sun, 11 Sep 2011 19:45:56 +0200
Markus Triska <markus.triska <at> gmx.at> writes:

> In emacs -Q, when I evaluate the forms:
>
>    (defun my-err ()
>      (error "Err"))
>
>    (toggle-debug-on-error)   
>
>    (add-hook 'post-command-hook 'my-err)
>
> I get:
>
>    Error in post-command-hook: (error Err)
>
> and do not see the debugger.

I'm not sure this is a bug or a feature.  Having `post-command-hook'
actually throw up a debugging window would make Emacs almost unusable,
wouldn't it?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.