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:28:47 -0400 Message-ID: References: <4qr4rox4t5.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1343950178 22951 80.91.229.3 (2 Aug 2012 23:29:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2012 23:29:38 +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:29:39 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 1Sx4pi-0004jJ-Bf for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2012 01:29:34 +0200 Original-Received: from localhost ([::1]:50276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx4ph-0004gh-Ix for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2012 19:29:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx4pe-0004g7-Mh for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:29:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sx4pd-0006xl-Bg for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:29:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx4pd-0006xh-99 for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:29:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sx4wv-0002yb-NY for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 19:37:01 -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:37:01 +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: unreproducible moreinfo Original-Received: via spool by 12068-submit@debbugs.gnu.org id=B12068.134395058311382 (code B ref 12068); Thu, 02 Aug 2012 23:37:01 +0000 Original-Received: (at 12068) by debbugs.gnu.org; 2 Aug 2012 23:36:23 +0000 Original-Received: from localhost ([127.0.0.1]:57709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx4wJ-0002xW-EX for submit@debbugs.gnu.org; Thu, 02 Aug 2012 19:36:23 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:51040) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx4wH-0002xP-Kg for 12068@debbugs.gnu.org; Thu, 02 Aug 2012 19:36:22 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sx4oy-0006Yb-2v; Thu, 02 Aug 2012 19:28:48 -0400 X-Spook: e-bomb HAMASMOIS Dick Cheney Blowfish Baranyi keyhole X-Ran: cXHqn]P[lW3NdZRZ_-m.q.5HLVt:>~<'m#2:|G23n (Glenn Morris's message of "Thu, 02 Aug 2012 19:16:54 -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:62771 Archived-At: Maybe you mean, put the error after the customization section. The custom block does get put at the end of .emacs when first created. An equivalent scenario would be: cat ~/.emacs (setq debug-on-error nil) (error "foo") There's no good solution to that other than "don't do that then". Except maybe have a really-debug-on-error variable that overrides debug-on-error and is only settable by --debug-init. But it seems like pointless complexity to me. I assume debug-on-error is customizable for people who want to set it non-nil. I can't imagine many will customize it to nil.