From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lohan Gunaweera Newsgroups: gmane.emacs.bugs Subject: bug#46349: 27.1; Spaces are added at wrong places when typing in Sinhala Unicode. Date: Sat, 6 Feb 2021 20:08:11 +0530 Message-ID: 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="17457"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: 46349@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 06 18:12:21 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 1l8R89-0004Ps-7F for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Feb 2021 18:12:21 +0100 Original-Received: from localhost ([::1]:39806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8R88-0007Vr-9d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Feb 2021 12:12:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8R14-0002E9-IH for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 12:05:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8R14-0006au-B1 for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 12:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l8R14-0001rI-4z for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 12:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lohan Gunaweera Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2021 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46349 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16126310767107 (code B ref -1); Sat, 06 Feb 2021 17:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2021 17:04:36 +0000 Original-Received: from localhost ([127.0.0.1]:46367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8R0d-0001qZ-Su for submit@debbugs.gnu.org; Sat, 06 Feb 2021 12:04:36 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8Ojr-0006fS-SF for submit@debbugs.gnu.org; Sat, 06 Feb 2021 09:39:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8Ojr-00048t-Kg for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 09:39:07 -0500 Original-Received: from mail-03.1984.is ([93.95.224.70]:54124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8Ojp-0006k2-C4 for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 09:39:07 -0500 Original-Received: from localhost by mail-03.1984.is with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l8Oj0-0003Vr-Fu for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 14:38:14 +0000 Autocrypt: addr=lohan@lohangunaweera.tk; prefer-encrypt=mutual; keydata= xsFNBFjmE3UBEADQi/WNoIv5suQyB5MHUyoMKZ/mylI3Pmd2dqIMSS3Rk0L5zuVMv1lTLWuE fBvNRBYngKRwS4a3OlQ9zFQqOJItzmeBuDwviq8O/RE2c+thdRgISRWBzyC9IJYDcnSNjl/g cxtgIk518vo2bzHV13rAV2qOWZkJJXdF3giyDavG/pzmZthAmWOg2sEgHRZS0nKm0GNEeGih QE9KFwvTv/0Af6nXNw7X77w6EZTbsgBLfq6oLcRnOhfhBMt8e86CJLD6+dyaNLTvwyO2I8CV a50Kj26ioWg+guc2Y+Y8ggu0QYyAEnBl8inWQ/vLTciA3BqP70t/UhQeNaC62OizvZnbgerg aouqpQ4g8Pg678AxvP3QnbiM2r6lLhDm5f77RSDyrpC2Uwdn0g9osaCKwBvSaBp589DUZ5AE 383waLVWIF42RdDcvLjNwZi/HIR2gAKacPYSisFF73gEdNyHViLHrZz2OAhAhgHO6YKsqRQ3 O6+z+8xM0hFdbww3qFkrwnRcQ3KoH8XZ5A7Mbz7iOJXJJ7uV+76dz3osCdoEchYfCZtOpTuc Llv6UnG8ypGMorIO/CWqWf89TI/6PK6Lyszujz04uLMSKIzt8mCPkC1Xfbj39WIyjMGZfS5k L/N9LAxzrQOGZBBIhkggXp/wCUmGCdSwRQkpshcDemmt1LOyOQARAQABzSlMb2hhbiBHdW5h d2VlcmEgPGxvaGFuQGxvaGFuZ3VuYXdlZXJhLnRrPsLBegQTAQgAJAIbIwULCQgHAgYVCAkK CwIEFgIDAQIe Content-Language: en-US Received-SPF: none client-ip=93.95.224.70; envelope-from=lohan@lohangunaweera.tk; helo=mail-03.1984.is X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 06 Feb 2021 12:04:34 -0500 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:199441 Archived-At: 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. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2021-02-06 built on alochana Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 18.04.5 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER GMP Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils warnings finder-inf package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 59254 11773) (symbols 48 7738 1) (strings 32 20854 2117) (string-bytes 1 675663) (vectors 16 12411) (vector-slots 8 165509 11536) (floats 8 21 37) (intervals 56 202 0) (buffers 1000 12)) -- Lohan Gunaweera https://lohangunaweera.art Signal : +94775903949 PGP fingerprint : 62BB C05D B93D 674B 27C4 BB4E 56E1 D006 1983 A729 Key available at https://lohangunaweera.art/contact/