|
From: | Chen, Chien-ting |
Subject: | [m17n-list] Can I define a function in a .mim input method file? |
Date: | Tue, 26 Jun 2018 03:04:57 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
I tried to write a input method with m17n. After I looked the tutorial https://www.nongnu.org/m17n/manual-en/m17nDBTutorial.html , I've found that it's under lisp-like language. But can I define a function in .mim file? for example: (define (add1 x) (+ 1 x) ) and I can use (insert (add1 one-set-value)) to insert the number in the text box.
[Prev in Thread] | Current Thread | [Next in Thread] |