Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195487 > unrolled thread

flyspell with hunspell error complaining about utf8

Started byPétùr <peturvilj@gmail.com>
First post2018-05-08 13:10 +0200
Last post2018-05-16 01:10 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  flyspell with hunspell error complaining about utf8 Pétùr <peturvilj@gmail.com> - 2018-05-08 13:10 +0200
    Re: flyspell with hunspell error complaining about utf8 Pétùr <peturvilj@gmail.com> - 2018-05-14 16:00 +0200
      Re: flyspell with hunspell error complaining about utf8 Stefan Monnier <monnier@iro.umontreal.ca> - 2018-05-14 18:00 +0200
        Re: flyspell with hunspell error complaining about utf8 Pétùr <peturvilj@gmail.com> - 2018-05-15 16:20 +0200
          Re: flyspell with hunspell error complaining about utf8 Stefan Monnier <monnier@IRO.UMontreal.CA> - 2018-05-16 01:10 +0200

#195487 — flyspell with hunspell error complaining about utf8

FromPétùr <peturvilj@gmail.com>
Date2018-05-08 13:10 +0200
Subjectflyspell with hunspell error complaining about utf8
Message-ID<vN8Fj-6pV-7@gated-at.bofh.it>
Hi,

Does anyone have also an error when using flyspell with hunspell (inside
emacs of course)?

I have the following error when activate flyspell-mode (with hunspell
set as the default dictionnary):

"Error enabling Flyspell mode:
(UTF-8)"

My flyspell configuration (below) worked flawless for years.


(if (file-exists-p "/usr/bin/hunspell")
    (progn
      (setq ispell-program-name "hunspell")
      (eval-after-load "ispell"
        '(progn (defun ispell-get-coding-system () 'utf-8)))))

;(setq ispell-dictionary "francais")
(setq flyspell-sort-corrections nil)

(global-set-key [f2] 'flyspell-mode)
(add-hook 'LaTeX-mode-hook 'flyspell-mode)
(add-hook 'mail-mode-hook 'flyspell-mode)
;(add-hook 'org-mode-hook 'flyspell-mode)

(global-set-key
 [f3]
 (lambda ()
   (interactive)
   (ispell-change-dictionary "francais")))
(global-set-key
 [f4]
 (lambda ()
   (interactive)
   (ispell-change-dictionary "english")))

[toc] | [next] | [standalone]


#195724

FromPétùr <peturvilj@gmail.com>
Date2018-05-14 16:00 +0200
Message-ID<vPmb7-nd-3@gated-at.bofh.it>
In reply to#195487
On 08/05/18 13:06, Pétùr wrote:

>I have the following error when activate flyspell-mode (with hunspell
>set as the default dictionnary):
>
>"Error enabling Flyspell mode:
>(UTF-8)"
>
>My flyspell configuration (below) worked flawless for years.

No one is affected by this bug in debian sid?

I tried different ways to call flyspell with hunspell as dictionnary.
None is working.

Pétùr

[toc] | [prev] | [next] | [standalone]


#195729

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2018-05-14 18:00 +0200
Message-ID<vPo3g-1tO-5@gated-at.bofh.it>
In reply to#195724
>>I have the following error when activate flyspell-mode (with hunspell
>>set as the default dictionnary):
>>
>>"Error enabling Flyspell mode:
>>(UTF-8)"
>>
>>My flyspell configuration (below) worked flawless for years.
>
> No one is affected by this bug in debian sid?
> I tried different ways to call flyspell with hunspell as dictionnary.
> None is working.

You might have better luck in an Emacs forum.
I'm not using Sid but FWIW I haven't faced this problem on testing.
Also, try and see if the problem also appears with `emacs -q` (if not,
then try and figure out which part of your ~/.emacs triggers the problem).

        Stefan

[toc] | [prev] | [next] | [standalone]


#195772

FromPétùr <peturvilj@gmail.com>
Date2018-05-15 16:20 +0200
Message-ID<vPIY1-5Ac-3@gated-at.bofh.it>
In reply to#195729
On 14/05/18 11:48, Stefan Monnier wrote:
>>>I have the following error when activate flyspell-mode (with hunspell
>>>set as the default dictionnary):
>>>
>>>"Error enabling Flyspell mode:
>>>(UTF-8)"
>>>
>>>My flyspell configuration (below) worked flawless for years.
>>
>> No one is affected by this bug in debian sid?
>> I tried different ways to call flyspell with hunspell as dictionnary.
>> None is working.
>
>You might have better luck in an Emacs forum.
>I'm not using Sid but FWIW I haven't faced this problem on testing.
>Also, try and see if the problem also appears with `emacs -q` (if not,
>then try and figure out which part of your ~/.emacs triggers the problem).

I spend some time yesterday on IRC (#emacs) and it seems it is a bug
related to the language (French). Another french user was affected but
didn't find a solution. The problem is still present when starting
emacs with the `-q` option.

[toc] | [prev] | [next] | [standalone]


#195781

FromStefan Monnier <monnier@IRO.UMontreal.CA>
Date2018-05-16 01:10 +0200
Message-ID<vPReW-25e-9@gated-at.bofh.it>
In reply to#195772
> I spend some time yesterday on IRC (#emacs) and it seems it is a bug
> related to the language (French). Another french user was affected but
> didn't find a solution. The problem is still present when starting
> emacs with the `-q` option.

Then I recommend you file a bug about it,


        Stefan

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web