From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.devel Subject: Re: Short patch for review Date: Thu, 19 Feb 2015 10:30:36 +0000 Message-ID: References: <83r3tm4fia.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424341940 18189 80.91.229.3 (19 Feb 2015 10:32:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2015 10:32:20 +0000 (UTC) Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 19 11:32:08 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 1YOOOu-0000PN-70 for ged-emacs-devel@m.gmane.org; Thu, 19 Feb 2015 11:32:08 +0100 Original-Received: from localhost ([::1]:55667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOOOt-0006md-Ch for ged-emacs-devel@m.gmane.org; Thu, 19 Feb 2015 05:32:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOOOq-0006mW-2i for emacs-devel@gnu.org; Thu, 19 Feb 2015 05:32:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOOOp-0001oc-A5 for emacs-devel@gnu.org; Thu, 19 Feb 2015 05:32:04 -0500 Original-Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:60620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOOOk-0001kY-Sf; Thu, 19 Feb 2015 05:31:58 -0500 Original-Received: from mfilter38-d.gandi.net (mfilter38-d.gandi.net [217.70.178.169]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 4110841C12E; Thu, 19 Feb 2015 11:31:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter38-d.gandi.net X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Cc" Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter38-d.gandi.net (mfilter38-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id zh6bSkGPzfwE; Thu, 19 Feb 2015 11:31:52 +0100 (CET) X-Originating-IP: 66.220.3.179 Original-Received: from localhost (gm179.geneticmail.com [66.220.3.179]) (Authenticated sender: kelly@prtime.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id C820841C144; Thu, 19 Feb 2015 11:31:51 +0100 (CET) In-reply-to: <83r3tm4fia.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::197 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:183287 Archived-At: Eli Zaretskii wrote: > Do we have guidelines for which errors should be 'user-error'? If the program is at fault, use error. If the user is at fault, use user-error. If debug-on-error is t, and the program is at fault, then pop up the debugger in order to help find the problem in the program. If the user is at fault, then don't pop up the debugger, even if debug-on-error is t, because there's no problem in the program. And those guidelines match, because Emacs pops up the debugger if debug-on-error is t and an error is signaled, but not if user-error is signaled. In the case of this patch, the errors are clearly user errors, not program errors.