首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >emacs latex auctex错误: void-variable latex mode

emacs latex auctex错误: void-variable latex mode
EN

Stack Overflow用户
提问于 2013-12-27 21:55:52
回答 1查看 582关注 0票数 2

我已经升级到Fedora 20,突然latex mode/auctex坏了。每当尝试进入latex模式时,我都会收到错误:

代码语言:javascript
复制
command-execute: Symbol's value as variable is void: latex-mode

通过使用toggle-debug-on-error,我发现:

代码语言:javascript
复制
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

EN

回答 1

Stack Overflow用户

发布于 2013-12-27 22:39:09

https://github.com/bbatsov/prelude/issues/407之后,我重新安装了AucTex。这似乎已经做到了这一点。我使用了list-packages,然后删除了AuxTex,然后重新安装。我现在可以使用LaTeX模式了。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20801966

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档