【发布时间】:2013-06-12 04:37:38
【问题描述】:
在我的 Mac(Snow Leopard,10.6.8)上,我使用 Emacs 24.2 provided here 的修改版本来利用来自 downloads page 的 Emacs Speaks Statistics (ESS)。 Emacs 可以工作,但我还不能让拼写检查器工作。
为了解决这个问题,我按照this page 的说明下载flyspell。我将flyspell.el 文件复制到我的/Applications/Emacs.app/Contents/Resources/site-lisp 目录中,这显然是我的emacs 加载路径的目录(请注意,例如,auctex.el 文件位于该目录中)。
然后,我修改了我的.emacs 文件,添加了:
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
(autoload 'flyspell-delay-command "flyspell" "Delay on command." t)
(autoload 'tex-mode-flyspell-verify "flyspell" "" t)
(add-hook 'LaTeX-mode-hook 'turn-on-flyspell)
当我打开一个.tex 文件并使用M-x flyspell-mode 时,我可以“自动完成”它(即通过按tab 它给了我正确的flyspell 选项)但是当我按RET 我得到:
Searching for program: no such file or directory, ispell
this question 或this question 中提出的解决方案均无效,所以我不确定这里的问题是什么。有没有人有想法或以前遇到过这个问题?
【问题讨论】:
标签: emacs spell-checking flyspell