From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: `assert' macro Date: Fri, 27 Jan 2006 22:35:08 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138495531 12756 80.91.229.2 (29 Jan 2006 00:45:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2006 00:45:31 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 29 01:45:29 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F30h2-0001Kd-B0 for ged-emacs-devel@m.gmane.org; Sun, 29 Jan 2006 01:45:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2zyy-0001GZ-EM for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2006 18:59:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F2wnH-0002zf-O0 for emacs-devel@gnu.org; Sat, 28 Jan 2006 15:35:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F2wWa-0004mw-K3 for emacs-devel@gnu.org; Sat, 28 Jan 2006 15:18:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2wNr-00017c-VS for emacs-devel@gnu.org; Sat, 28 Jan 2006 15:09:20 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F2bL4-00020i-Pw for emacs-devel@gnu.org; Fri, 27 Jan 2006 16:41:03 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F2bKI-0006gH-PA for emacs-devel@gnu.org; Fri, 27 Jan 2006 22:40:15 +0100 Original-Received: from linus003.dd.chalmers.se ([129.16.117.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 22:40:14 +0100 Original-Received: from bojohan+news by linus003.dd.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 22:40:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: linus003.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:ShPS2SQoi7jiiosx3a65rGcBHnA= 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 Xref: news.gmane.org gmane.emacs.devel:49632 Archived-At: The `assert' macro from cl-macs is used in several files in Emacs. It expands into the following code. (macroexpand '(assert x)) => (progn (or x (signal 'cl-assertion-failed (list 'x))) nil) Unless cl is loaded `cl-assertion-failed' is not a known error symbol though, so if the assertion fails it will produce a "peculiar error" that is impossible to catch. It should signal a known condition. -- Johan Bockgård