簡體   English   中英

Aquamacs文件模式規范錯誤

[英]Aquamacs File mode specification error

我不確定自己做了什么,但是突然之間,當我在Aquamacs中執行各種操作時,我遇到了很多錯誤。 例如,當我嘗試打開C文件時,出現錯誤“文件模式規范錯誤:(錯誤的類型參數數字或標記-p nil)”。 如果打開調試器,則會得到以下堆棧跟蹤:

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)

任何人對這里可能發生的事情有任何想法嗎?

好的,所以我不知道發生了什么,但是我能夠通過(非常)干凈的重新安裝來修復它。 我首先刪除了應用程序文件夾,然后對文件系統中的所有Aquamacs文件夾進行了遞歸查找。

find . -regex "Aquamacs.*" -maxdepth 5

能夠給我列出所有這些文件。 卸載應用程序時,有一堆緩存的首選項目錄不會被刪除。 我首先嘗試使用App Cleaner,但無法獲得所有這些。 在刪除所有與Aquamacs相關的目錄並重新安裝后,它工作正常。

暫無
暫無

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

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