all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ispell/hunspell: Invalid coding system: iso8859-1
@ 2014-03-30 19:17 djc
  2014-03-31  2:41 ` Eli Zaretskii
       [not found] ` <mailman.18581.1396233697.10748.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: djc @ 2014-03-30 19:17 UTC (permalink / raw
  To: help-gnu-emacs

I'm trying to make hunspell work in "GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)" under Win7. It must be something small, but so far I'm stumped.

Hunspell is set up in the ordinary way, and I've installed several dictionaries under hunspell\share\hunspell, including en_US.aff (whose first line is "SET ISO8859-1") and en_US.dic. My initialization code includes

================

(setq ispell-local-dictionary-alist
    '((nil
        "[[:alpha:]]"
        "[^[:alpha:]]"
        "[']"
        t
        ("-d" "en_US" "-p" "E:\\Util\\hunspell\\share\\hunspell\\personal.en")
        nil
        iso8859-1)

      ("american"

        "[[:alpha:]]"
        "[^[:alpha:]]"
        "[']"
        t
        ("-d" "en_US" "-p" "E:\\Util\\hunspell\\share\\hunspell\\personal.en")
        nil
        ISO8859-1)
      )

================

When I explicitly set the dictionary to "american" and then invoke ispell in a buffer, it returns "Invalid coding system: iso8859-1".

What have I overlooked or what have I set up wrong? Many thanks for help.

djc


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

* Re: ispell/hunspell: Invalid coding system: iso8859-1
  2014-03-30 19:17 ispell/hunspell: Invalid coding system: iso8859-1 djc
@ 2014-03-31  2:41 ` Eli Zaretskii
       [not found] ` <mailman.18581.1396233697.10748.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2014-03-31  2:41 UTC (permalink / raw
  To: help-gnu-emacs

> Date: Sun, 30 Mar 2014 12:17:48 -0700 (PDT)
> From: djc <peter.kaiser@gmail.com>
> 
> I'm trying to make hunspell work in "GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)" under Win7. It must be something small, but so far I'm stumped.
> 
> Hunspell is set up in the ordinary way, and I've installed several dictionaries under hunspell\share\hunspell, including en_US.aff (whose first line is "SET ISO8859-1") and en_US.dic. My initialization code includes
> 
> ================
> 
> (setq ispell-local-dictionary-alist
>     '((nil
>         "[[:alpha:]]"
>         "[^[:alpha:]]"
>         "[']"
>         t
>         ("-d" "en_US" "-p" "E:\\Util\\hunspell\\share\\hunspell\\personal.en")
>         nil
>         iso8859-1)
> 
>       ("american"
> 
>         "[[:alpha:]]"
>         "[^[:alpha:]]"
>         "[']"
>         t
>         ("-d" "en_US" "-p" "E:\\Util\\hunspell\\share\\hunspell\\personal.en")
>         nil
>         ISO8859-1)
>       )
> 
> ================
> 
> When I explicitly set the dictionary to "american" and then invoke ispell in a buffer, it returns "Invalid coding system: iso8859-1".
> 
> What have I overlooked or what have I set up wrong? Many thanks for help.

iso8859-1 is not a coding system, you want iso-8859-1 instead.

(Actually, with Hunspell you want UTF-8.)



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

* Re: ispell/hunspell: Invalid coding system: iso8859-1
       [not found] ` <mailman.18581.1396233697.10748.help-gnu-emacs@gnu.org>
@ 2014-03-31 13:32   ` djc
  0 siblings, 0 replies; 3+ messages in thread
From: djc @ 2014-03-31 13:32 UTC (permalink / raw
  To: help-gnu-emacs

Thanks a million, Eli -- that seems to have done it.  I was certainly misled by the "SET ISO8859-1" in en_US.aff.

djc


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

end of thread, other threads:[~2014-03-31 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-30 19:17 ispell/hunspell: Invalid coding system: iso8859-1 djc
2014-03-31  2:41 ` Eli Zaretskii
     [not found] ` <mailman.18581.1396233697.10748.help-gnu-emacs@gnu.org>
2014-03-31 13:32   ` djc

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.