[mew-int 02017] Re: Flyspell in MEW
Patrick Percot
ppercot at example.com
Mon Mar 28 17:47:55 JST 2005
On Tue, 15 Mar 2005 15:02:52 +0900 (JST), Charles Muller <cmuller-lst at example.com> wrote
Hi,
It's not an answer to your question, it's just a digression.
[..Zappé 10 lignes et 324 caractères..]
I have discovered flyspell with your mail, and I have tried it. I just
kept a few of the following lines, but I found a bug. You can't see it
because you are using american dictionary, which is the default for
flyspell. I am using the french dictionary, but if I keep your lines in
this order, flyspell uses the american definitions for the regex that
determine words, not the french ones. So, accented characters are
considered as word delimiters, and flyspell fails on each word that
contains such characters.
To make flyspell work, (set-default 'ispell-local-dictionary "francais")
has to be the first expression, otherwise, ispell-local-dictionary is
set to the nil value, and the default ("american") is used.
Here are the lines I have used (hope it helps, if other persons
encountered the same problem) :
;; Flyspell
(set-default 'ispell-local-dictionary "francais")
(require 'flyspell)
(add-hook 'text-mode-hook (lambda () (flyspell-mode 1)))
(setq ispell-skip-sgml t)
> -------------------------------
>
> ;; Flyspell
> (require 'flyspell)
> (add-hook 'text-mode-hook 'flyspell-mode)
>
> (display-time)
> ;;WORD WRAP AUTOFILL
> (flyspell-mode 1)
> (setq default-major-mode 'text-mode)
> (setq default-major-mode 'mew-mode)
> (setq text-mode-hook
> '(lambda nil
> (setq fill-column 70)
> (auto-fill-mode 1)
> ))
>
> (setq ispell-skip-sgml t)
> (set-default 'ispell-local-dictionary "american")
>
> ------------------------------
[..Zappé 19 lignes et 331 caractères..]
À+
PP
--
Groupe Morbihannais d'Utilisateurs de Logiciels Libres http://www.tuxbihan.org
GPG fingerprint = 1A4F E154 3D2C A20E E4CA A543 7951 C5C2 E44A A0B5
Patrick Percot.
More information about the Mew-int
mailing list