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

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

bug#11837: 24.1.50; *Compile-Log* Error: Don't know how to compile nil


From: Glenn Morris
Subject: bug#11837: 24.1.50; *Compile-Log* Error: Don't know how to compile nil
Date: Mon, 02 Jul 2012 19:10:19 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

> Can you please try: emacs -Q --debug-init --eval '(setq load-path (cons 
> "/usr/share/emacs/site-lisp" load-path) debug-on-error t byte-compile-debug 
> t)' -l /usr/share/emacs/site-lisp/auctex.el ex.ltx
>
> and show us the resulting backtrace (assuming you get one)?

For me, the error comes from the stuff at the very end of font-latex.el:

http://cvs.savannah.gnu.org/viewvc/auctex/font-latex.el?root=auctex&view=markup

;;; Byte-compilation of generated functions

(when (byte-code-function-p
       (symbol-function 'font-latex-make-built-in-keywords))
  (dolist (elt font-latex-built-in-keyword-classes)
    (let ((name (nth 0 elt)))
      (byte-compile (intern (concat "font-latex-" name)))
      (byte-compile (intern (concat "font-latex-" name "-make"))))))

->
  Error: Don't know how to compile nil in font-latex-warning
  Error: Don't know how to compile nil in font-latex-warning-make
etc

"font-latex-warning" etc is not defined.

font-latex-make-built-in-keywords actually defines things with a
"font-latex-match-" prefix, not "font-latex-".


In 24.1

(byte-compile nil)

silently does nothing

in trunk it complains:

Error: Don't know how to compile nil


So this looks like a long-standing font-latex bug that Emacs isn't
silent about any more.





reply via email to

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