Subject: Re: bug#16573: 24.3; Auctex (11.87.2) in Elpa issues hundreds of warnings on compile

From: Glenn Morris <[email-masked]>
Date: Mon, 27 Jan 2014 13:23:37 -0500

None of the following are (clear evidence of) bugs.
See my comments in http://debbugs.gnu.org/16572#8

Neil Jackson wrote:

> bib-cite.el:772:35:Warning: reference to free variable `current-menubar'
>
> In bib-apropos:
> bib-cite.el:1148:19:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
> bib-cite.el:1164:12:Warning: `mapcar' called for effect; use `mapc' or
>     `dolist' instead
>
> In bib-cite-fontify-red:
> bib-cite.el:1234:31:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
>
> In bib-cite-fontify-help-xemacs:
> bib-cite.el:1250:15:Warning: assignment to free variable
>     `font-lock-defaults-computed'
>
> In bib-etags:
> bib-cite.el:1336:23:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
> bib-cite.el:1357:54:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
>
> In bib-guess-or-prompt-for-label:
> bib-cite.el:1687:40:Warning: reference to free variable `LaTeX-label-list'
>
> In bib-master-file:
> bib-cite.el:2129:31:Warning: reference to free variable `TeX-master'
>
> In bib-document-TeX-files:
> bib-cite.el:2187:12:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
>
> In bib-document-citekeys-obarray:
> bib-cite.el:2241:23:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
>
> In bib-get-bibliography:
> bib-cite.el:2368:12:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
> bib-cite.el:2393:43:Warning: Use `with-current-buffer' rather than
>     save-excursion+set-buffer
>
> In bib-create-auto-file:
> bib-cite.el:2440:30:Warning: reference to free variable
>     `BibTeX-auto-regexp-list'
> bib-cite.el:2455:14:Warning: reference to free variable `TeX-header-end'
> bib-cite.el:2456:30:Warning: reference to free variable `LaTeX-header-end'
> bib-cite.el:2456:15:Warning: assignment to free variable `TeX-header-end'
>
> In end of data:
> bib-cite.el:2623:1:Warning: the following functions are not known to be defined:
>     make-local-hook, set-buffer-menubar, delete-extent,
>     delete-menu-item, set-keymap-name, reftex-view-crossref,
>     font-lock-find-font-lock-defaults, extent-detached-p,
>     extent-start-position, extent-end-position, make-extent,
>     set-extent-property, extent-string, TeX-master-file,
>     TeX-auto-write, dired-split
> 
> Compiling file /home/nlj/.emacs.d/elpa/auctex-11.87.2/context-en.el at Mon Jan 27 13:14:02 2014
> 
> Compiling file /home/nlj/.emacs.d/elpa/auctex-11.87.2/context-nl.el at Mon Jan 27 13:14:02 2014
> 
> Compiling file /home/nlj/.emacs.d/elpa/auctex-11.87.2/context.el at Mon Jan 27 13:14:02 2014
> context.el:71:1:Warning: global/dynamic var `reference' lacks a prefix
> context.el:74:1:Warning: global/dynamic var `title' lacks a prefix
>
> In ConTeXt-paragraph-commands-regexp:
> context.el:916:25:Warning: reference to free variable
>     `ConTeXt-extra-paragraph-commands'
>
> In end of data:
> context.el:1663:1:Warning: the function `make-local-hook' is not known to be
>     defined.
> 
> Compiling file /home/nlj/.emacs.d/elpa/auctex-11.87.2/font-latex.el at Mon Jan 27 13:14:03 2014
>
> In font-latex-update-sectioning-faces:
> font-latex.el:184:37:Warning: reference to free variable
>     `font-latex-fontify-sectioning'
>
> In font-latex-set-syntactic-keywords:
> font-latex.el:934:9:Warning: assignment to free variable
>     `font-latex-doctex-syntactic-keywords'
>
> In font-latex-syntactic-face-function:
> font-latex.el:949:7:Warning: `char-valid-p' is an obsolete function (as of
>     23.1); use `characterp' instead.
>
> In end of data:
> font-latex.el:1994:1:Warning: the following functions are not known to be defined:
>     face-property-instance, set-face-property
> 
> Compiling file /home/nlj/.emacs.d/elpa/auctex-11.87.2/latex.el at Mon Jan 27 13:14:03 2014
>
> In LaTeX-section-heading:
> latex.el:427:11:Warning: assignment to free variable `level'
>
> In LaTeX-section-toc:
> latex.el:443:22:Warning: assignment to free variable `toc'
> latex.el:444:13:Warning: reference to free variable `toc'
>
> In LaTeX-section-section:
> latex.el:462:16:Warning: reference to free variable `toc'
>
> In LaTeX-close-environment:
> latex.el:599:14:Warning: `next-line' used from Lisp code
> That command is designed for interactive use only
>
> In LaTeX-auto-prepare:
> latex.el:1244:9:Warning: assignment to free variable `LaTeX-auto-arguments'
> latex.el:1245:9:Warning: assignment to free variable `LaTeX-auto-optional'
> latex.el:1246:9:Warning: assignment to free variable `LaTeX-auto-env-args'
> latex.el:1247:9:Warning: assignment to free variable `LaTeX-auto-style'
>
> In LaTeX-listify-package-options:
> latex.el:1288:45:Warning: `delete-backward-char' used from Lisp code
> That command is designed for interactive use only
>
> In LaTeX-auto-cleanup:
> latex.el:1299:32:Warning: reference to free variable `LaTeX-auto-bibliography'
> latex.el:1299:32:Warning: assignment to free variable
>     `LaTeX-auto-bibliography'
> latex.el:1302:17:Warning: reference to free variable `LaTeX-auto-style'
> latex.el:1310:37:Warning: assignment to free variable `LaTeX-auto-style'
> latex.el:1324:29:Warning: assignment to free variable `TeX-auto-file'
> latex.el:1370:25:Warning: assignment to free variable `TeX-auto-symbol'
> latex.el:1366:9:Warning: reference to free variable `LaTeX-auto-arguments'
> latex.el:1374:9:Warning: reference to free variable `LaTeX-auto-optional'
> latex.el:1403:27:Warning: assignment to free variable `LaTeX-auto-environment'
> latex.el:1381:9:Warning: reference to free variable `LaTeX-auto-env-args'
> latex.el:1391:46:Warning: assignment to free variable `TeX-auto-symbol'