IspellやAspellを使っています、そして、ローカル辞書はどこに保存されますか?

StackOverflow https://stackoverflow.com//questions/21063959

  •  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
.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top