bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.83; AUCTeX bombs out on latex.ltx at first try


From: David Kastrup
Subject: [Bug-AUCTeX] 11.83; AUCTeX bombs out on latex.ltx at first try
Date: Mon, 19 Mar 2007 11:54:56 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

When opening latex.ltx, I get
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  looking-at(nil)
  TeX-auto-parse-region(TeX-auto-full-regexp-list nil 999999)
  TeX-auto-parse()
  TeX-auto-apply()
  TeX-update-style()
  LaTeX-section-menu-filter(nil)
  (easy-menu-filter-return (LaTeX-section-menu-filter menu) "Section  (C-c 
C-s)")
  (lambda (menu) (easy-menu-filter-return (LaTeX-section-menu-filter menu) 
"Section  (C-c C-s)"))(nil)
  x-popup-menu(nil (keymap "LaTeX" (Section\ \ \(C-c\ C-s\) menu-item "Section  
(C-c C-s)" nil :filter (lambda ... ...)) (Macro\.\.\. menu-item "Macro..." 
TeX-insert-macro ([3 13] . "  (C-c RET)") :help "Insert a macro and possibly 
arguments") (Complete\ Macro menu-item "Complete Macro" TeX-complete-symbol 
([134217737] . "  (M-TAB)") :help "Complete the current macro or environment 
name") (Insert\ Environment\ \ \(C-c\ C-e\) menu-item "Insert Environment  (C-c 
C-e)" nil :filter (lambda ... ...)) (Change\ Environment\ \ \(C-u\ C-c\ C-e\) 
menu-item "Change Environment  (C-u C-c C-e)" nil :filter (lambda ... ...)) 
(Close\ Environment menu-item "Close Environment" LaTeX-close-environment ([3 
93] . "  (C-c ])") :help "Insert the \\end part of the current environment") 
(Item menu-item "Item" LaTeX-insert-item ([3 10] . "  (C-c C-j)") :help "Insert 
a new \\item into current environment") (nil menu-item "-") (Insert\ Font 
menu-item "Insert Font" (keymap "Insert Font" ... ... ... ... ... ... ... ... 
...)) (Replace\ Font menu-item "Replace Font" (keymap "Replace Font" ... ... 
... ... ... ... ... ... ...)) (Delete\ Font menu-item "Delete Font" 
menu-function-19 (t . "  (C-c C-f C-d)") :keys "C-c C-f C-d") (nil menu-item 
"-") (Comment\ or\ Uncomment\ Region menu-item "Comment or Uncomment Region" 
TeX-comment-or-uncomment-region ([3 59] . "  (C-c ;)") :help "Make the selected 
region outcommented or active again") (Comment\ or\ Uncomment\ Paragraph 
menu-item "Comment or Uncomment Paragraph" TeX-comment-or-uncomment-paragraph 
([3 37] . "  (C-c %)") :help "Make the current paragraph outcommented or active 
again") (Formatting\ and\ Marking menu-item "Formatting and Marking" (keymap 
"Formatting and Marking" ... ... ... ... ... ... ... ... ... ...)) (Show/Hide 
menu-item "Show/Hide" (keymap "Show/Hide" ... ... ... ... ... ... ... ... ... 
... ... ... ... ...)) (Math\ Mode menu-item "Math Mode" LaTeX-math-mode ([3 
126] . "  (C-c ~)") :button (:toggle . LaTeX-math-mode) :help "Toggle math 
mode") (nil menu-item "-") (Convert\ 209\ to\ 2e menu-item "Convert 209 to 2e" 
LaTeX-209-to-2e (nil) :visible (member "latex2" ...)) (Multifile/Parsing 
menu-item "Multifile/Parsing" (keymap "Multifile/Parsing" ... ... ... ... ...)) 
(Find\ Documentation\.\.\. menu-item "Find Documentation..." TeX-doc ([3 63] . 
"  (C-c ?)") :help "Get help on commands, packages, or TeX-related topics in 
general") (Read\ the\ AUCTeX\ Manual menu-item "Read the AUCTeX Manual" 
TeX-goto-info-page ([3 9] . "  (C-c TAB)") :help "Everything worth reading") 
(Customize\ AUCTeX menu-item "Customize AUCTeX" (keymap "Customize AUCTeX" ... 
...)) (Report\ AUCTeX\ Bug menu-item "Report AUCTeX Bug" TeX-submit-bug-report 
(nil) :help "Problems with AUCTeX 11.83? Mail us!")))
  easy-menu-add((keymap "LaTeX" (Section\ \ \(C-c\ C-s\) menu-item "Section  
(C-c C-s)" nil :filter (lambda ... ...)) (Macro\.\.\. menu-item "Macro..." 
TeX-insert-macro ([3 13] . "  (C-c RET)") :help "Insert a macro and possibly 
arguments") (Complete\ Macro menu-item "Complete Macro" TeX-complete-symbol 
([134217737] . "  (M-TAB)") :help "Complete the current macro or environment 
name") (Insert\ Environment\ \ \(C-c\ C-e\) menu-item "Insert Environment  (C-c 
C-e)" nil :filter (lambda ... ...)) (Change\ Environment\ \ \(C-u\ C-c\ C-e\) 
menu-item "Change Environment  (C-u C-c C-e)" nil :filter (lambda ... ...)) 
(Close\ Environment menu-item "Close Environment" LaTeX-close-environment ([3 
93] . "  (C-c ])") :help "Insert the \\end part of the current environment") 
(Item menu-item "Item" LaTeX-insert-item ([3 10] . "  (C-c C-j)") :help "Insert 
a new \\item into current environment") (nil menu-item "-") (Insert\ Font 
menu-item "Insert Font" (keymap "Insert Font" ... ... ... ... ... ... ... ... 
...)) (Replace\ Font menu-item "Replace Font" (keymap "Replace Font" ... ... 
... ... ... ... ... ... ...)) (Delete\ Font menu-item "Delete Font" 
menu-function-19 (t . "  (C-c C-f C-d)") :keys "C-c C-f C-d") (nil menu-item 
"-") (Comment\ or\ Uncomment\ Region menu-item "Comment or Uncomment Region" 
TeX-comment-or-uncomment-region ([3 59] . "  (C-c ;)") :help "Make the selected 
region outcommented or active again") (Comment\ or\ Uncomment\ Paragraph 
menu-item "Comment or Uncomment Paragraph" TeX-comment-or-uncomment-paragraph 
([3 37] . "  (C-c %)") :help "Make the current paragraph outcommented or active 
again") (Formatting\ and\ Marking menu-item "Formatting and Marking" (keymap 
"Formatting and Marking" ... ... ... ... ... ... ... ... ... ...)) (Show/Hide 
menu-item "Show/Hide" (keymap "Show/Hide" ... ... ... ... ... ... ... ... ... 
... ... ... ... ...)) (Math\ Mode menu-item "Math Mode" LaTeX-math-mode ([3 
126] . "  (C-c ~)") :button (:toggle . LaTeX-math-mode) :help "Toggle math 
mode") (nil menu-item "-") (Convert\ 209\ to\ 2e menu-item "Convert 209 to 2e" 
LaTeX-209-to-2e (nil) :visible (member "latex2" ...)) (Multifile/Parsing 
menu-item "Multifile/Parsing" (keymap "Multifile/Parsing" ... ... ... ... ...)) 
(Find\ Documentation\.\.\. menu-item "Find Documentation..." TeX-doc ([3 63] . 
"  (C-c ?)") :help "Get help on commands, packages, or TeX-related topics in 
general") (Read\ the\ AUCTeX\ Manual menu-item "Read the AUCTeX Manual" 
TeX-goto-info-page ([3 9] . "  (C-c TAB)") :help "Everything worth reading") 
(Customize\ AUCTeX menu-item "Customize AUCTeX" (keymap "Customize AUCTeX" ... 
...)) (Report\ AUCTeX\ Bug menu-item "Report AUCTeX Bug" TeX-submit-bug-report 
(nil) :help "Problems with AUCTeX 11.83? Mail us!")) (keymap (tool-bar keymap 
(preview menu-item "Preview at point" preview-at-point :image ... :help 
"Preview on/off at point")) (menu-bar keymap (Preview menu-item "Preview" ...) 
(LaTeX menu-item "LaTeX" ...) (Command menu-item "Command" ... :filter ...)) 
(45 . LaTeX-babel-insert-hyphen) (3 keymap (16 keymap ... ... ... ... ... ... 
... ... ... ...) (126 . LaTeX-math-mode) (19 . LaTeX-section) (93 . 
LaTeX-close-environment) (10 . LaTeX-insert-item) (5 . LaTeX-environment) (42 . 
LaTeX-mark-section) (46 . LaTeX-mark-environment) (17 keymap ... ... ... ...) 
keymap (95 . TeX-master-file-ask) (15 keymap ...) (96 . TeX-next-error) (94 . 
TeX-home-buffer) (12 . TeX-recenter-output-buffer) (11 . TeX-kill-job) (3 . 
TeX-command-master) (2 . TeX-command-buffer) (18 . TeX-command-region) (4 . 
TeX-save-document) (22 . TeX-view) (23 . TeX-toggle-debug-bad-boxes) (20 keymap 
... ... ... ... ... ... ...) (37 . TeX-comment-or-uncomment-paragraph) (59 . 
TeX-comment-or-uncomment-region) (34 . TeX-uncomment) (58 . 
TeX-comment-or-uncomment-region) (39 . TeX-comment-or-uncomment-paragraph) (13 
. TeX-insert-macro) (6 . TeX-font) (123 . TeX-insert-braces) (9 . 
TeX-goto-info-page) (63 . TeX-doc) (14 . TeX-normal-mode) (35 . 
TeX-normal-mode) (125 . up-list)) (27 keymap (13 . LaTeX-insert-item) (1 . 
LaTeX-find-matching-begin) (5 . LaTeX-find-matching-end) keymap (9 . 
TeX-complete-symbol)) (10 . reindent-then-newline-and-indent) keymap (remap 
keymap (previous-error . TeX-previous-error) (next-error . TeX-next-error)) (27 
keymap (9 . TeX-complete-symbol)) (95 . TeX-insert-sub-or-superscript) (94 . 
TeX-insert-sub-or-superscript) (92 . TeX-insert-backslash) (36 . 
TeX-insert-dollar) (34 . TeX-insert-quote) (13 . TeX-newline) (3 keymap (95 . 
TeX-master-file-ask) (15 keymap ...) (96 . TeX-next-error) (94 . 
TeX-home-buffer) (12 . TeX-recenter-output-buffer) (11 . TeX-kill-job) (3 . 
TeX-command-master) (2 . TeX-command-buffer) (18 . TeX-command-region) (4 . 
TeX-save-document) (22 . TeX-view) (23 . TeX-toggle-debug-bad-boxes) (20 keymap 
... ... ... ... ... ... ...) (37 . TeX-comment-or-uncomment-paragraph) (59 . 
TeX-comment-or-uncomment-region) (34 . TeX-uncomment) (58 . 
TeX-comment-or-uncomment-region) (39 . TeX-comment-or-uncomment-paragraph) (13 
. TeX-insert-macro) (6 . TeX-font) (123 . TeX-insert-braces) (9 . 
TeX-goto-info-page) (63 . TeX-doc) (14 . TeX-normal-mode) (35 . 
TeX-normal-mode) (125 . up-list))))
  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 latex.ltx> 
"/usr/local/texlive/2007/texmf-dist/tex/latex/base/latex.ltx" nil nil 
"/usr/local/texlive/2007/texmf-dist/tex/latex/base/latex.ltx" (808186 2049))
  
find-file-noselect("/usr/local/texlive/2007/texmf-dist/tex/latex/base/latex.ltx"
 nil nil nil)
  find-file("/usr/local/texlive/2007/texmf-dist/tex/latex/base/latex.ltx")
  dired-advertised-find-file()
  call-interactively(dired-advertised-find-file)

Emacs  : GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.10.3)
 of 2006-09-19 on rothera, modified by Debian
Package: 11.83

current state:
==============
(setq
 AUCTeX-date "2006-06-07"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto"
                  "/usr/share/emacs/22.0.50/site-lisp/auctex/style"
                  "/var/lib/auctex/emacs-snapshot")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
                     "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help
                     "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for correctness")
                    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
                     t :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")
                    )
 )
-- 
David Kastrup




reply via email to

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