From: Bastien <bzg@altern.org>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Compile warnings on Win7/Emacs24.0.50
Date: Tue, 19 Jul 2011 01:50:25 +0200 [thread overview]
Message-ID: <87aacbup1a.fsf@gnu.org> (raw)
In-Reply-To: <82zkkhaeim.fsf@gmail.com> (Andy Moreton's message of "Thu, 14 Jul 2011 01:32:01 +0100")
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
prev parent reply other threads:[~2011-07-18 23:50 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
2011-07-18 23:50 ` Bastien [this message]
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=87aacbup1a.fsf@gnu.org \
--to=bzg@altern.org \
--cc=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).