From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74255 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.gnus.general Subject: Re: float-pi Date: Tue, 23 Nov 2010 08:32:42 +0100 Message-ID: <878w0kxzol.fsf@turtle.gmx.de> References: <87mxp1cihi.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290497674 23319 80.91.229.12 (23 Nov 2010 07:34:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 07:34:34 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22620@lists.math.uh.edu Tue Nov 23 08:34:28 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKnOW-0000Dm-5D for ding-account@gmane.org; Tue, 23 Nov 2010 08:34:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PKnNU-0007SJ-Tn; Tue, 23 Nov 2010 01:33:24 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PKnNS-0007SA-1j for ding@lists.math.uh.edu; Tue, 23 Nov 2010 01:33:22 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PKnNN-00027U-4p for ding@lists.math.uh.edu; Tue, 23 Nov 2010 01:33:21 -0600 Original-Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by quimby.gnus.org with smtp (Exim 3.36 #1 (Debian)) id 1PKnNM-0007cM-00 for ; Tue, 23 Nov 2010 08:33:16 +0100 Original-Received: (qmail invoked by alias); 23 Nov 2010 07:32:45 -0000 Original-Received: from p54862479.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.36.121] by mail.gmx.net (mp011) with SMTP; 23 Nov 2010 08:32:45 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX19/DoQzYE5/MlgzYYJCD1u3ovkhmPhu/UURZMkADe eYuRl+bpW7fDXn Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id 9B46B3F46A; Tue, 23 Nov 2010 08:32:43 +0100 (CET) Mail-Followup-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 22 Nov 2010 19:41:28 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.90 (gnu/linux) X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74255 Archived-At: On 2010-11-22 19:41 +0100, Lars Magne Ingebrigtsen wrote: > Sven Joachim writes: > >> In Emacs 23.2 (and earlier), compiling color-lab.el triggers warnings >> because float-pi is not defined. It would probably be good to check if >> float-pi is bound before using it. > > shr.el and friends are for Emacs 24 only, so compiling color-lab should > probably be disabled on Emacs 23, I guess... That would be annoying for people who share the same Gnus installation between Emacs 23 and Emacs 24. And it's easy to define float-pi yourself: (unless (boundp 'float-pi) (defconst float-pi (* 4 (atan 1)) "The value of Pi (3.1415926...).")) Cheers, Sven