[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: |
Thu, 20 Jul 2006 18:40:05 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Kenichi Handa <address@hidden> writes:
> It still doesn't work for chinese-py. For instance, typing
> "bei2" should input "北", but quail-conv doesn't handle the
> last "2" correctly.
Ah, thanks. I think I've fixed this bug, but I'm not sure my fix is
correct. I have assumed that each compound character sequence may be
followed by at most a single digit, and that this digit is used to
access the relevant vector like so: "1" gets the 0th element, "2" gets
the 1st ..., "9" gets the 8th, and "0" gets the 9th. Does that sound
right?
PY.el says: "(each group contains at most 10 characters)", which I take
to mean that the index number following each group is never more than a
single digit. Are there other input methods where this is not true?
Revised code attached.
--
Peter Heslin (http://www.dur.ac.uk/p.j.heslin)
quail-conv.el
Description: application/emacs-lisp
- Using quail input methods to translate buffer text., Peter Heslin, 2006/07/05
- Re: Using quail input methods to translate buffer text., Evil Boris, 2006/07/06
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/06
- Re: Using quail input methods to translate buffer text., Peter Heslin, 2006/07/07
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/07
- Re: Using quail input methods to translate buffer text., Peter Heslin, 2006/07/07
- Re: Using quail input methods to translate buffer text., Miles Bader, 2006/07/07
- Re: Using quail input methods to translate buffer text., Miles Bader, 2006/07/07
- Re: Using quail input methods to translate buffer text., Peter Heslin, 2006/07/10
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/17
- Re: Using quail input methods to translate buffer text.,
Peter Heslin <=
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/20
- Re: Using quail input methods to translate buffer text., Miles Bader, 2006/07/20
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/21
- Re: Using quail input methods to translate buffer text., Richard Stallman, 2006/07/21
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/23
- Re: Using quail input methods to translate buffer text., Richard Stallman, 2006/07/24
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/25
- Re: Using quail input methods to translate buffer text., Richard Stallman, 2006/07/25
- Re: Using quail input methods to translate buffer text., Kenichi Handa, 2006/07/25
- Re: Using quail input methods to translate buffer text., Peter Heslin, 2006/07/26