emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bytecomp.el: free variable warnings


From: Stefan Monnier
Subject: Re: bytecomp.el: free variable warnings
Date: Thu, 05 Apr 2007 13:39:55 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

> |In jidanni-header-author:
> |.emacs:249:11:Warning: reference to free variable `header-prefix-string'
> |.emacs:282:29:Warning: assignment to free variable `comint-input-autoexpand'

> However the first error is in jidanni-header-author, but the second
> isn't, so bytecomp.el should insert a blank between them.

> Also it should say how to fix the problem. Or at least give a clue.

Yup, the best advice to fix the problem is "don't byte-compile .emacs".

While I do believe it'd be good to pass the .emacs file(s) through the
byte-compiler's front-end (in order to get warnings), I'm fully aware of the
fact that it'd need some further adjustments to make the warnings
more useful.

E.g. both of those warnings should simply not be there, most likely.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]