Creating ta-remington.mim for m17n-db¶
Updated: Aug 22, 2022
One fine day, I was deep in my office work, Suddenly I got a ping from shrini  in #ilugc  asking me to take a look at this issue . At first, I thought well, it is a simple change, why we need to write a whole new layout for this simple change. But then
shrini insisted that even if it is a simple change, People who were not able to do that simple change are looking for a solution for long time. So, I said to myself, if that is the case, then lets create one.
Learning m17n-db format¶
I was not interested on just copying already available mim files and simply modify for our purpose. I wanted to learn what exactly the format is, so I learnt how the parser parses mim through this link . I studied and understood what each and every word in that file represents.
Creating this file was fairly easy, I just took rules from Ekalappai  and a simple
M-x query-replace-regexp in my emacs  did 80% of the job, after that, I just added headers and tail.
M-x query-replace-regexp Query-replace-regexp: ^\([^[:space]]+\)[[:space:]]+\([^[:space:]]+\)^J with: ("\1" "\2")
Testing the new Layout¶
I gave my changes to
shrini to see if he can use it, I think he did the basic test and confirmed me that it is working as expected. Then he forwarded my changes to the original requester who wanted this layout. Thankfully, he also was satisfied with my changes.
In order to upstream
ta-remington.mim, we also have to create one icon file for this new layout. With my limited knowledge in gimp, I was able to create one png file for ta-remington.mim.
Pushing to m17n-db¶
With my changes, I sent a mail  asking them to include ta-remington.mim in m17n-db mailing list . After few days I got a response that m17n-db included my changes .