首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Aquamacs文件模式规范错误

Aquamacs文件模式规范错误
EN

Stack Overflow用户
提问于 2015-08-17 15:51:23
回答 1查看 100关注 0票数 0

我不知道我做了什么,但突然之间,当我在Aquamacs中执行各种操作时,我会遇到很多错误。例如,当我试图打开一个C文件时,我得到了“文件模式规范错误:(错误类型-参数编号-或标记- file )”错误。如果打开调试器,将得到以下堆栈跟踪:

代码语言:javascript
复制
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  define-abbrev([## 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 else 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] "else" "else" c-electric-continued-statement 0 t)
  apply(define-abbrev [## 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 else 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] ("else" "else" c-electric-continued-statement 0 t))
  byte-code("\302\303\304  @\305\"#\207" [table defs apply define-abbrev append (t)] 6)
  c-define-abbrev-table(c-mode-abbrev-table (("else" "else" c-electric-continued-statement 0) ("while" "while" c-electric-continued-statement 0)) "Abbreviation table used in c-mode buffers.")
  c-mode()
  set-auto-mode-0(c-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer EventLog.h> "~/repositories/ghc/rts/eventlog/EventLog.h" nil nil "~/repositories/ghc/rts/eventlog/EventLog.h" (12100462 16777218))
  find-file-noselect("~/.cabal/../repositories/ghc/rts/eventlog/EventLog.h" nil nil t)
  find-file("~/.cabal/../repositories/ghc/rts/eventlog/EventLog.h" t)
  call-interactively(find-file nil nil)
  command-execute(find-file)

有人对这里会发生什么事有什么想法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-08-18 14:41:36

好的,所以我不知道发生了什么,但我能够通过进行(非常)干净的重新安装来修复它。我首先删除了应用程序文件夹,然后对文件系统中的任何Aquamacs文件夹进行了递归查找。

代码语言:javascript
复制
find . -regex "Aquamacs.*" -maxdepth 5

给了我一份所有这些文件的清单。在卸载应用程序时,有许多缓存的首选目录不会被删除。我第一次尝试使用,它无法获得所有这些。在我删除了每个Aquamacs相关目录并重新安装之后,它就正常工作了。

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

https://stackoverflow.com/questions/32054625

复制
相关文章

相似问题

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