all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Avoiding 'reference to free variable' warnings whilesplittingelisp source files
Date: Sat, 23 Mar 2013 17:05:58 -0400	[thread overview]
Message-ID: <jwvvc8hq142.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 34FC3C03F8024543AA455B46C30A3AE7@us.oracle.com

> The node (elisp) `Defining Variables' starts by saying what Emacs
> means by a "variable definition": it "announces your intention to use
> a symbol as a global variable."  That is probably pretty close to what
> you mean by "declaring".  It does not mention value initialization
> (which is optional).

Hmm... indeed.  That's too bad: it's really a misuse of the concept of
"definition": not only is it different from most other programming
language's use of "definition" and "declaration" but it's also different
from the everyday use of "definition".


        Stefan




  reply	other threads:[~2013-03-23 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-23 16:08 Avoiding 'reference to free variable' warnings while splitting elisp source files Joe Riel
2013-03-23 16:19 ` Avoiding 'reference to free variable' warnings while splittingelisp " Drew Adams
2013-03-23 17:30   ` Stefan Monnier
2013-03-23 18:23     ` Avoiding 'reference to free variable' warnings whilesplittingelisp " Drew Adams
2013-03-23 21:05       ` Stefan Monnier [this message]
2013-03-23 22:41         ` Avoiding 'reference to free variable' warningswhilesplittingelisp " Drew Adams
2013-03-24  9:02           ` Andreas Röhler
2013-03-24 14:34             ` Drew Adams

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

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

  git send-email \
    --in-reply-to=jwvvc8hq142.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.