I imagine you could use set-language-environment and
set-language-environment-hook to do what you mention (but of course I've
not tried it!).
--
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *
___
info-gnus-english mailing list
info-gnu
Aloha everyone,
Just for completeness, here's the final result, and it's much much
better. In BBDB just 'i' a 'language' field for those correspondents
with whom you correspond in whatever language, and then enter the input
mode, like 'french-postfix'. As long as you're using message mode and
BBDB
Bob Newell wrote:
>> A better solution might involve giving your BBDB contacts a "language"
>> xfield, holding values like "fr" or "de". Then in the
>> message-setup-hook just retrieve the actual BBDB contact, check if it
>> has a language xfield, and set the input method accordingly.
> This is
Eric Abrahamsen writes:
> A better solution might involve giving your BBDB contacts a "language"
> xfield, holding values like "fr" or "de". Then in the
> message-setup-hook just retrieve the actual BBDB contact, check if it
> has a language xfield, and set the input method accordingly.
This is
Bob Newell writes:
> Aloha everyone,
>
> I mostly correspond in English, but I have a few French correspondents
> and a couple of German ones. So I wanted to automatically enter French
> input mode or German input mode respectively when writing to one of
> those folks. After an embarrassing amoun