emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH]: Re: Early backtrace.


From: Alan Mackenzie
Subject: Re: [PATCH]: Re: Early backtrace.
Date: Wed, 2 Feb 2022 20:38:55 +0000

Hello, Stefan.

On Tue, Feb 01, 2022 at 22:36:39 -0500, Stefan Monnier wrote:
> >> Could we make `debug-early` the default/initial value of `debugger` in
> >> the C code, so that reloading `debug-early.el` can be done safely?

> > I'm not sure what you're asking here.  Do you mean set Vdebugger to
> > debug-early in syms_of_eval?

> Yes.

OK, I've done this.

> > How would that make reloading debug-early.el safe?

> Because then `debug-early.el` wouldn't have a `setq` at top-level so you
> could reload it in a normal Emacs session without having the unfortunate
> side-effect of setting `debugger` back to `debug-early`.

> IOW it would make `debug-early.el` better follow the convention that
> loading an ELisp file should have "no" effect.

OK.  I've now committed this change.

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]