bugm17n - Bugs: bug #54184, the select function in .mim file...

 
 

bug #54184: the select function in .mim file can't choose the right characters with combining diacritics

Submitted by:  None
Submitted on:  Mon 25 Jun 2018 06:46:31 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 25 Jun 2018 06:56:02 PM UTC, comment #1: 

By the way, if the problem can't be solved, is there any workaround to skip the bug?

Chen, Chien-ting <yoxem>
Mon 25 Jun 2018 06:46:31 PM UTC, original submission:  

I want to make a customized input method using m17n. I've found that the select function can choose i+1th character in the target result string.
for example:
(map
...
(a "abc")
...
(state
  (init
...
(select 2))
....

then I got "c" ((2+1)rd character in "abc") when press "a".

however, when the mapping is as the follows:
...
  ("b" ?b)
  ("c" ?c)
  ("g" ?g)
  ("h" ?h)
  ("j" ?j)
  ("k" ?k)
  ("l" ?l)
  ("m" ("mḿm̀mm̂m̌m̄m̍"))
  ("n" ("nńǹnn̂ňn̄n̍"))
  ("p" ?p)
  ("s" ?s)
  ("t" ?t)
  ("a" ("aáàaâǎāa̍"))
  ("e" ("eéèeêěēe̍"))
  ("i" ("iíìiîǐīi̍"))
  ("o" ("oóòoôǒōo̍"))
  ("oo" ("o͘ó͘ò͘o͘ô͘ǒ͘ō͘o̍͘"))
  ("oO" ("o͘ó͘ò͘o͘ô͘ǒ͘ō͘o̍͘"))
  ("nn" ?ⁿ)
  ("nN" ?ⁿ)
...
(see the attachment)

After I press "amne", it gots
"àmǹè" instead of "àm̀ǹè" (m̀ = m + U+0300 [combining grave accent])

I think the bug should be fixed.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #44434:  nan-poj.mim added by None (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by yoxem (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-25 None Attached File- => Added nan-poj.mim, #44434

    Back to the top


    Powered by Savane 3.5