IspellやAspellを使っています、そして、ローカル辞書はどこに保存されますか?
-
26-12-2019 - |
質問
Emacsでスペルチェックするとき、私は m-x ispell
を使用してスペルチェッカーを呼び出すことに慣れています。私は彼らのeMacが編集されたようにあなたのemacsを持っていることを読んだので、これがIspell(またはHunspell、おそらく)ではなくアスペルを呼び出します。
私がイスペルやアスペルを呼び出すのかどうかを言うことができますか?
私は私の.emacs
ファイル(マイホームディレクトリ内)を検索し、参照されているものは何も見られません。
また、(ISPELLを使用していると仮定して)、ここでは「プライベート辞書」は、単語を挿入した場所に保存されます。そのファイルをバックアップしたい(および/または別のマシンに転送します)。
解決
ispell-program-name
の値は、使用されているものをあなたに伝えます。
m - :: 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
. 所属していません StackOverflow