From: Kenichi Handa <handa@m17n.org>
To: Praveen A <pravi.a@gmail.com>, 5256@debbugs.gnu.org
Cc: pravi.a@gmail.com, 5256@debbugs.gnu.org
Subject: bug#5256: conjunct formation should follow input sequence when inserting text
Date: Tue, 22 Dec 2009 21:50:34 +0900 [thread overview]
Message-ID: <tl7fx73dvfp.fsf@m17n.org> (raw)
In-Reply-To: <3f2beab60912210723x4f424fa9l2b842824aff1a546@mail.gmail.com> (message from Praveen A on Mon, 21 Dec 2009 20:53:41 +0530)
In article <3f2beab60912210723x4f424fa9l2b842824aff1a546@mail.gmail.com>, Praveen A <pravi.a@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@m17n.org
next prev parent reply other threads:[~2009-12-22 12:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3f2beab60912280138i6348afc0h53c3349aca24c7f@mail.gmail.com>
2009-12-21 15:23 ` conjunct formation should follow input sequence when inserting text Praveen A
2009-12-22 12:50 ` Kenichi Handa [this message]
2009-12-25 2:48 ` bug#5256: " Kenichi Handa
2009-12-25 4:00 ` YAMAMOTO Mitsuharu
2009-12-25 5:27 ` Kenichi Handa
2009-12-25 1:20 ` Kenichi Handa
2009-12-26 17:52 ` Praveen A
2009-12-28 9:39 ` bug#5256: marked as done (conjunct formation should follow input sequence when inserting text) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tl7fx73dvfp.fsf@m17n.org \
--to=handa@m17n.org \
--cc=5256@debbugs.gnu.org \
--cc=pravi.a@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.