[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
byte-compile warning position on certain .el
From: |
Kevin Ryde |
Subject: |
byte-compile warning position on certain .el |
Date: |
Tue, 27 Mar 2007 11:21:46 +1000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Using my own build of a recent cvs, or the debian packaged snapshot
2007-03-02, when byte-compiling the "dictionary" package
http://www.myrkr.in-berlin.de/dictionary/dictionary-1.8.7.tar.gz
with
tar xfz dictionary-1.8.7.tar.gz
cd dictionary-1.8.7
emacs -Q
M-: (add-to-list 'load-path ".")
M-x byte-compile-file dictionary.el
a warning in the *Compile-Log* buffer is given
dictionary.el:1231:43:Warning: `make-variable-buffer-local' should be called
at toplevel
but that line/column position is the "nil" of a form
(set-extent-property dictionary-balloon-help-extent
'end-open nil)
whereas I think the warning refers to line 1206 (commenting out that
line out suppresses the warning, so I guess it's the offending bit),
(make-variable-buffer-local 'dictionary-balloon-help-extent)
I'm not sure if the warning is valid -- it's in a conditionalized "(if
(progn ...))", which would seem close enough to top-level to me -- but
in any case I hoped that the line number reported would be 1206
instead of 1231.
In GNU Emacs 22.0.96.1 (i586-pc-linux-gnu)
of 2007-03-26 on blah
configured using `configure 'CFLAGS=-O' '--prefix=/down/emacs/b/inst'
'INSTALL=/home/gg/bin/install-with-symlink''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_AU
locale-coding-system: iso-8859-1
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
encoded-kbd-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- byte-compile warning position on certain .el,
Kevin Ryde <=