From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Schmidt Newsgroups: gmane.emacs.devel Subject: Re: [patch] minor patch for register.el Date: Wed, 20 Feb 2013 14:53:00 +0000 (GMT) Message-ID: <87zjyz6nqj@ch.ristopher.com> References: <20130220.111807.1912441579815160723.yamato@redhat.com> <55DAF5C025494EE6A6552D8E63E9AEF9@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361372010 32757 80.91.229.3 (20 Feb 2013 14:53:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2013 14:53:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 20 15:53:53 2013 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 1U8B3Q-0005m8-7g for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 15:53:52 +0100 Original-Received: from localhost ([::1]:56558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8B35-0008EH-Vp for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 09:53:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8B2s-000810-Rw for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:53:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8B2e-0004RD-47 for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:53:13 -0500 Original-Received: from ristopher.com ([146.185.21.93]:57147 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8B2d-0004Qx-SH for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:53:04 -0500 Original-Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id 988E821402; Wed, 20 Feb 2013 14:53:00 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1361371980; bh=+4KtXPRu+Cd+Q2Nz3HGWnm7w53gauapNJqu0cGmPM5o=; h=From:To:Subject:In-Reply-To:Message-ID:References:MIME-Version: Content-Type:Date; b=JgMKauBEDpGTNoYRJD8jgMwb70S7gmQpFH/980unEN1aVOS8+sSrmtd+s0gEHX7n3 QImldPOPXWOtGLPCVtB0F/6HlaSthLZxP75iE0XpCXWET4KqmGcTrYHZg6Ou6nFt3L hDOyNOaDbqTrSq/bmC+xXPF50WIJANjJ/FEdnvzY= In-Reply-To: (John Yates's message of "Wed, 20 Feb 2013 09:48:12 -0500") Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 146.185.21.93 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:157208 Archived-At: John Yates writes: > Raising an error would be tantamount to suggesting that it is user's > responsibility to _know_ a priori that the set is empty and to avoid > invoking the function. Encountering a normal boundary state is not an > error. > > I run with debug-on-error set. Raising errors for non-error > conditions is very distracting. I think user-error should be used here. Christopher