emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ispell-french does not function on GNU Emacs 22.1.1


From: Agustin Martin
Subject: Re: ispell-french does not function on GNU Emacs 22.1.1
Date: Mon, 5 Nov 2007 12:23:07 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

NAGATA Yoshihisa wrote:

> How to reproduce the bug:
>
> 0. Please prepare any text file written in French.
> (iso-8859-1 or utf-8)
> 1. Open the file with Emacs.
> 2. Choose "Select Francais Dict" from the menu-bar.
> 3. Do "Spell-Check Buffer"
> 4. Then, you will have the error message below in
> the mini-buffer:
> Invalid regexp: "Range striding over charsets"

> I thank you in advance for your help.

IIRC this kind of error messages comes from ranges like \310-\313 or the
equivalent with the actual chars, which are no longer allowed in emacs22 for
anything but 7bit chars.

French entries in emacs22 ispell.el do not have this kind of ranges,

 ("francais7"
  "[A-Za-z]" "[^A-Za-z]" "[`'^-]" t nil nil iso-8859-1)
 ("francais"                          ; Francais.aff
  
"[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]"
  
"[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]"
  "[-'address@hidden" t nil "~list" iso-8859-1)
 ("francais-tex"                      ; Francais.aff
  
"[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]"
  
"[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]"
  "[-'^`\"address@hidden" t nil "~tex" iso-8859-1)))

May be you have a personal entry using them, or your distro is overriding
default ispell.el values with some old values using these ranges.

Can you please check this?

Checking the output of evaluating

(message "%s" (assoc "francais" ispell-dictionary-alist))

should also help. Note that octal codes will be converted here, so ranges will
be shown with the actual chars.

-- 
Agustin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]