簡體   English   中英

emacs乳膠auctex錯誤:空變量乳膠模式

[英]emacs latex auctex error: void-variable latex-mode

我已經升級到Fedora 20,並且乳膠模式/ auctex突然壞了。 每當嘗試進入乳膠模式時,我都會收到錯誤消息:

command-execute: Symbol's value as variable is void: latex-mode

使用toggle-debug-on-error我看到:

Debugger entered--Lisp error: (void-variable latex-mode)
  byte-code("\301\302\303\304\305\306\307\310\307\311&  \210\312\313\303\314\315\316\307\302&\210\312\317\303\320\315\316\307\302&\210\312\321\303\322\315\316\307\302&\210\312\323\324\325\315\316\307\302&\210\312\326\303\327\315\330\307\310&\210\331!\210\332\333\334\"\207" [latex-mode custom-declare-group LaTeX-macro nil "Special support for LaTeX macros in AUCTeX." :prefix "TeX-" :group LaTeX TeX-macro custom-declare-variable TeX-arg-cite-note-p "*If non-nil, ask for optional note in citations." :type boolean TeX-arg-footnote-number-p "*If non-nil, ask for optional number in footnotes." TeX-arg-item-label-p "*If non-nil, always ask for optional label in items.\nOtherwise, only ask in description environments." TeX-arg-right-insert-p t "*If non-nil, always insert automatically the corresponding \\right.\nThis happens when \\left is inserted." LaTeX-mode-hook "A hook run in LaTeX mode buffers." hook TeX-abbrev-mode-setup add-to-list auto-mode-alist ("\\.drv\\'" . latex-mode)] 10)
  command-execute(latex-mode record)
  execute-extended-command(nil "latex-mode")
  call-interactively(execute-extended-command nil nil)

請幫忙!是什么使我的LaTeX模式崩潰了,我該如何解決?

GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.9.10) of 2013-08-14 on buildvm-17.phx2.fedoraproject.org

https://github.com/bbatsov/prelude/issues/407之后,我重新安裝了AucTex。 這似乎已經解決了問題。 我使用列表包,然后刪除了AuxTex,然后重新安裝。 我現在可以使用LaTeX模式。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM