[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tweaking quail input methods
From: |
Eli Zaretskii |
Subject: |
Re: Tweaking quail input methods |
Date: |
Sat, 30 Sep 2017 14:49:57 +0300 |
> From: Greg Minshall <address@hidden>
> Date: Sun, 24 Sep 2017 16:36:47 +0300
>
> hi. my question is similar to Stefan's (of many months ago), at least
> in being related to re-using quail.
>
> i would like to add an Azerbaijani Cyrillic input method. 95% of this
> method is the same as, e.g., "russian-computer".
>
> is there an obvious way to "subclass" an existing method? i notice (in
> leim/quail/cyrillic.el), for example, that "russian-computer" doesn't
> "subclass" "russian-typewriter" (though they share much).
>
> i could do something like cyrillic.el does for "cyrillic-jcuken", i.e.,
> capture the entire "russian-computer" under a new name, then use
> quail-active-hook (suggested by K. Handa) to add some modifications.
> when ever "azerbaijani-cyrillic" is activated. but, that seems a bit
> convoluted (but, maybe is what i should do?).
I think you should just copy the rules of russian-computer and modify
whatever you need for the Azerbaijani Cyrillic input method.
Thanks.