unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: 11837@debbugs.gnu.org
Subject: bug#11837: 24.1.50; *Compile-Log* Error: Don't know how to compile nil
Date: Tue, 3 Jul 2012 08:21:36 +0900	[thread overview]
Message-ID: <20120702232136.GC904@smoon> (raw)
In-Reply-To: <jwvlij2tfs5.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3235 bytes --]

Hello,
** Stefan Monnier [2012-07-02 10:12:34 -0400]:

>> emacs -Q --debug-init --eval '(setq load-path (cons "/usr/share/emacs/site-lisp" load-path))' -l /usr/share/emacs/site-lisp/auctex.el ex.ltx

>> After start in window at bottom message is shown:

>> Error: Don't know how to compile nil

> 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)?

Yes, I got. I run above command, copied (`C-x r s r') to other buffer
(`C-x r i r') and saved as file `backtrace.txt'. I hope this is the
right way.

>         Stefan

---------------------------- 8< ----------------------------
Debugger entered--Lisp error: (error "Don't know how to compile nil")
  signal(error ("Don't know how to compile nil"))
  error("Don't know how to compile %S" nil)
  #[0 "\306	!\307\211\211\211\211\211\n\v\f\r\x0e\x13\x1e\x13\x1d\x1c^[\x1a\x1e\x14\x1e\x15\x1e\x16\x1e\x17\x1e\x18\x1e\x19\x1e\x1a\x0e^[\x1e^[\3009\2037\0\310\300!\2058\0\300K\2028\0\300\211\242\311=\211\203D\0\x01A\262\x02\3009\203`\0\x01\242\312>\204U\0\313\314\x03\"\210\315\x02!\262\x02\x01@\316=\x16^[\x01\242\317=\204l\0\313\314\x03\"\210\320\x02!\262\x02\x01\242\321=\203\201\0\x01\211\x1e\x1cA@)\262\x02\322\x02!\262\x02\211\203\217\0\311\x02B\262\x02\3009\203\232\0\300\x02M\202\233\0\x01)\266\202.\f\207" [font-latex-warning byte-compile-initial-macro-environment byte-compile-verbose byte-optimize byte-compile-dynamic byte-compile-dynamic-docstrings copy-alist nil fboundp macro (closure lambda) error "Don't know how to compile %S" byte-compile--refiy-function closure lambda byte-compile-preprocess function byte-compile-lambda byte-compile-warnings byte-compile-free-assignments byte-compile-free-references byte-compile-const-variables byte-compile-bound-variables byte-compile-function-environment byte-compile--outbuffer byte-compile-macro-environment lexical-binding x] 13 "\n\n(fn)"]()
  byte-compile(font-latex-warning)
  byte-code("\305\306\307\"\210\b\310=\203\x0e\0\307 \210\311\312K!\203=\0	\313\x1a\211^[\203<\0\v@\211\x12@\x1c\314\315\316\fP!!\210\314\315\316\f\317Q!!\210)\vA\211\x13\204\x1d\0*\320\321!\207" [major-mode font-latex-built-in-keyword-classes elt --dolist-tail-- name add-hook latex-mode-hook font-latex-setup latex-mode byte-code-function-p font-latex-make-built-in-keywords nil byte-compile intern "font-latex-" "-make" provide font-latex] 6)
  font-latex-setup()
  VirTeX-common-initialization()
  LaTeX-common-initialization()
  latex-mode()
  set-auto-mode-0(latex-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer ex.ltx> "~/tmp/ex.ltx" nil nil "~/tmp/ex.ltx" (12328882 2051))
  find-file-noselect("/home/vladimir/tmp/ex.ltx" nil nil nil)
  find-file("/home/vladimir/tmp/ex.ltx")
  command-line-1(("--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"))
  command-line()
  normal-top-level()
---------------------------- 8< ----------------------------

-- 
No discipline is ever requisite to force attendance upon lectures which are
really worth the attending.
		-- Adam Smith, "The Wealth of Nations"

[-- Attachment #2: backtrace.txt --]
[-- Type: text/plain, Size: 2209 bytes --]

Debugger entered--Lisp error: (error "Don't know how to compile nil")
  signal(error ("Don't know how to compile nil"))
  error("Don't know how to compile %S" nil)
  #[0 "\306	!\307\211\211\211\211\211\n\v\f\r\x0e\x13\x1e\x13\x1d\x1c^[\x1a\x1e\x14\x1e\x15\x1e\x16\x1e\x17\x1e\x18\x1e\x19\x1e\x1a\x0e^[\x1e^[\3009\2037\0\310\300!\2058\0\300K\2028\0\300\211\242\311=\211\203D\0\x01A\262\x02\3009\203`\0\x01\242\312>\204U\0\313\314\x03\"\210\315\x02!\262\x02\x01@\316=\x16^[\x01\242\317=\204l\0\313\314\x03\"\210\320\x02!\262\x02\x01\242\321=\203\201\0\x01\211\x1e\x1cA@)\262\x02\322\x02!\262\x02\211\203\217\0\311\x02B\262\x02\3009\203\232\0\300\x02M\202\233\0\x01)\266\202.\f\207" [font-latex-warning byte-compile-initial-macro-environment byte-compile-verbose byte-optimize byte-compile-dynamic byte-compile-dynamic-docstrings copy-alist nil fboundp macro (closure lambda) error "Don't know how to compile %S" byte-compile--refiy-function closure lambda byte-compile-preprocess function byte-compile-lambda byte-compile-warnings byte-compile-free-assignments byte-compile-free-references byte-compile-const-variables byte-compile-bound-variables byte-compile-function-environment byte-compile--outbuffer byte-compile-macro-environment lexical-binding x] 13 "\n\n(fn)"]()
  byte-compile(font-latex-warning)
  byte-code("\305\306\307\"\210\b\310=\203\x0e\0\307 \210\311\312K!\203=\0	\313\x1a\211^[\203<\0\v@\211\x12@\x1c\314\315\316\fP!!\210\314\315\316\f\317Q!!\210)\vA\211\x13\204\x1d\0*\320\321!\207" [major-mode font-latex-built-in-keyword-classes elt --dolist-tail-- name add-hook latex-mode-hook font-latex-setup latex-mode byte-code-function-p font-latex-make-built-in-keywords nil byte-compile intern "font-latex-" "-make" provide font-latex] 6)
  font-latex-setup()
  VirTeX-common-initialization()
  LaTeX-common-initialization()
  latex-mode()
  set-auto-mode-0(latex-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer ex.ltx> "~/tmp/ex.ltx" nil nil "~/tmp/ex.ltx" (12328882 2051))
  find-file-noselect("/home/vladimir/tmp/ex.ltx" nil nil nil)
  find-file("/home/vladimir/tmp/ex.ltx")
  command-line-1(("--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"))
  command-line()
  normal-top-level()

[-- Attachment #3: ex.ltx --]
[-- Type: text/x-tex, Size: 258 bytes --]

% !TEX program  = pdflatex
% !TEX encoding = UTF-8
\documentclass{article}

\begin{document}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% fill-column: 96
%%% TeX-master: t
%%% TeX-PDF-mode: t
%%% End:
%%% vim: syn=tex ft=tex tw=96 ts=2 sw=2 et:

      parent reply	other threads:[~2012-07-02 23:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-02  2:21 bug#11837: 24.1.50; *Compile-Log* Error: Don't know how to compile nil Vladimir Lomov
2012-07-02 14:12 ` Stefan Monnier
2012-07-02 23:10   ` Glenn Morris
2012-07-03 19:20     ` Tassilo Horn
2012-07-03 22:24       ` Glenn Morris
2012-07-04  6:19         ` Tassilo Horn
2012-07-05 18:35       ` Glenn Morris
2012-07-02 23:21   ` Vladimir Lomov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120702232136.GC904@smoon \
    --to=lomov.vl@gmail.com \
    --cc=11837@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).