Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #195487
| From | Pétùr <peturvilj@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | flyspell with hunspell error complaining about utf8 |
| Date | 2018-05-08 13:10 +0200 |
| Message-ID | <vN8Fj-6pV-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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")))
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web