在我的Mac(Snow Leopard,10.6.8)中,我使用的是Emacs 24.2的修改版本。在此处提供的emacs用EMACS语言统计(ESS)从

问题描述 投票:0回答:2
下载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

时,我可以“自动完成”它(即,通过按下标签,它给了我正确的flyspell选项),但是当我按下时,我会得到:

RET

this问题或这个问题上没有提出的解决方案,所以我不确定这里的问题是什么。有人有想法还是以前遇到过这个问题?
	

请,请阅读emacs本身提供的文档,然后再尝试从随机网站进行任意说明。 Emacs 24.2包括Flyspell。 您必须明确安装它。 如果您这样做,那就删除,也就是说,从

Searching for program: no such file or directory, ispell
删除
flyspell.el
。 充其量,完全删除
/Applications/Emacs.app/Contents/Resources/site-lisp
,然后重新安装它,从头开始。

否,Flyspell需要一个拼写检查工具,该工具不包含在Emacs中。 错误消息告诉您您没有安装此类工具。
您需要安装
eplel

SpellChecker。 您可以使用 -homebrew安装它。

i使用
emacs spell-checking flyspell
2个回答
38
投票
安装

/Applications/Emacs.appbrew install aspell

,然后将我设置在

ispell aspell

对此也有类似的讨论。
    

我必须执行以下操作才能启动ISPell进程:

下载ispell(

Http://www.ssc.wisc.edu/~dvanness/ispell.htm

在我路径中的文件夹中的unzip内容(即窗口或 C:\ Windows \System 下载aspell(Http://aspell.net/win32/) 完整下载。请参阅页面上的链接。 (是否需要 我不确定是否iSpell)

添加下面显示的代码到您的init.el文件

11
投票

run aspellinstaller

再次启动emacs,错误不应出现。

~/.emacs

您许多人不必做以上所有事情,但这对我在Windows 7上运行的Emacs有用。
    

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.