Emacs-Kieran Healy的Emacs入门套件aspell英语词典 [英] Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery

查看:119
本文介绍了Emacs-Kieran Healy的Emacs入门套件aspell英语词典的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要使我的emacs配置正常工作,我遇到了一些(更多)困难.我想使用Flyspell自动拼写检查.当我尝试通过菜单栏启用自动拼写检查时,出现以下错误.

I am having some (more) difficulties getting my emacs config to work. I want to use Flyspell automatic spell checking. When I try to enable automatic spell checking (via the menu bar), I get the following error.

Starting new Ispell process aspell with english dictionary...
Error enabling Flyspell mode:
(Error: The file "/usr/local/lib/aspell-0.60/english" can not be opened 
for reading.)

快速浏览/usr/local/lib/aspell-0.60/显示我没有安装英语词典.更全面的是,这是已安装的内容:

A quick look at /usr/local/lib/aspell-0.60/ reveals that I have no English dictionary installed. More fully, here is what is installed:

 Lindsays-MacBook-Pro:lib ljs$ ls aspell-0.60/
 ccpp.amf       cp1258.cset     iso-8859-2.cmap     nroff-filter.info
comment.amf     dvorak.kbd      iso-8859-2.cset     nroff-filter.la
context-filter.info email-filter.info   iso-8859-3.cmap     nroff- 
filter.so
context-filter.la   email-filter.la     iso-8859-3.cset     nroff.amf
context-filter.so   email-filter.so     iso-8859-4.cmap     perl.amf
cp1250.cmap     email.amf       iso-8859-4.cset     sgml-filter.info
cp1250.cset     html-filter.info    iso-8859-5.cmap     sgml-filter.la
cp1251.cmap     html.amf        iso-8859-5.cset     sgml-filter.so
cp1251.cset     iso-8859-1.cmap     iso-8859-6.cmap     sgml.amf
cp1252.cmap     iso-8859-1.cset     iso-8859-6.cset     spell
cp1252.cset     iso-8859-10.cmap    iso-8859-7.cmap     split.kbd
cp1253.cmap     iso-8859-10.cset    iso-8859-7.cset     standard.kbd 
cp1253.cset     iso-8859-11.cmap    iso-8859-8.cmap     tex-filter.info
cp1254.cmap     iso-8859-11.cset    iso-8859-8.cset     tex-filter.la
cp1254.cset     iso-8859-13.cmap    iso-8859-9.cmap     tex-filter.so
cp1255.cmap     iso-8859-13.cset    iso-8859-9.cset     tex.amf
cp1255.cset     iso-8859-14.cmap    ispell          texinfo-filter.info
cp1256.cmap     iso-8859-14.cset    koi8-r.cmap     texinfo-filter.la
cp1256.cset     iso-8859-15.cmap    koi8-r.cset     texinfo-filter.so
cp1257.cmap     iso-8859-15.cset    koi8-u.cmap     texinfo.amf
cp1257.cset     iso-8859-16.cmap    koi8-u.cset     url.amf
cp1258.cmap     iso-8859-16.cset    none.amf

任何帮助表示赞赏

推荐答案

好像安装的aspell损坏.假设您使用Homebrew进行安装,只需将其卸载,然后重新安装即可.

Looks like you have a broken install of aspell. Assuming you used Homebrew to install it, just uninstall it, and reinstall it.

$ brew uninstall aspell
$ brew update
$ brew install aspell

如果您仍然遇到问题,请注释掉

If you're still having trouble, maybe comment out

(starter-kit-load "starter-kit-aspell.org")

来自starter-kit.org,看起来像

;;(starter-kit-load "starter-kit-aspell.org")

这将防止入门套件加载其flycheck/aspell设置,从而允许您使用默认设置.您将必须在要使用它的缓冲区上手动启用flyspell. Meta - x flyspell-mode可以解决问题.

This will prevent the starter-kit from loading its flycheck/aspell settings allowing you to use the defaults. You will have to manually enable flyspell on a buffer where you want to use it. Meta-x flyspell-mode will do the trick.

这篇关于Emacs-Kieran Healy的Emacs入门套件aspell英语词典的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆