[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] 11.81; removing AUCTeX
From: |
Les Saper |
Subject: |
[Bug-AUCTeX] 11.81; removing AUCTeX |
Date: |
Wed, 16 Nov 2005 10:55:56 -0500 |
I would like to remove or disable a site-installed AUCTeX. I
tried this two ways, as indicated below. Each way resulted in an
error; I include the two backtraces.
1) According to the manual removing AUCTeX can be done by including the line
(unload-feature 'tex-site)
in my ~/.emacs file. When I do this I am informed that an error occured
while loading .emacs:
Wrong type argument: listp, texinfo
The full backtrace is an follows:
Debugger entered--Lisp error: (wrong-type-argument listp texinfo)
assq-delete-all(TeX-modes-set (texinfo (TeX-modes-set (quote TeX-modes)
TeX-modes t)))
(while list (assq-delete-all (quote TeX-modes-set) (car list)) (setq list
(cdr list)))
(let ((list after-load-alist)) (while list (assq-delete-all ... ...) (setq
list ...)))
(lambda nil (let (...) (while list ... ...)) (setq load-path (delq
TeX-lisp-directory load-path)))()
run-hooks(tex-site-unload-hook)
unload-feature(tex-site)
eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/home/faculty/saper/.emacs" "~/.emacs" t t)
load("~/.emacs" t t)
#[nil
"?? ?=???Q?5 ?=?'????#?#??5??5
?=?1??5??Q??\n??#??=?F????!?????!??P?!?d?o?\f!?n\f?o?????\f\"????\f#???!?\f*?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??command-line()
normal-top-level()
2) I also tried to start emacs with `emacs -q -no-site-file' as recommended in
the FAQ. I then evaluated (load "auctex.el" nil t t) in order to load
AUCTeX. I then evaluated (unload-feature 'tex-site) to remove AUCTeX.
Again there was an error; the backtrace was
Debugger entered--Lisp error: (wrong-type-argument listp "desktop")
assq-delete-all(TeX-modes-set ("desktop" (progn (dolist ... ...) (add-hook
... ...))))
(while list (assq-delete-all (quote TeX-modes-set) (car list)) (setq list
(cdr list)))
(let ((list after-load-alist)) (while list (assq-delete-all ... ...) (setq
list ...)))
(lambda nil (let (...) (while list ... ...)) (setq load-path (delq
TeX-lisp-directory load-path)))()
run-hooks(tex-site-unload-hook)
unload-feature(tex-site)
eval((unload-feature (quote tex-site)))
eval-last-sexp-1(t)
eval-last-sexp(t)
eval-print-last-sexp()
* call-interactively(eval-print-last-sexp)
I would appreciate any suggestions you have.
- Les Saper
-----------------------------------------------------------
Leslie Saper e-mail: address@hidden
Department of Mathematics phone: 919-660-2843
Duke University Fax: 919-660-2821
Box 90320
Durham, NC 27708-0320
USA
Emacs : GNU Emacs 21.4.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-05-18 on decompose.build.redhat.com
Package: 11.81
current state:
==============
(setq
AUCTeX-date "2005-09-25"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("style" "auto"
"/home/faculty/saper/usr/share/lilypond/tex/style"
"/home/faculty/saper/TeX/Inputs/style"
"/home/faculty/saper/usr/share/lilypond/tex/auto"
"/home/faculty/saper/TeX/Inputs/auto"
"/usr/share/emacs/site-lisp/auctex/style" "/var/auctex")
TeX-auto-save nil
TeX-parse-self nil
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")
("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive
nil (context-mode) :help "Clean temporary ConTeXt files")
("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" "<ignored>" TeX-run-ispell-on-document nil t
:help "Spell-check the document")
("Other" "" TeX-run-command t t :help
"Run an arbitrary command")
)
)
- [Bug-AUCTeX] 11.81; removing AUCTeX,
Les Saper <=