GNU bug report logs - #5256
conjunct formation should follow input sequence when inserting text

Previous Next

Package: emacs;

Reported by: Praveen A <pravi.a <at> gmail.com>

Date: Tue, 6 Oct 2009 18:55:07 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kenichi Handa <handa <at> m17n.org>
To: Praveen A <pravi.a <at> gmail.com>, 5256 <at> debbugs.gnu.org
Cc: pravi.a <at> gmail.com, 5256 <at> debbugs.gnu.org
Subject: bug#5256: conjunct formation should follow input sequence when
	inserting text
Date: Tue, 22 Dec 2009 21:50:34 +0900
In article <3f2beab60912210723x4f424fa9l2b842824aff1a546 <at> mail.gmail.com>, Praveen A <pravi.a <at> gmail.com> writes:

> 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.

Ah, I see your point.  It seems that we must set
disable-point-adjustment to t when a character/string is
inserted in a buffer.  I'll work on it.

---
Kenichi Handa
handa <at> m17n.org


This bug report was last modified 15 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.