unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Can't open affix or dictionary flies
@ 2013-01-10 16:29 Oliver Jones
  2013-01-10 17:47 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Jones @ 2013-01-10 16:29 UTC (permalink / raw)
  To: help-gnu-emacs

Hello everone,

this is my first eMail to the list.
I have trouble getting spellchecking to work with Emacs 24.2.1 and Hunspell 1.3.2 on Windows XP.

I have read the help about spelling in the built in manual and searched the internet where I 
found advice to include these lines to my ~/.emacs.d/init.el file.

(setq ispell-dictionary-alist
    '((nil ; default
       "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t
       ("-d" "C:\\Dokumente und Einstellungen\\ojones\\Eigene 
Dateien\\dictionaries\\de_DE_frami" "-i" "utf-8") nil utf-8)
      ("english"
       "[A-Za-z]" "[^A-Za-z]" "[']" nil
       ("-d" "en_GB") nil utf-8)
      ("german"
       "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t
       ("-d" "'C:\\Dokumente und Einstellungen\\ojones\\Eigene 
Dateien\\dictionaries\\de_DE_frami'" "-i" "utf-8") nil utf-8)
      ("british"
       "[A-Za-z]" "[^A-Za-z]" "[']" nil
       ("-d" "en_GB") nil utf-8)))
(eval-after-load "ispell"
     (progn
       (setq ispell-dictionary "german"
	    ispell-extra-args '("-a" "-i" "utf-8") ; aspell doesn't understand -i utf-8, hunspell 
needs it
	    ispell-silently-savep t)))
(setq ispell-program-name "C:\\Dokumente und Einstellungen\\ojones\\Eigene 
Dateien\\hunspell-mingw-1.3.2-win32\\bin\\hunspell.exe")

where I made changes regarding the path to the affix and dictionary files and the hunspell.exe.

I verified that hunspell works, by executing it on the command line.

When I type M-x ispell in emacs I get the following error message

Can't open affix or dictionary flies for dictionary named "german".
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)

Any help is highly appreciated.

Kind Regards
Oliver




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

* Re: Can't open affix or dictionary flies
  2013-01-10 16:29 Can't open affix or dictionary flies Oliver Jones
@ 2013-01-10 17:47 ` Peter Dyballa
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2013-01-10 17:47 UTC (permalink / raw)
  To: Oliver Jones; +Cc: help-gnu-emacs


Am 10.01.2013 um 17:29 schrieb Oliver Jones:

> Can't open affix or dictionary flies for dictionary named "german".

Is its name really "german"? Or is it "deutsch"? You can try to use the interactive function ispell-change-dictionary to load any other ispell dictionary. Which dictionaries does ispell see? In which directory is it looking? Is there anything to correct in your settings?

--
Mit friedvollen Grüßen

  Pete

There's no place like ~
			– (UNIX Guru)




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

end of thread, other threads:[~2013-01-10 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 16:29 Can't open affix or dictionary flies Oliver Jones
2013-01-10 17:47 ` Peter Dyballa

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