From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Strange (while t ...) in 'error' definition... Date: Tue, 05 Mar 2013 21:38:06 -0500 Message-ID: References: <87vc9534yi.fsf@gavenkoa.example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362537544 25497 80.91.229.3 (6 Mar 2013 02:39:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Mar 2013 02:39:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 03:39:28 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1UD4GJ-0001RP-JJ for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 03:39:23 +0100 Original-Received: from localhost ([::1]:39883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD4Fy-0000zE-2L for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 21:39:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD4FK-0000rn-3U for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 21:38:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD4FJ-0007i1-3o for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 21:38:22 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD4FI-0007ht-Ri for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 21:38:21 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UD4Fb-0000zc-Gc for help-gnu-emacs@gnu.org; Wed, 06 Mar 2013 03:38:39 +0100 Original-Received: from 69-196-187-203.dsl.teksavvy.com ([69.196.187.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Mar 2013 03:38:39 +0100 Original-Received: from monnier by 69-196-187-203.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Mar 2013 03:38:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-187-203.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:1Dnayk4z0LyVqrNPM456703VilQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89377 Archived-At: > From 'emacs-bzr/trunk/lisp/subr.el': > (defun user-error (format &rest args) > (while t > (signal 'user-error (list (apply #'format format args))))) > Why is it needed to surround 'signal' with 'while t'? Indeed, the while t is not needed any more. > This definition dated by 1990-11-05 (according to bzr history)... In early Elisp, `signal' could return. This is now only true for the `quit' signal. Stefan