[Top][All Lists]

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

Re: Using quail input methods to translate buffer text.

From: Peter Heslin
Subject: Re: Using quail input methods to translate buffer text.
Date: Sun, 23 Jul 2006 22:30:28 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Kenichi Handa <address@hidden> writes:

>  A user can select the next/prev
> group by typing C-n/C-p.  In addition, several input methods
> (including chinese-py) remembers the last selection. 

OK, thanks for explaining this.

> I think it's not worth working on quail-conv to make it work
> correctly for all cases.  

I agree -- or rather I am now persuaded that there isn't a consistent
and useful automatic translation behavior when the input method requires
the user to choose between a list of possible translations.

> How about just make it work well for simple input methods (i.e. ones
> that (quail-simple) return t) and reject complicated input methods.

I have made and documented a small change to the code so that it throws
an error when it encounters a vector of multiple possible translations
rather than a single translation.  This way the simple roman -> hiragana
translation still works, but the chinese-py example will throw an error.

Peter Heslin (http://www.dur.ac.uk/p.j.heslin)

reply via email to

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