From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: disable debug-on-error in emacs -Q? Date: Tue, 1 Dec 2015 13:10:55 -0500 Message-ID: References: <86zixusm0g.fsf@stephe-leake.org> <87fuzmfv1q.fsf@igel.home> <864mg2rtx1.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1448993488 18581 80.91.229.3 (1 Dec 2015 18:11:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2015 18:11:28 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 01 19:11:27 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 1a3pOg-0006Xx-BM for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 19:11:26 +0100 Original-Received: from localhost ([::1]:54210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3pOf-00028R-Up for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 13:11:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3pOD-0001ow-B8 for emacs-devel@gnu.org; Tue, 01 Dec 2015 13:11:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3pOC-0008Kp-HQ for emacs-devel@gnu.org; Tue, 01 Dec 2015 13:10:57 -0500 Original-Received: from mail-ig0-x22a.google.com ([2607:f8b0:4001:c05::22a]:38882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3pOC-0008Kj-Dl for emacs-devel@gnu.org; Tue, 01 Dec 2015 13:10:56 -0500 Original-Received: by igbxm8 with SMTP id xm8so13135454igb.1 for ; Tue, 01 Dec 2015 10:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wDmReiJvnLr2BHnl7NLM9alFs/o5pq/fGetFgi5pF6U=; b=xwEoisJEQrQ7KNKpuzI7+rpQGF0UlG12Oe7e2ag33v7OeTg5WwfoWAiOMvEpMtL8Le JxATKl9Cku0wx7o5HaAkcAk6mlt01ivWMkemO9quMusR045xApbQS08QXI5/DOOO97sO mJLBT/ppQdvH1bzZqkdkGPlliLklGeK2DOxPn+9SxQ0K8BhrObplMK0DdHy2/yQtyls8 j/VMuPIeyzDSmD23+GOV+DbhJDASuOhFu3XVfG1hRuuFo40qlKldMCeBaeQdo2VWHiSI n1vZqnZmAhFbwYRicuVmqEF1Mgs7z0ra0D9FqvBsziY9HrSMb1E2Z8wv0oLWt+TeE1CR toWA== X-Received: by 10.50.12.98 with SMTP id x2mr27504667igb.79.1448993455801; Tue, 01 Dec 2015 10:10:55 -0800 (PST) Original-Received: by 10.79.119.2 with HTTP; Tue, 1 Dec 2015 10:10:55 -0800 (PST) In-Reply-To: <864mg2rtx1.fsf@stephe-leake.org> X-Google-Sender-Auth: uVw5TUuQEvD8-SIsu6VapvobmUg X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c05::22a 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:195693 Archived-At: On Tue, Dec 1, 2015 at 11:54 AM, Stephen Leake wrote: > I'm testing with: > > (+ "foo" 2) > > evaluated in the scratch buffer with C-j. Same result evaluating via M-:. Both of those methods use eval-expression-debug-on-error rather than debug-on-error, try (defun foo () (interactive) (+ "foo" 2)) And then M-x foo, instead. >> Emacs doesn't behave differently with -Q in this respect. > > It does for me. Presumable you have set eval-expression-debug-on-error to nil in your init file. > I found a workaround; eval the expression once to get *Backtraces*. > Then eval it again without quiting the debugger; that gives the error > message. Hitting c (debugger-continue) from *Backtraces* should also work.