From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41005: problem with rendering Persian text in Emacs 27 Date: Fri, 05 Jun 2020 09:21:00 +0300 Message-ID: <83lfl2av8z.fsf@gnu.org> References: <831rmwc9ke.fsf@gnu.org> <35A46479-A62C-42FF-995B-B295FE3408C0@gnu.org> <08A9D65F-0C9C-4EE2-B3B9-2AA25BFFAD54@gnu.org> <878sh35j6f.fsf@gmail.com> <83y2p3as6c.fsf@gnu.org> <87pnae4nhx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="34515"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pipcet@gmail.com, 41005@debbugs.gnu.org, nicholasdrozd@gmail.com To: hossein valizadeh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 05 08:22:10 2020 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 1jh5k2-0008qF-Fq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 08:22:10 +0200 Original-Received: from localhost ([::1]:38462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh5k0-0001m2-PV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 02:22:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh5ju-0001lk-1p for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 02:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jh5jt-0006bj-Oy for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 02:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jh5jt-0007sJ-Lo for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 02:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2020 06:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41005 X-GNU-PR-Package: emacs Original-Received: via spool by 41005-submit@debbugs.gnu.org id=B41005.159133807930191 (code B ref 41005); Fri, 05 Jun 2020 06:22:01 +0000 Original-Received: (at 41005) by debbugs.gnu.org; 5 Jun 2020 06:21:19 +0000 Original-Received: from localhost ([127.0.0.1]:48069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jh5jD-0007qt-9S for submit@debbugs.gnu.org; Fri, 05 Jun 2020 02:21:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jh5jB-0007qg-8s for 41005@debbugs.gnu.org; Fri, 05 Jun 2020 02:21:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47507) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh5j6-0006Sv-1J; Fri, 05 Jun 2020 02:21:12 -0400 Original-Received: from [176.228.60.248] (port=2769 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jh5j5-0001LQ-Cs; Fri, 05 Jun 2020 02:21:11 -0400 In-Reply-To: (message from hossein valizadeh on Fri, 5 Jun 2020 09:16:53 +0430) 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:181533 Archived-At: > From: hossein valizadeh > Date: Fri, 5 Jun 2020 09:16:53 +0430 > Cc: Eli Zaretskii , 41005@debbugs.gnu.org, > Nicholas Drozd > > I tried the patch. Please tell which patch was that, and in what Emacs version you tried it. (Please understand that you are generally talking to people some of whom don't read Arabic or Persian, so the more details you supply the less misunderstanding and confusion will follow, and the faster this problem will be solved.) > The eww problem is solved, but the problem still there, when I enable auto-fill-mode or > column-number-mode. > > Please look at this video file for a better understanding: > http://s13.picofile.com/d/8399189550/7eeb413f-0df7-4da6-9db1-1632c9fc749f/out.mkv > https://filebin.net/mzmjm74lp7wsxr8e > https://gofile.io/d/H8xk26 I cannot play this on my system, I see a bunch of ads (or what looks like ads), and the name of a .mkv file. > For example, if you type in the following sentence: > این نام است که می‌ماند > > Then go back a few characters in the same line and type words randomly. You will see that the letters in > some words are displayed separately. I type a few words at random, after the word این and before the word > نام :‌ > > این فراموشی را به همه اینکه فرمت مراتب افتتاح گرامی گرایش سراسیمه نام است که می‌ماند > > This line should look like this: > > http://s12.picofile.com/file/8399190550/correct.png > > ‌But if one of the auto-fill-mode or column-number-mode is enabled. it will be displayed this way: > > http://s13.picofile.com/file/8399190584/malformed.png Please show a full recipe for reproducing this, starting from "emacs -Q", and describing every step to reproduce the result. Please tell the codepoint of each character you type to reproduce the problem and each Emacs command. I'd also greatly appreciate if you specifically point out at which parts of the display to look at what differences to pay attention to. This is needed to fully understand the problem and analyze its root cause(s), given that not all of us can read the Arabic script. The master branch has recently got a few improvements in this area, so please use that version of the code if you can. And in any case, please always state in what version you see which problem. Thanks.