From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: disable debug-on-error in emacs -Q? Date: Tue, 01 Dec 2015 10:54:34 -0600 Message-ID: <864mg2rtx1.fsf@stephe-leake.org> References: <86zixusm0g.fsf@stephe-leake.org> <87fuzmfv1q.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448988937 6596 80.91.229.3 (1 Dec 2015 16:55:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2015 16:55:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 01 17:55:26 2015 Return-path: Envelope-to: ged-emacs-devel@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 1a3oD5-0001PY-Nd for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 17:55:23 +0100 Original-Received: from localhost ([::1]:53744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3oD5-0007U9-6U for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 11:55:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3oCY-0007Qm-7i for emacs-devel@gnu.org; Tue, 01 Dec 2015 11:54:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3oCT-0000hz-Tp for emacs-devel@gnu.org; Tue, 01 Dec 2015 11:54:50 -0500 Original-Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:43474) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1a3oCT-0000hu-M0 for emacs-devel@gnu.org; Tue, 01 Dec 2015 11:54:45 -0500 Original-Received: (qmail 22546 invoked by uid 0); 1 Dec 2015 16:54:43 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy1.mail.unifiedlayer.com with SMTP; 1 Dec 2015 16:54:43 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw4 with id oGue1r00j2UdiVW01GuhlH; Tue, 01 Dec 2015 09:54:43 -0700 X-Authority-Analysis: v=2.1 cv=IekUBwaa c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=wUQvQvOEmiQA:10 a=tBb2bbeoAAAA:8 a=dlHsiLhQJAakWlbl0pwA:9 Original-Received: from [76.218.37.33] (port=64216 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1a3oCM-0002WJ-Ns; Tue, 01 Dec 2015 09:54:38 -0700 In-Reply-To: <87fuzmfv1q.fsf@igel.home> (Andreas Schwab's message of "Tue, 01 Dec 2015 09:10:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.25.95 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195686 Archived-At: Andreas Schwab writes: > Stephen Leake writes: > >> But when I start emacs with -Q, it _always_ enters the debugger when the >> error is signaled, > > Which version? I've tried Emacs 24.5 and emacs-25 branch, on Windows/MinGW64 and Debian on VMWare/Windows. > Where do you get the error? I'm testing with: (+ "foo" 2) evaluated in the scratch buffer with C-j. Same result evaluating via M-:. > Emacs doesn't behave differently with -Q in this respect. It does for me. With just "emacs", the above puts an error message in *Messages* if `debug-on-error' is nil. With "emacs -Q", it opens the *Backtraces* buffer independent of `debug-on-error'. I found a workaround; eval the expression once to get *Backtraces*. Then eval it again without quiting the debugger; that gives the error message. -- -- Stephe