> In toplevel form:
> vala-mode.el:355:1:Warning: (lambda nil ...) quoted with ' rather than with #'
> vala-mode.el:355:1:Warning: (lambda nil ...) quoted with ' rather than with #'
Those are from these lines in the definition of the procedure vala-mode:
(c-init-language-vars vala-mode)
(c-common-init 'vala-mode)
Each of these is a macro, defined elsewhere, which expands to contain
the warned-about construct. You'd have to file a bug there to get this
issue addressed.
As a long-time Scheme person, I think this warning should be an error,
and a list starting with the symbol 'lambda should not be considered a
function value, forcing bad code like that to be fixed.
In fact, your report caused me to scan this file for analogous
constructs sufficiently obfuscated to escape detection by the elisp
compiler, and replace horrors like
`(lambda (x) (foo x ',(f a b c)))
with closures like
(let ((fabc (f a b c)))
(lambda (x) (foo x facb)))
This requires lexical scoping, so is not compatible with emacs23 or
below, and I am therefore not going to deploy it yet. (See git repo for
details.)
In any case, in elisp, as of right now, the messages you mention are
just toothless warnings. So this not a bug, and doesn't come from this
package anyway. I've therefore lowered its severity to wishlist.
Cheers,
--Barak.
--
Barak A. Pearlmutter
Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
http://www.bcl.hamilton.ie/~barak/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]