emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Compile warnings on Win7/Emacs24.0.50
Date: Thu, 14 Jul 2011 01:32:01 +0100	[thread overview]
Message-ID: <82zkkhaeim.fsf@gmail.com> (raw)
In-Reply-To: 87aaci6tf8.fsf@Rainer.invalid

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

  reply	other threads:[~2011-07-14  8:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 16:23 Compile warnings on Win7/Emacs24.0.50 Achim Gratz
2011-07-14  0:32 ` Andy Moreton [this message]
2011-07-18 23:50   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82zkkhaeim.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).