info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing language input method by addressee


From: Bob Newell
Subject: Re: Changing language input method by addressee
Date: Fri, 09 Mar 2018 07:02:59 -1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> 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 really the right way. Then the method is extensible easily to
any number of languages and the language preferences are stored with the
rest of the recipient's info. And there is no need to loop through a
potentially long list.

Many thanks for the idea. I'll go about implementing it.

-- 
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *



reply via email to

[Prev in Thread] Current Thread [Next in Thread]