On Wed, Jan 31, 2007 at 03:05:11PM +0100, Rafael Laboissiere wrote: > * Rafael Laboissiere <[EMAIL PROTECTED]> [2007-01-27 00:42]: > > > One possible solution is to introduce squirrelspell support into > > dictionaries-common. [snip] > > Okay, I gave it a try. Agustín, you will find below a patch to the current > CVS sources that introduce SquirrelMail support in dictionaries-common. The > idea is to generate a PHP file > (/sid/var/cache/dictionaries-common/sqspell.php) > that can be sourced during SquirrelMail initialization. The file currently > generated in my system is attached below.
Thanks, Rafael. Since we are this close to etch release and these changes will not go into etch, I would wait a bit before committing stuff, so we are sure that this is what is really wanted. I still think that it would be better to use plain ispell-wrapper, so other interesting info is used when spellchecking. I tested it by setting 'ispell-program-name' in emacs to ispell-wrapper and seems to work well, so I would expect 'ispell-wrapper -a --language=...' to work as well from squirrelmail. I will make sure that ispell-wrapper internally escapes parentheses when needed, so everything can be done after the entry names with small changes to current sqspell code. Also I guess we need to somewhat strip the list of dicts, e.g., I doubt that the TeX variants have a meaning in that list for squirrelmail. Thijs, ¿what do you think about this? -- Agustin