* bug#938: 23.0.60; debug-on-error sometimes fails to debug on error
@ 2008-09-08 23:29 Markus Triska
2011-09-11 17:45 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Markus Triska @ 2008-09-08 23:29 UTC (permalink / raw)
To: emacs-pretest-bug
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#938: 23.0.60; debug-on-error sometimes fails to debug on error
2008-09-08 23:29 bug#938: 23.0.60; debug-on-error sometimes fails to debug on error Markus Triska
@ 2011-09-11 17:45 ` Lars Magne Ingebrigtsen
2011-09-25 21:45 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11 17:45 UTC (permalink / raw)
To: Markus Triska; +Cc: 938
Markus Triska <markus.triska@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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#938: 23.0.60; debug-on-error sometimes fails to debug on error
2011-09-11 17:45 ` Lars Magne Ingebrigtsen
@ 2011-09-25 21:45 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-25 21:45 UTC (permalink / raw)
To: Markus Triska; +Cc: 938
Lars Magne Ingebrigtsen <larsi@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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-25 21:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 23:29 bug#938: 23.0.60; debug-on-error sometimes fails to debug on error Markus Triska
2011-09-11 17:45 ` Lars Magne Ingebrigtsen
2011-09-25 21:45 ` Lars Magne Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).