From: Kevin Ryde <user42@zip.com.au>
To: 6376@debbugs.gnu.org
Subject: bug#6376: 23.2; byte compile add-to-list report free variable
Date: Sat, 07 Aug 2010 09:45:43 +1000 [thread overview]
Message-ID: <87zkwzs3tk.fsf@blah.blah> (raw)
In-Reply-To: <jwvzkz56lrq.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 08 Jun 2010 21:29:20 -0400")
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
I got a bit further to these few lines. Not quite ready yet, but
getting closer. The byte-compile-check-var is more or less a break-out
of the checks in byte-compile-variable-ref.
add-hook and remove-hook end up with checks against non-variables, but
they don't demand a bound variable. I suppose they could helpfully also
notice undefined functions in their second arg too. You'd be tempted to
have some sort of general arg-type description for the builtin funcs
rather than doing checks plus "normal-call" for each.
[-- Attachment #2: bytecomp-add-to-list.el --]
[-- Type: application/emacs-lisp, Size: 3933 bytes --]
next prev parent reply other threads:[~2010-08-06 23:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 1:30 bug#6376: 23.2; byte compile add-to-list report free variable Kevin Ryde
2010-06-09 1:29 ` Stefan Monnier
2010-06-12 23:11 ` Kevin Ryde
2010-08-06 23:45 ` Kevin Ryde [this message]
2010-08-10 9:12 ` Stefan Monnier
2010-09-21 1:34 ` Kevin Ryde
2020-11-19 4:05 ` Stefan Kangas
2020-11-20 5:06 ` Stefan Kangas
2022-01-31 16:58 ` Lars Ingebrigtsen
2022-02-01 23:31 ` Michael Heerdegen
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=87zkwzs3tk.fsf@blah.blah \
--to=user42@zip.com.au \
--cc=6376@debbugs.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.