[OS X Emacs] LaTeX toolbar problem

David Strozzi david.strozzi at gmail.com
Fri Jun 26 22:26:33 EDT 2009


Hi,

I've had a problem for several months when opening latex files in
aquamacs.  I'm using ver 1.8 on a 10.5.7 ppc laptop, but the same
thing happened in v 1.7 and maybe earlier.  just too lazy to deal til
now.

I'm attaching a backtrace file.  It seems the problem is related to
the toolbar.  I have the emacs toolbar turned off.  I changed a few
toolbar-related tex settings to off, but the same thing still happens.

Any ideas?

Thanks,
Dave
-------------- next part --------------
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  directory-file-name(nil)
  #[(x) "ÁÂ!!Ã�…
 ‡" [x file-name-nondirectory directory-file-name ("toolbar" "images")] 3](nil)
  mapcar(#[(x) "ÁÂ!!Ã�…
 ‡" [x file-name-nondirectory directory-file-name ("toolbar" "images")] 3] (nil "~/emacs" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/auctex" "/Users/strozzi2/Library/Preferences/Aquamacs Emacs" "/Users/strozzi2/Library/Preferences/Aquamacs Emacs/auto-save-list" "/Users/strozzi2/Library/Preferences/Emacs" "/Library/Preferences/Aquamacs Emacs" "/Library/Preferences/Emacs" "/Users/strozzi2/Library/Application Support/Aquamacs Emacs" "/Users/strozzi2/Library/Application Support/Aquamacs Emacs/Temporary Files" "/Users/strozzi2/Library/Application Support/Emacs" "/Library/Application Support/Aquamacs Emacs" "/Library/Application Support/Emacs" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/macosx" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/oneonone" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/tabbar" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/elib" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/emacs-rails" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/ess-mode" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/haskell-mode" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/info" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/python-mode" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/ess-mode/etc" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/ess-mode/lisp" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/char-name" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/schema" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/ess-mode/etc/icons" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/ess-mode/etc/other" "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/char-name/unicode" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/url" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/textmodes" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/progmodes" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/play" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/obsolete" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/net" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/mh-e" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/mail" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/language" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/international" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/gnus" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/eshell" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/erc" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/emulation" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/emacs-lisp" "/Applications/Aquamacs Emacs.app/Contents/Resources/lisp/calendar" ...))
  byte-code("ÂÃÄÅ\"\"	ÆPC¤‡" [load-path data-directory delq nil mapcar #[(x) "ÁÂ!!Ã�…
 ‡" [x file-name-nondirectory directory-file-name ...] 3] "images/"] 5)
  (defvar toolbarx-image-path (byte-code "ÂÃÄÅ\"\"	ÆPC¤‡" [load-path data-directory delq nil mapcar #[... "ÁÂ!!Ã�…
 ‡" [x file-name-nondirectory directory-file-name ...] 3] "images/"] 5) ("/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/auctex/toolbar-x.elc" . 617))
  require(toolbar-x)
  byte-code("ÀÁ!ˆÀÂ!ˆÀÃ!ˆÀÄ!‡" [require custom toolbar-x tex-buf latex] 2)
  LaTeX-install-toolbar()
  run-hooks(text-mode-hook TeX-mode-hook LaTeX-mode-hook)
  apply(run-hooks (text-mode-hook TeX-mode-hook LaTeX-mode-hook))
  TeX-run-mode-hooks(text-mode-hook TeX-mode-hook LaTeX-mode-hook)
  latex-mode()
  tex-mode()
  set-auto-mode-0(tex-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer cheatsheet-gen.tex> "~/plasma/cheatsheet_gen/cheatsheet-gen.tex" nil nil "~/plasma/cheatsheet_gen/cheatsheet-gen.tex" (2555649 234881033))
  find-file-noselect("/Users/strozzi2/plasma/cheatsheet_gen/cheatsheet-gen.tex" nil nil nil)
  (let ((value ...)) (if tabbar-mode (if ... ... ...) (if ... ...) (switch-to-buffer value)))
  aquamacs-find-file-2("/Users/strozzi2/plasma/cheatsheet_gen/cheatsheet-gen.tex")
  menu-function-9()
  call-interactively(menu-function-9)


More information about the MacOSX-Emacs mailing list