On Mon, Dec 31, 2007 at 09:26:13PM +0100, Milan Zamazal wrote:
> >>>>> "AM" == Agustin Martin <[EMAIL PROTECTED]> writes:
> 
>     AM> The problem here seems to be that aspell-cs info file does not
>     AM> provide casechars/notcasechars strings,
> 
> Well, this is probably not the whole problem.  I don't have aspell-cs
> nor aspell installed, I use ispell for spell checking (and it works fine
> with Emacs ispell.el).

Strange, I tried first with ispell and iczech and everything worked well.
Only found the problem when using aspell and aspell-cs and selected czech.
(all checks done with emacs21, yet to be tried with emacs22). But here the
buffer is in iso-8859-2.

I am now noticing that this problem appears when the buffer is in utf-8,
and not when it is in iso-8859-2, where everything works as expected.

I am attaching the file I used to test the word I think you mean. Since
mail made it 'u?ivatel' I did just run

echo ulivatel | ispell -a -d czech

and used the output as test file (attached) with the explicit addition of
encoding and local dictionary. Please test if the suggestion (after 0:)
is the word you mean. 

With that file in iso-8859-2 (note all checks with emacs21),

- Everything works with ispell + iczech (czech selected) for emacs21
- Problems with aspell + aspell-cs (czech selected) because of the
  mentioned problem.
- Things work for aspell + aspell-cs (cs selected)

With that file in utf-8

- Problems with ispell + iczech (czech selected)
- Problems with aspell + aspell-cs (czech selected)
- Things work for aspell + aspell-cs (cs selected)

Repeating tests with

emacs21 -no-site-file -q 

I get exactly the same results above, safe that cs value is not available
now (this comes from an emacs22 ispell.el feature).

>From the above I tend to think about a problem in emacs with iso-8859-2
charset unification, but cannot say more until I try with emacs22.

Can you please doublecheck that aspell-cs is not installed in your system? I
am not sure when I will be able to try a box with emacs22, and the default
spell-checker for vanilla emacs22 ispell.el is aspell. For aspell + czech
selection vanilla emacs22 allows any utf8 alphabetic char, so I would expect
it to work. For Debian, maintainer provided chars currently prevail. This is
something to be changed, once I manage to preserve info about run-together
words and send changes upstream.

Attaching both files (iso-8859-2 and utf-8) , and a newer version for
aspell-cs config file.

-- 
Agustin
Language: czech (Czech)
Hash-Name: czech
Emacsen-Name: czech
Casechars: 
[A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]
Not-Casechars: 
[^A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]
Otherchars:
Many-Otherchars:
Ispell-Args: -B
Additionalchars: 
\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362
Extended-Character-Mode:
Coding-System: iso-8859-2
Aspell-Locales: cs
@(#) International Ispell Version 3.1.20 10/10/95, patch 1
& ulivatel 1 0: u¾ivatel

Local Variables:
 coding: iso-8859-2
 ispell-local-dictionary: "czech"
End:
@(#) International Ispell Version 3.1.20 10/10/95, patch 1
& ulivatel 1 0: uživatel

Local Variables:
 coding: utf-8
 ispell-local-dictionary: "czech"
End:

Reply via email to