Subject: Speller config: use two languages

From: Sven Semmler <[email-masked]>
Date: Tue, 21 Oct 2003 18:04:30 +0200 (CEST)

I try to setup my pine to use two different speller configurations. In my
home directory I have two shell scripts called:

~/bin/pine-spellcheck-de
~/bin/pine-spellcheck-en

Normally I use pine-spellcheck-en, but sometimes I want to use
pine-spellcheck-de instead. I tried roles, but there is no "speller" line.
At the moment, I have to go into the Setup and change the "speller" line
manually.

Is there a better solution?

/Sven

- -- 
Sven Semmler                      http://www.semmlerconsulting.com/
key fingerprint: 72CA E26D C2A3 1FEB 7AFC  10EA F769 A9A4 937F 5E67
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 21 Oct 2003 09:13:59 -0700 (PDT)

*** Sven Semmler ([email-masked]) wrote in the pine-info...:

:) Normally I use pine-spellcheck-en, but sometimes I want to use
:) pine-spellcheck-de instead. I tried roles, but there is no "speller"
:) line. At the moment, I have to go into the Setup and change the
:) "speller" line manually.
:)
:) Is there a better solution?

the best you can do (i think) is to define the speller as a script that
allows you to choose the language by using a menu of some kind.

 Another more sophisticated way is to make this script recognize the
language, for example, you can use a role to include a template file, the
contents of that template file could be "use-this-spell-checker". This
text will be part of the the message, then your script will look for that
text and select the speller based on that.  A sending filter could remove
that text from the body of the message, or you could remove it when you
are ready to send.

Eduardo
http://www.math.washington.edu/~chappa/pine/