all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ispell-french does not function on GNU Emacs 22.1.1
@ 2007-11-03  0:12 NAGATA Yoshihisa
  0 siblings, 0 replies; 3+ messages in thread
From: NAGATA Yoshihisa @ 2007-11-03  0:12 UTC (permalink / raw)
  To: bug-gnu-emacs

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.

Yoshi Nagata

P.S.
1. This bug does not appear with command-line ispell.
2. Ispell-french worked with the GNU Emacs 21.3.1. (on openSUSE 10.2)

------------------------------------
In GNU Emacs 22.1.1 (i586-suse-linux-gnu, GTK+ Version 2.12.0)
 of 2007-10-05 on dede
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
configured using `configure  '--with-gcc' '--with-pop' '--without-
hesiod' '--with-kerberos' '--with-kerberos5' '--with-leim' '--with-xim' '--
with-system-malloc' '--prefix=/usr' '--infodir=/usr/share/info' '--
mandir=/usr/share/man' '--localstatedir=/var' '--
sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' '--with-
sound' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-
png' '--with-x-toolkit=gtk' '--x-includes=/usr/include' '--x-
libraries=/usr/lib:/usr/share/X11' '--build=i586-suse-linux-
gnu' 'build_alias=i586-suse-linux-gnu' 'CC=gcc' 'CFLAGS=-O2 -march=i586 -
mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -
g -pipe -fno-strict-aliasing 	 -D_GNU_SOURCE 	 -Wno-pointer-sign 
	 -Wno-unused-variable 	 -Wno-unused-label  -
DSYSTEM_PURESIZE_EXTRA=55000 	 -
DSITELOAD_PURESIZE_EXTRA=10000 ' 'LDFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: LaTeX

Minor modes in effect:
  reftex-mode: t
  outline-minor-mode: t
  display-time-mode: t
  global-hl-line-mode: t
  encoded-kbd-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <tools> <spell> <francais> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <tools> <spell> <ispell-buffer> 
M-x r e p o r t - e m a c s - b u g <return>

Recent messages:
Loading byte-opt...done
Loading preview...done
Applying style hooks... done
For information about the GNU Project and its goals, type C-h C-p.
Local Ispell dictionary set to francais
Starting new Ispell process [francais] ...
Spell checking francais.tex using ispell with francais dictionary...
Spell-checking using ispell with francais dictionary done
ispell-get-line: Invalid regexp: "Range striding over charsets"
Loading emacsbug...done






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ispell-french does not function on GNU Emacs 22.1.1
@ 2007-11-05  8:47 Richard Stallman
  2007-11-05 11:23 ` Agustin Martin
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-11-05  8:47 UTC (permalink / raw)
  To: emacs-devel

Would someone please DTRT then ack?
Since this is a bug, the bug ought to be fixed in EMACS_22_BASE.


From: "NAGATA Yoshihisa" <ynagata@fukuoka-u.ac.jp>
Subject: Re: ispell-french does not function on GNU Emacs 22.1.1
To: rms@gnu.org
In-Reply-To: <E1Iola6-0005Rh-OH@fencepost.gnu.org>
Date: Mon, 5 Nov 2007 08:08:56 +0900
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="+_+-Mon Nov  5 08:09:14 2007-26794"

--+_+-Mon Nov  5 08:09:14 2007-26794
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

Dear GNU team,

thank you for your response.

I send you specific files that fail for me.

ATTACHMENT: ispell-french_ng.tar.gz
which contains

francais_latin1.tex (source file)
francais_utf8.tex (source file)
ispell-french_NG_latin1.txt (log file)
ispell-french_NG_utf8.txt (log file)

VERSION OF ISPELL:
ispsell-3.3.02-23
ispell-french-1.5-322

Sincerely yours
Yoshi Nagata, Japan



--+_+-Mon Nov  5 08:09:14 2007-26794
Content-Type: Application/Octet-Stream; name="ispell-french_ng.tar.gz"
Content-Description: ispell-french_ng.tar.gz
Content-Disposition: attachment; filename="ispell-french_ng.tar.gz"
Content-Transfer-Encoding: base64

H4sIAN1MLkcAA+1a/VIbuxXPv92n0Nxph3aKjE0wpJ5w51IwDKmBDDY3oUmGyLvyWmEtbVda
sIe5D9A3SZ6Dv/om4S36k/YDE0hKp1xuJ6MzA949H9LROUfnwzDKmAyZ0CcJM0K2GoZPnzw0
NAGrKyv2s7XWbrr3VvHuHp+uPH3Saq7hc2VlDc8gLrdaT0jzwTW5A3JtWEbIk5lkMTPsG3w8
04+h0OPC20iF+YRLEyZM6zdsJWUpz95dsMyIMOG/BG9x8JSFpyzmbwatdxcjJQ2X4U1CETzv
LoRM89vUUQbU+N3FkA15AlIKpDazhF/wSWpmwAx5LORFpQoQmodGKHnR/Xljf2e31yX9bu9g
n7zobuz/Qv5AnlNKyb9KWrCRk1BBMORWmnw2TBiScPIzz4Z8sWIHS82zSK4sU8Cv+Qh3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UDEm41isgcKVQYyCSV+QQ5fg7vDHsL6zbAXGls4rjeITjk
oZ1P3QzfCZ7n6Y/k+ZgnKeXhWN3vOfhvBb4L4SqUgLfhp/HpemJ8Vt+u/RZ7l435MMeVBX2P
TklGOAlSgtaYGELxMiGMhETjeUhyEpPnGTd5Jn+so6EsIUifPcVstBKXN1RqGo1GpCSv8YjL
M8HPK/RGmiYz1x7Zb3owtKtTDRpxxG3XpqFZm7jOiLAhkofr8myn9jJTdrRwHaQw6J8VmoZF
YmYoRpt0jB900z2b8MiuOyNSjGv3WDaz+d61laXhg76x32RJ14pX7FUD/KbiekegWtB3xHDM
w1MrMLr9l7GyPyssS2yXUHPN6VCvReu17iVX2KZ0W8yNS4wdsiuR+kWEhBvzadohPxximMEY
gIrsDK/QVRKbyHF0/UPtD9cfo6euHPKV+e/W+FZ8D/yA0/895v+n9fy/2lxu2fl/ub3i5//H
gIef/20A+enfT/9++vfTv5/+/fTvp38//fvp30//34/w9dAd+In/e5z4q/+F+g7nfQ8ePHjw
4MGDBw8ePHjw4MGDBw8ePHjw4MGDBw8ePHjw4MGDBw8ePHw/8G/P4Kv5AFAAAA==

--+_+-Mon Nov  5 08:09:14 2007-26794--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ispell-french does not function on GNU Emacs 22.1.1
  2007-11-05  8:47 ispell-french does not function on GNU Emacs 22.1.1 Richard Stallman
@ 2007-11-05 11:23 ` Agustin Martin
  0 siblings, 0 replies; 3+ messages in thread
From: Agustin Martin @ 2007-11-05 11:23 UTC (permalink / raw)
  To: NAGATA Yoshihisa; +Cc: emacs-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-05 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05  8:47 ispell-french does not function on GNU Emacs 22.1.1 Richard Stallman
2007-11-05 11:23 ` Agustin Martin
  -- strict thread matches above, loose matches on Subject: below --
2007-11-03  0:12 NAGATA Yoshihisa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.