Subject: bug#5256: conjunct formation should follow input sequence when inserting text

From: Praveen A <[email-masked]>
Date: Mon, 21 Dec 2009 20:53:41 +0530

Example to illustrate this bug is അപ്‌ലോഡ് (upload).
>>> a=u'ലോഡ്'
>>> b=u'അപ്'
>>> c=u'അപ്‌ലോഡ്'
>>> print repr(c)
u'\u0d05\u0d2a\u0d4d\u200c\u0d32\u0d4b\u0d21\u0d4d'
>>> d=u'അപ്ലോ‌ഡ്'
>>> print repr(d)
u'\u0d05\u0d2a\u0d4d\u0d32\u0d4b\u200c\u0d21\u0d4d'

Here ZWNJ is added to prevent formation of conjunct 'pla' (\u0d2a\u0d4d\u0d32).

Enter ലോഡ് (\u0d32\u0d4b\u0d21\u0d4d) first, move cursor to the
beginning of the word, now enter അപ് (\u0d05\u0d2a\u0d4d). Now ZWNJ
entered will not be after 0d4d, but after the conjunct 'plo'
(\u0d2a\u0d4d\u0d32\u0d4b). gedit/pango has the correct behavior,
wherein the ZWNJ is inserted after 0d4d breaking the conjunct 'pla'
(\u0d2a\u0d4d\u0d32) as expected.

GNU Emacs 23.1.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3)
 of 2009-12-18 on savannah
-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign