From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: (error (format ... Date: Thu, 16 Jun 2005 16:03:37 +0200 Message-ID: References: <85is0ewgwv.fsf@lola.goethe.zz> Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1118930691 19834 80.91.229.2 (16 Jun 2005 14:04:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2005 14:04:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 16 16:04:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DiuyT-0003VI-Vh for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 16:04:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Div3u-0008G3-3R for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 10:09:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Div2e-0007q9-Pb for emacs-devel@gnu.org; Thu, 16 Jun 2005 10:08:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Div2a-0007mw-9T for emacs-devel@gnu.org; Thu, 16 Jun 2005 10:08:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Div2Y-0007jY-Sf for emacs-devel@gnu.org; Thu, 16 Jun 2005 10:08:18 -0400 Original-Received: from [64.233.182.202] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Diuzq-0002Et-5U for emacs-devel@gnu.org; Thu, 16 Jun 2005 10:05:30 -0400 Original-Received: by nproxy.gmail.com with SMTP id i2so21720nfe for ; Thu, 16 Jun 2005 07:03:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=na34Nms+WPvHhyhdDtd6IMtQ55rLbuKswNp8VvULRzu6RfrbPxiVo+8aDbeelm5FDk+B9a7/O4DBXW//21TPUYrxYWKWn3IdlJqIZKm1LRbapBF/HP0eh3SGOO2tK7l2xrlepuQvx3hoj+LbXipkTFmuKnW9c9bi8KaCeoaBMIM= Original-Received: by 10.48.144.12 with SMTP id r12mr17245nfd; Thu, 16 Jun 2005 07:03:37 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Thu, 16 Jun 2005 07:03:37 -0700 (PDT) Original-To: David Kastrup In-Reply-To: <85is0ewgwv.fsf@lola.goethe.zz> Content-Disposition: inline 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:38958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38958 > I'd probably be tempted to use >=20 > (error (concat "No further undo information" > (and transient-mark-mode mark-active > " for region"))) Yes, in this case I think yours is better. But if the argument is a variabl= e: (lambda (arg) (error (format "This is the error: %s" arg))) would be preferable to (lambda (arg) (error "This is the error: %s" arg)) ? --=20 /L/e/k/t/u