Subject: Re: bug#23097: 24.5; ispell.el: lines with both CASECHARS and NOT-CASECHARS get sent to the spell checker

From: Stefan Kangas <[email-masked]>
Date: Fri, 14 Aug 2020 21:22:24 -0700

Eli Zaretskii <[email-masked]> writes:

>> From: Nikolay Kudryavtsev <[email-masked]>
>> Date: Wed, 23 Mar 2016 21:11:19 +0300
>>
>> Each entry ispell-dictionary-alist has elements called CASECHARS and
>> NOT-CASECHARS. They are used for defining what gets sent to the spell
>> checker and what does not.
>>
>> One use case for them is that, if you have two dictionaries for
>> languages with totally different alphabets, you can spellcheck a file
>> where both languages are mixed together. In theory.
>
> Don't you need to restart the spell-checker each time you switch the
> dictionaries?  AFAIK, only Hunspell supports such mixed
> spell-checking, and with Hunspell you don't need to break the line
> into separate words in that case.  With any other spell-checker, you
> need to restart it whenever you switch languages.

It seems like this is a limitation of external software then, and not in
Emacs?  Should this therefore be closed, or is there anything more to do
here?

Best regards,
Stefan Kangas