|
From: | Fahim Khan |
Subject: | Re: [m17n-list] Help needed to modify mim file |
Date: | Wed, 18 Oct 2017 11:19:44 +0530 |
In article <CA+u5NKN68b7if1bZVTfqfA6Ki3Gp4EHL As I don't any of speak/write Indic languages, this may be myBT79VghWc6hQc=address@hidden com >, Fahim Khan <address@hidden> writes:
> I am new to the mailing list. I am actuallly trying to modify the existing
> hindi language mapping. I am changing the mim file. I can modify the
> mapping but I don't know how to change the sequence in case of multikey
> word like if I type "अ"+"र्"+"ज", I got the proper word. However the
> sequence is not proper. I want it to be like "अ"+"ज"+"र्" to get the same
> word.
misunderstanding, but...
What you want is to type XYZ and get a character sequence XZY which is
rendered as XYZ, right?
Anyway, which input method are you going to modify, and which
key-sequence you have to type to get the character sequence you want?
> I have one more question about defining a variable. I can assign a value to
> a varibale and can insert it after anykey word I want but I do not know how
> to clear/unset that variable once it is used.
A variable always has a value, you can not clear/unset value. But, you
can define the meaning of special value (e.g. 0) as "unset". For
instance, you can use "IF" action as this:
(= CODE 0
((set CODE 1) ...do_something...)
((set CODE 0) ...do_something...))
It toggles the value of CODE betwee 1 and o, and perform different
actions depending on the value. If you want to initialize a variable
each time when the processing reaches to a specific branch, this will
do:
(branchname
(t (set CODE 0))
(...)
...)
> I tried to follow the documentation and existing mim file but I don't get
> any clear explanation. Any help would be appreciated.
Sorry for the poor documentation. Any suggestions of improvement are
welcome.
---
K. Handa
address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |