From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: [patch] minor patch for register.el Date: Wed, 20 Feb 2013 09:48:12 -0500 Message-ID: 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; charset=ISO-8859-1 X-Trace: ger.gmane.org 1361371738 29763 80.91.229.3 (20 Feb 2013 14:48:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2013 14:48:58 +0000 (UTC) Cc: Masatake YAMATO , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 20 15:49:20 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 1U8Az1-0002v5-5T for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 15:49:19 +0100 Original-Received: from localhost ([::1]:48289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8Aye-0003ZC-Ow for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 09:48:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8Ay4-00028A-3n for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:48:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8Axz-0002Zm-LD for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:48:20 -0500 Original-Received: from mail-wg0-f52.google.com ([74.125.82.52]:62754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8Axz-0002Yf-DR for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:48:15 -0500 Original-Received: by mail-wg0-f52.google.com with SMTP id 12so6615289wgh.7 for ; Wed, 20 Feb 2013 06:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=apwoScy7iIY97h8yyegig5lGlBg7BwTPs8fS4SAC0iI=; b=ntecTOsCwOYy9afyJ9BHjd4QqwzkqRkvvmoSykHbTPOj+xnRvST65soU0Kvy/QrVVu 6w5N6J1+EubFafVc74IwOzx/i0naXpVWXwYM5WiYO89kv7/bt7QJpl8EkAO2DAbobrCN b8sp82TaIh2wLJk7z1kpTdGCL+g6TA4mFY91zqjL6b4AMuZYjBXYhZG7gItB9gbu+8sH ZPzsrK3IDgSGGpxlNQ1TSOUyEPx2JS4QebFBBNn+7c1gLUlpKMt8SzBKtp0O2cTO+fGK KOkVRIOpzzTZBtbDNRlNm8AvZu03F41B0AlA8TC+HNAk6G6AkcqTq6mY8PZsMXg96wMq 1mfA== X-Received: by 10.180.76.84 with SMTP id i20mr33467261wiw.9.1361371692878; Wed, 20 Feb 2013 06:48:12 -0800 (PST) Original-Received: by 10.194.175.198 with HTTP; Wed, 20 Feb 2013 06:48:12 -0800 (PST) In-Reply-To: <55DAF5C025494EE6A6552D8E63E9AEF9@us.oracle.com> X-Google-Sender-Auth: zdQLeh6p6ZHQ7GHzXcOBvMFHFzA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.82.52 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:157207 Archived-At: On Tue, Feb 19, 2013 at 11:30 PM, Drew Adams wrote: >> Just question. Is this error raising really needed? > > Personally, I don't really care one way or the other - (a) show a message and do > nothing or (b) raise an error. 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. /john