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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 938 in the body.
You can then email your comments to 938 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#938; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <markus.triska <at> gmx.at>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Markus Triska <markus.triska <at> gmx.at>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; debug-on-error sometimes fails to debug on error
Date: Tue,  9 Sep 2008 01:29:54 +0200 (CEST)
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.


In GNU Emacs 23.0.60.11 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2008-09-02 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#938; Package emacs. (Wed, 18 Feb 2009 18:10:08 GMT) Full text and rfc822 format available.

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/




Added tag(s) notabug. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 25 Sep 2011 21:47:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 938 <at> debbugs.gnu.org and Markus Triska <markus.triska <at> gmx.at> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 25 Sep 2011 21:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#938; Package emacs. (Sun, 25 Sep 2011 21:52:08 GMT) Full text and rfc822 format available.

Message #16 received at 938 <at> debbugs.gnu.org (full text, mbox):

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

> 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?

So I think this is a feature, and not a bug, so I'm closing the report.

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Oct 2011 11:24:04 GMT) Full text and rfc822 format available.

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.