[Top][All Lists]

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

Re: e and pi

From: Stefan Monnier
Subject: Re: e and pi
Date: Sat, 18 Sep 2010 16:53:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> If function argument names are the problem, why not just give them
>> static scope, overriding any existing dynamic bindings?  While it's
>> idiomatic elisp to use `let' to bind dynamic variables, AFAICT no one
>> uses function arguments to do the same.

> I don't have the Emacs source at hand and won't for a couple days, but
> I'm sure there are a few places where default args to functions are
> used to bind dynamic variables to (default) nil.

Indeed, there are a few places where Elisp code binds dynamic variables
not with a let but with a function argument.  I find this revolting, and
would welcome a byte-compiler warning to "flog the author with a wet


reply via email to

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