From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: stack-trace-on-error vs. debug-on-error. Date: Fri, 04 Mar 2005 10:40:59 +0100 Message-ID: <87ll93lpec.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109930234 13284 80.91.229.2 (4 Mar 2005 09:57:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2005 09:57:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 04 10:57:14 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D79Xy-0001TM-Vv for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 10:56:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D79r6-0004Lt-VL for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 05:16:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D79Ya-0008Fd-BA for emacs-devel@gnu.org; Fri, 04 Mar 2005 04:57:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D79YW-0008EF-Ow for emacs-devel@gnu.org; Fri, 04 Mar 2005 04:57:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D79YV-0008AJ-TX for emacs-devel@gnu.org; Fri, 04 Mar 2005 04:57:12 -0500 Original-Received: from [194.109.24.26] (helo=smtp-vbr6.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D79Iq-0002pE-7R for emacs-devel@gnu.org; Fri, 04 Mar 2005 04:41:00 -0500 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr6.xs4all.nl (8.12.11/8.12.11) with ESMTP id j249ewLH047968 for ; Fri, 4 Mar 2005 10:40:58 +0100 (CET) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1D79Ip-0000yM-00 for ; Fri, 04 Mar 2005 10:40:59 +0100 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 40 X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:34166 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34166 Does anyone know the difference between stack-trace-on-error and debug-on-error? ,----[ C-h v stack-trace-on-error RET ] | stack-trace-on-error's value is nil | | *Non-nil means errors display a backtrace buffer. | More precisely, this happens for any error that is handled | by the editor command loop. | If the value is a list, an error only means to display a backtrace | if one of its condition symbols appears in the list. | | You can customize this variable. | | Defined in `C source code'. `---- ,----[ C-h v debug-on-error RET ] | debug-on-error's value is nil | | *Non-nil means enter debugger if an error is signaled. | Does not apply to errors handled by `condition-case' or those | matched by `debug-ignored-errors'. | If the value is a list, an error only means to enter the debugger | if one of its condition symbols appears in the list. | When you evaluate an expression interactively, this variable | is temporarily non-nil if `eval-expression-debug-on-error' is non-nil. | See also variable `debug-on-quit'. | | You can customize this variable. | | Defined in `C source code'. `---- On first inspection they seem to do exactly the same. stack-trace-on-error is not documented in Emacs manual or the Lisp manual. Would it be safe to make it an alias of debug-on-error and mark it as obsolete? Lute.