GNU bug report logs -
#12068
24.1; customizing debug-on-error to nil disables --debug-init
Previous Next
Reported by: Dave Abrahams <dave <at> boostpro.com>
Date: Fri, 27 Jul 2012 14:18:01 UTC
Severity: minor
Tags: wontfix
Found in version 24.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 12068 <at> debbugs.gnu.org (full text, mbox):
Dave Abrahams wrote:
> If you happen to customize debug-on-error to nil and save it, and then
> something goes wrong at startup, running emacs with --debug-init has no
> apparent effect and you're stuck (at least, once the customizations have
> been read in).
I cannot reproduce this, and there is code in startup.el to handle this.
I tried:
cat ~/.emacs
(error "foo")
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(debug-on-error nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
If I use:
emacs --debug-init, I end up in the debugger's backtrace buffer.
This bug report was last modified 5 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.