From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.devel Subject: Re: ispell-french does not function on GNU Emacs 22.1.1 Date: Mon, 5 Nov 2007 12:23:07 +0100 Message-ID: <20071105112307.GA4217@agmartin.aq.upm.es> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194261385 32551 80.91.229.12 (5 Nov 2007 11:16:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2007 11:16:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: NAGATA Yoshihisa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 05 12:16:29 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IozwJ-0005IK-Mz for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 12:16:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iozw9-0003VS-1r for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 06:16:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iozw6-0003VD-51 for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:16:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iozw4-0003V1-S1 for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:16:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iozw4-0003Uy-NN for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:16:04 -0500 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iozw4-0002b6-7L for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:16:04 -0500 Original-Received: from debian (domagus.ccupm.upm.es [138.100.247.74]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id lA5BFUlp008632; Mon, 5 Nov 2007 12:15:33 +0100 Original-Received: by debian (Postfix, from userid 1000) id 2186617EBD; Mon, 5 Nov 2007 12:23:07 +0100 (CET) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82565 Archived-At: 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]" "[-'.@]" 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\\]" "[-'^`\".@]" 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