我使用ispell或aspell,本地字典保存在哪里?

时间:2014-01-11 15:14:49

标签: emacs dictionary ispell

在Emacs中进行拼写检查时,我习惯使用 M-x ispell来调用拼写检查程序。我已经读过有些人配置了他们的Emacs所以这会调用aspell而不是ispell(或者可能是hunspell)。

如何判断我是在调用ispell还是aspell?

我查看了我的.emacs文件(在我的主目录中),但没有看到任何引用文件。

另外,(假设我正在使用ispell),在我插入单词的地方保存了“私人字典”。我想备份该文件(和/或将其传输到另一台机器)。

1 个答案:

答案 0 :(得分:1)

ispell-program-name的值告诉您正在使用的内容。

米 - : ispell-program-name

ispell.el 陈述:

(defconst ispell-pdict-keyword "Local IspellPersDict: "
  "The keyword for defining buffer local dictionaries.
Keyword must be followed by the filename of a personal dictionary.
The last occurring definition in the buffer will be used.")
....
;; Change IspellPersDict to IspellPersDict: to enable the following line.
;; Local IspellPersDict ~/.ispell_lisp
相关问题