From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#12068: 24.1; customizing debug-on-error to nil disables --debug-init Date: Thu, 02 Aug 2012 19:16:54 -0400 Message-ID: <4qr4rox4t5.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1343949454 18155 80.91.229.3 (2 Aug 2012 23:17:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2012 23:17:34 +0000 (UTC) Cc: 12068@debbugs.gnu.org To: Dave Abrahams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 01:17:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sx4e6-0001A6-2H for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2012 01:17:34 +0200 Original-Received: from localhost ([::1]:48879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx4e5-0002zt-C9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2012 19:17:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx4e2-0002zd-Vs for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:17:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sx4e2-0003a9-2h for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:17:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx4e1-0003a5-Ve for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:17:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sx4lK-0001qi-G3 for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Aug 2012 23:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12068-submit@debbugs.gnu.org id=B12068.13439498717065 (code B ref 12068); Thu, 02 Aug 2012 23:25:02 +0000 Original-Received: (at 12068) by debbugs.gnu.org; 2 Aug 2012 23:24:31 +0000 Original-Received: from localhost ([127.0.0.1]:57685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx4ko-0001pt-US for submit@debbugs.gnu.org; Thu, 02 Aug 2012 19:24:31 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:50866) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx4km-0001pm-FF for 12068@debbugs.gnu.org; Thu, 02 Aug 2012 19:24:29 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sx4dS-0005tJ-5V; Thu, 02 Aug 2012 19:16:54 -0400 X-Spook: codes domestic disruption PET counter terrorism Bruxelles X-Ran: D0Bkc8\e~$E\0&@gVW=!:bYd:y)6a=Qg|~b<9rHK@A|`ra$KggD3y'i X-Hue: red X-Attribution: GM In-Reply-To: (Dave Abrahams's message of "Fri, 27 Jul 2012 10:10:18 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62770 Archived-At: 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.