unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Getting flyspell + hunspell to work on OS X 10.10
@ 2015-03-12 16:19 Lucas Holland
  2015-03-12 18:23 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Holland @ 2015-03-12 16:19 UTC (permalink / raw)
  To: help-gnu-emacs

Hello all,

I have hunspell and ispell installed (via homebrew). In my .emacs file I have 

(when (executable-find "hunspell")
  (setq-default ispell-program-name "hunspell")
  (setq ispell-really-hunspell t))

I also have a dictionary installed, hunspell -D gives: 

AVAILABLE DICTIONARIES (path is not mandatory for -d option):
./de_DE_frami
/Users/lucas/Library/Spelling/de_DE_frami

(executable-find "hunspell“) returns /usr/local/bin/hunspell. 

So hunspell can find the dictionary I want to use and emacs sees hunspell. 

However, when I try to enable flyspell-mode I get:

Error enabling Flyspell mode: (ispell-phaf: No matching entry for nil) 

Any help would be appreciated! 

Lucas



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Getting flyspell + hunspell to work on OS X 10.10
  2015-03-12 16:19 Getting flyspell + hunspell to work on OS X 10.10 Lucas Holland
@ 2015-03-12 18:23 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2015-03-12 18:23 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Lucas Holland <hollandlucas@gmail.com>
> Date: Thu, 12 Mar 2015 17:19:15 +0100
> 
> I have hunspell and ispell installed (via homebrew). In my .emacs file I have 
> 
> (when (executable-find "hunspell")
>   (setq-default ispell-program-name "hunspell")
>   (setq ispell-really-hunspell t))
> 
> I also have a dictionary installed, hunspell -D gives: 
> 
> AVAILABLE DICTIONARIES (path is not mandatory for -d option):
> ./de_DE_frami
> /Users/lucas/Library/Spelling/de_DE_frami
> 
> (executable-find "hunspell“) returns /usr/local/bin/hunspell. 
> 
> So hunspell can find the dictionary I want to use and emacs sees hunspell. 
> 
> However, when I try to enable flyspell-mode I get:
> 
> Error enabling Flyspell mode: (ispell-phaf: No matching entry for nil) 

Does the problem happen in "emacs -Q", if you manually set
ispell-program-name to "/usr/local/bin/hunspell", and do no other
customizations related to ispell.el?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-12 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 16:19 Getting flyspell + hunspell to work on OS X 10.10 Lucas Holland
2015-03-12 18:23 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).