all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: strange byte compiler behavior
Date: Wed, 02 Jan 2008 22:49:43 +0100	[thread overview]
Message-ID: <477C06F7.4020208@gmx.at> (raw)
In-Reply-To: <200801021948.m02JmJ1Y005211@oogie-boogie.ics.uci.edu>

 > which runs: -batch --no-site-file --multibyte --eval "(batch-byte-recompile-directory 0)"
 > does NOT warn

What happens when you comment out the disjunct

(memq var byte-compile-free-references)

from `byte-compile-variable-ref'?  Alternatively what is the value of
that variable when you do not get the warning?  Also, could you try the
same with just the file in question in the directory you recompile?

 >    (message "var %s boundp %s" var  (boundp var))
 > to `byte-compile-variable-ref' shows that `file' is bound for the function
 > in question.  Which would explain the results.
 > Any idea what causes `file' to be bound? (Assuming that boundp is the
 > correct test in that context...)

Since `byte-compile-variable-ref' has

	  (or (boundp var)

it would be interesting _where_ in `byte-compile-variable-ref' you
inserted that.

  reply	other threads:[~2008-01-02 21:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31 20:55 strange byte compiler behavior Dan Nicolaescu
2007-12-31 21:37 ` martin rudalics
2007-12-31 22:11   ` Dan Nicolaescu
2007-12-31 22:30     ` martin rudalics
2007-12-31 22:42       ` Dan Nicolaescu
2008-01-01 10:33         ` martin rudalics
2008-01-02 19:48 ` Dan Nicolaescu
2008-01-02 21:49   ` martin rudalics [this message]
2008-01-02 22:13     ` Dan Nicolaescu
2008-01-02 23:17   ` Dan Nicolaescu
2008-01-02 23:24     ` David Kastrup
2008-01-04  5:27     ` Richard Stallman
2008-01-04  6:10       ` Stefan Monnier
2008-01-05 14:29         ` Richard Stallman
2008-01-06  2:00           ` Stefan Monnier
2008-01-06 16:34             ` martin rudalics
2008-01-06 18:09             ` Richard Stallman

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=477C06F7.4020208@gmx.at \
    --to=rudalics@gmx.at \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@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.