From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: e and pi Date: Sat, 18 Sep 2010 17:01:00 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <8739t9xpt2.fsf@stupidchicken.com> <874odoweqm.fsf@stupidchicken.com> <8762y3onz7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284822192 14395 80.91.229.12 (18 Sep 2010 15:03:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 15:03:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 17:03:10 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwywV-0007ZW-Nd for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 17:03:09 +0200 Original-Received: from localhost ([127.0.0.1]:60780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwywT-0000xe-5v for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 11:03:05 -0400 Original-Received: from [140.186.70.92] (port=50281 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwywE-0000rA-6L for emacs-devel@gnu.org; Sat, 18 Sep 2010 11:02:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owyub-0000wJ-CI for emacs-devel@gnu.org; Sat, 18 Sep 2010 11:01:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:47949) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owyub-0000vz-2e for emacs-devel@gnu.org; Sat, 18 Sep 2010 11:01:09 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OwyuZ-0006jG-H5 for emacs-devel@gnu.org; Sat, 18 Sep 2010 17:01:07 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 17:01:07 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 17:01:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEW4raQUAw0XCxZCLjIq Fx9NQ0Ok/i/yAAACfUlEQVQ4jVWTS3fjIAyFNU3ZjxxnX2O8bwvsY1vsSYX+/1+Zi5O0HZ2Th/m4 Fz0wSQ8vEqrzjBh8X3gnOkCQTeh1Yh55CB5P5Q48YqGXvl9k8yAAYfNHvNEXwGju1MlO5B9xpQ0g m7P2P6jkJ75Ys6slkB9AznuGNUGyefkFSCbOFaDCTOo3eCe3job8HdlnsK7oWQ7I6iWuuVudrO32 sAJK9LWpdSBVyxP4afjcxiF28HIumvXnjNDLVmr0IovlVJ4KHyYe5ois/gzFdPPfCrgNc1mI1iFb XPkHrGMQm3zvl6VpfILBryzFMTp5NpFpeQDMZ+PBGleddh0bKnoK5jZNVflKaWhjQukPq9lsCvWL /5KLH0uan2CaX22b643fiMp01qLfCvwv+RNWrvA55vgEwXKxIlCocth/gZSjzSu/k96Y99hB2HBN RAqOZ66UP5hLiiR7TAB7KieA8Rgk70lpj7ltInuuZitfiF5XFA9FQsu6KpvpymOlU2KeAdRclKRY 7z1Nb5ggc8Q8Ipnu0tctMp8Wcmkd4pYJC5p206iwOL9e6dyYtwCrjEV8Wn8HLreruzhkVSLFYhHA bkhmqGt2F8ywF7gfClW1hGS5GdNt3LPerfrJH2WrTobCRFs0pX427HBjGFcHZaIrDjsJgtT71KL0 C0pt6hc7GxRoFXa0oAcIY//WXl4UbymmMR5vB5z6D0CULdSU/CKlm7zTEcgKgmxZQpRDUe/AdYU3 LQVTKf1Z6RGak5gu2VIq1bna7l71yCqmkEEEs6rt+lD0rMSHgmJXAHooAHCI7LKj9q+s2bVyX+4t Ecm99tyWU8R9+wamOUufoAaL1dk93X9pGcV7k5s6WgAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Joni Mitchell's _Dog Eat Dog_: "Dog Eat Dog" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:OlZxB5er104urpyhzDMxp0H4Aag= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:130410 Archived-At: Stefan Monnier writes: > 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 > noodle". I think Gnus does this a few places. Feel free to add a noodly compiler warning, and I'll fix it up. I think the plan to make bindings be lexical is great, but I'm not sure what all the discussion about e, argv and pi is. :-) This is my understanding: You want bindings to behave like in Common Lisp, and have all special variables (i.e., things that have been defined with defvar) to have dynamic scope (like today), and have all the rest have lexical bindings. And the problem is that some variables (well, constants) like `e' and `pi' are likely to be used by people in bindings, so they'll get dynamic bindings where they don't expect it. Is that a fair summary? In that case, just go ahead and rename the variables. (Although I don't really see how not using function arguments as dynamic bindings really help much, but I agree that it's confusing.) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen