emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: e and pi


From: David Kastrup
Subject: Re: e and pi
Date: Fri, 17 Sep 2010 09:00:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> Stefan Monnier <address@hidden> writes:
>
>> So I intend to do the following:
>> - in Emacs-23.3, define `e', `float-e', `pi', and `float-pi' and declare
>>   `e' and `pi' obsolete, but without a make-obsolete-variable
>>   (i.e. only in NEWS and in docstrings).
>> - in Emacs-24 keep float-e and float-pi but get rid of `e' and `pi'.
>>
>> Can anyone think of a better solution?
>
> I don't like the idea of `float-e' and `float-pi'.
>
> What is the problem with dynamically scoping `e' and `pi'?  If it's only
> the compiler warning, we can give the compiler a whitelist of variables
> not to complain about.

What is the problem with doing a defconst on them and letting defconst
_not_ work like defvar with regard to introducing dynamic scoping?

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]