all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Function error always enters the debugger
@ 2006-02-28  6:50 Davin Pearson
  2006-02-28 13:44 ` Johan Bockgård
  2006-03-05 21:48 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Davin Pearson @ 2006-02-28  6:50 UTC (permalink / raw)


I tried to send this message to bug-gnu-emacs@gnu.org
but it bounced (dislikes gmail ?)  Does anyone
know why it bounced?

so I am resending it to the newsgroup.

----------------------------------------------------------------------------------
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing
list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600)
 of 2004-03-11 on NYAUMO
configured using `configure --with-gcc (3.2)'
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: ENZ
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have recently started using Emacs version 21.3 after a long period
with Emacs 20.7.  When I execute the following sexp:

(error "foo")

It always enters the debugger, irrespective of the value of
debug-on-error

I worked out a way of disabling this behaviour:

(defadvice error (before fix-bug activate)
  (setq debug-on-error nil))

This works but I would like to know why the problem arose in the first
place!


Recent input:
<down> <down> <return> <end> <up> <delete> <end> <delete>
<down> <next> <end> <return> <return> <return> C-y
<up> <up> <delete> <delete> <down> <delete> <delete>
<up> <end> <up> <left> <left> <down> <down> <S-left>
<S-left> <S-right> <right> n i l <S-delete> <S-delete>
<S-delete> <S-delete> <end> <f2> <f11> <up> <up> <up>
<up> <up> <up> <S-left> <f2> <f11> <down> <down> <down>
<down> <down> <home> C-k C-k C-y <help-echo> M-x s
u b m i <tab> t <S-backspace> C-h a b u g <return>
<C-tab> C-s r e p o r t C-s C-s C-s <home> <C-tab>
<f4> M-x r e p o <tab> r <tab> <return>

Recent messages:
(No files need saving)
ad-Orig-error: smeg
Mark set
my-shift-backspace:
Text is read-only
call-interactively: Quit
Loading apropos...done
Mark saved where search started
Making completion list...
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Function error always enters the debugger
  2006-02-28  6:50 Function error always enters the debugger Davin Pearson
@ 2006-02-28 13:44 ` Johan Bockgård
  2006-03-05 21:48 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Johan Bockgård @ 2006-02-28 13:44 UTC (permalink / raw)


"Davin Pearson" <davin.pearson@gmail.com> writes:

> When I execute the following sexp:
>
> (error "foo")
>
> It always enters the debugger, irrespective of the value of
> debug-on-error

Please read C-h v debug-on-error

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Function error always enters the debugger
  2006-02-28  6:50 Function error always enters the debugger Davin Pearson
  2006-02-28 13:44 ` Johan Bockgård
@ 2006-03-05 21:48 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2006-03-05 21:48 UTC (permalink / raw)


> I have recently started using Emacs version 21.3 after a long period
> with Emacs 20.7.

Try C-h N
I know it's longish, but it's worth reading and answers your question.


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-05 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28  6:50 Function error always enters the debugger Davin Pearson
2006-02-28 13:44 ` Johan Bockgård
2006-03-05 21:48 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.