emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Compile warnings on Win7/Emacs24.0.50
@ 2011-07-13 16:23 Achim Gratz
  2011-07-14  0:32 ` Andy Moreton
  0 siblings, 1 reply; 3+ messages in thread
From: Achim Gratz @ 2011-07-13 16:23 UTC (permalink / raw)
  To: emacs-orgmode


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).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compile warnings on Win7/Emacs24.0.50
  2011-07-13 16:23 Compile warnings on Win7/Emacs24.0.50 Achim Gratz
@ 2011-07-14  0:32 ` Andy Moreton
  2011-07-18 23:50   ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Moreton @ 2011-07-14  0:32 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compile warnings on Win7/Emacs24.0.50
  2011-07-14  0:32 ` Andy Moreton
@ 2011-07-18 23:50   ` Bastien
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2011-07-18 23:50 UTC (permalink / raw)
  To: Andy Moreton; +Cc: emacs-orgmode

Andy Moreton <andrewjmoreton@gmail.com> writes:

> 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.

Yes, there is lots of (boring) work to do in this area to get rid of
those warnings.  

Thanks for bringing this up,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-18 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-13 16:23 Compile warnings on Win7/Emacs24.0.50 Achim Gratz
2011-07-14  0:32 ` Andy Moreton
2011-07-18 23:50   ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).