From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46349: 27.1; Spaces are added at wrong places when typing in Sinhala Unicode. Date: Sat, 06 Feb 2021 19:18:13 +0200 Message-ID: <83blcxnmi2.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8158"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46349@debbugs.gnu.org To: Lohan Gunaweera Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 06 18:19:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8REo-0001yN-4i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Feb 2021 18:19:14 +0100 Original-Received: from localhost ([::1]:43606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8REn-0001aL-7Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Feb 2021 12:19:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8REc-0001a9-13 for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 12:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8REb-0004Yr-Q1 for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 12:19:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l8REb-0002Bg-Lh for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 12:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2021 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46349 X-GNU-PR-Package: emacs Original-Received: via spool by 46349-submit@debbugs.gnu.org id=B46349.16126318938351 (code B ref 46349); Sat, 06 Feb 2021 17:19:01 +0000 Original-Received: (at 46349) by debbugs.gnu.org; 6 Feb 2021 17:18:13 +0000 Original-Received: from localhost ([127.0.0.1]:46375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8RDp-0002Ab-IP for submit@debbugs.gnu.org; Sat, 06 Feb 2021 12:18:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8RDn-0002AP-GC for 46349@debbugs.gnu.org; Sat, 06 Feb 2021 12:18:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42755) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8RDi-00048V-3F; Sat, 06 Feb 2021 12:18:06 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2099 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l8RDh-0002Zd-BD; Sat, 06 Feb 2021 12:18:05 -0500 In-Reply-To: (message from Lohan Gunaweera on Sat, 6 Feb 2021 20:08:11 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199442 Archived-At: > From: Lohan Gunaweera > Date: Sat, 6 Feb 2021 20:08:11 +0530 > > When you type Sinhala using Uicode characterss, spaces are added at > wrong places. Words get serepated at wrong places as a result. > > How to reproduce with emacs > > 1) Open emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) > 2) Switch to desired input method for Sinhala; Sinhalese : ibus > (Wijesekera (m17n)) > 3) Type keys isxy, NdIdj. > 4) Observe what happens when you hit space at the end of the first word. > And when insert a space after full-stop. > > Actual result : සිංහ ලභාෂාව . > > Expected result : සිංහල භාෂාව. > > This adds a space before the last character of the first word, not where > you want the space to be. Same happens when you enter a space after a > full-stop. It inserts the space BEFORE the full-stop. After you enter these characters, if you type "C-h l" (that's the letter ell, not the digit one), what does Emacs show in the *Help* buffer? I don't have this input method installed, but if I just insert manually the codepoints you show, I see no problems with the space character insertion. So it could be a problem with the input method?