From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Moreton Subject: Re: Compile warnings on Win7/Emacs24.0.50 Date: Thu, 14 Jul 2011 01:32:01 +0100 Message-ID: <82zkkhaeim.fsf@gmail.com> References: <87aaci6tf8.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhHhQ-0007fI-LJ for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 04:55:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhHhP-00048h-2Z for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 04:55:12 -0400 Received: from lo.gmane.org ([80.91.229.12]:42096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhHhO-00048E-If for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 04:55:10 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QhHhL-0005MK-OA for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 10:55:07 +0200 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jul 2011 10:55:07 +0200 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jul 2011 10:55:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Wed 13 Jul 2011, Achim Gratz wrote: > I've tested some things on Win7 and happen to have an Emacs24 installed > there, so I compiled the latest org-mode. I got quite a few warnings > that I've never seen before with Emacs23, so I assume this is Emacs24 > tightening the screws on some loseness. I don't remember the exact > warning text, but it was something about top-level forms and global > variables not having a prefix (presumably to keep them in their own > namespace and not step on the toes of other packages). AFAIK this is because emacs-24 now supports lexical scope. The use of name prefixes is used to manage namespace as you mention, but also as convention used by the byte compiler to help distinguish between uses of lexically and dynamicly scoped variable bindings. See the emacs-24 elisp manual for more details, or ask the friednly folks on the on the emacs devel list. HTH AndyM