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#41005: problem with rendering Persian text in Emacs 27 Date: Sat, 25 Jul 2020 09:48:33 +0300 Message-ID: <83y2n8ccou.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> <83ftbaaql5.fsf@gnu.org> <87eeqt3nww.fsf@gmail.com> <83bllxbuxq.fsf@gnu.org> <87mu3txcpz.fsf@gnu.org> <871rl4u54a.fsf@gnu.org> <83zh7sg1v9.fsf@gnu.org> <87o8o8jo1o.fsf@gnu.org> <83k0yvfx7o.fsf@gnu.org> <87wo2tzh59.fsf@gnu.org> <83pn8le95z.fsf@gnu.org> <877dusfcq0.fsf@gnu.org> 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="1494"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, valizadeh.ho@gmail.com, 41005@debbugs.gnu.org, pipcet@gmail.com To: Amin Bandali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 25 08:49:14 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 1jzDze-0000H1-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jul 2020 08:49:14 +0200 Original-Received: from localhost ([::1]:41268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzDzd-0006Oi-Bl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jul 2020 02:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzDzS-0006Oa-Sk for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 02:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzDzS-0005VV-Jo for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 02:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzDzS-0005Cp-IC for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 02:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jul 2020 06:49:02 +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.159565973519997 (code B ref 41005); Sat, 25 Jul 2020 06:49:02 +0000 Original-Received: (at 41005) by debbugs.gnu.org; 25 Jul 2020 06:48:55 +0000 Original-Received: from localhost ([127.0.0.1]:49231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzDzL-0005CS-0P for submit@debbugs.gnu.org; Sat, 25 Jul 2020 02:48:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzDzI-0005CF-U0 for 41005@debbugs.gnu.org; Sat, 25 Jul 2020 02:48:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41294) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzDzD-0005Qe-JM; Sat, 25 Jul 2020 02:48:47 -0400 Original-Received: from [176.228.60.248] (port=4772 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jzDzC-0001qE-LS; Sat, 25 Jul 2020 02:48:47 -0400 In-Reply-To: <877dusfcq0.fsf@gnu.org> (message from Amin Bandali on Sat, 25 Jul 2020 00:19:35 -0400) 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:183520 Archived-At: > From: Amin Bandali > Cc: rpluim@gmail.com, valizadeh.ho@gmail.com, 41005@debbugs.gnu.org, > pipcet@gmail.com > Date: Sat, 25 Jul 2020 00:19:35 -0400 > > > If the result still points into some valid Emacs use pattern, please > > describe in more detail a small part of the Wikipedia page that needs > > to be copy/pasted, and the precise place where the result of pasting > > is rendered incorrectly. Please keep in mind that for people who > > don't read Persian it is hard to find those issues in vast amounts of > > text, so any measure that makes this significantly easier will allow > > debugging and finding solutions to be much more efficient. > > > > Thanks. > > > > Having done some digging, I've found at least one reliable way to > reproduce the issue with -Q: > > 1. launch Emacs using `emacs -Q'; > 2. switch to *scratch* if not there already; > 3. do M-x column-number-mode RET; > 4. paste the following Persian text into *scratch*: > ویکی‌پدیا دانشنامه‌ای اینترنتی با بیش از ۲۸۰ زبان با محتوای آزاد است که با همکاری افراد داوطلب نوشته می‌شود و هر کس که به اینترنت دسترسی داشته باشد می‌تواند مقاله‌های آن را ویرایش کند. > It is from the first sentence of the "دربارهٔ ویکی‌پدیا" (About > Wikipedia) section on . > > The text should appear garbled. However, if you omit step 3, the > pasted text should appear just fine. It appears that if Persian text > is pasted before column-number-mode is enabled, even if the paste is > subsequently undone before enabling column-number-mode, the issue > does *not* surface. Please help me understand what exactly do you mean by "garbled". The text you show is still quite long, and I cannot easily locate it in that page (I don't see any "About Wikipedia" in the English version of that page), nor do I understand what you mean by "garbled". Would it be possible instead to paste only a very small portion of the text, and tell exactly which part(s) of that short text are garbled, and how they are garbled? Can you, for example, post a screenshot showing exactly which part of the Wikipedia page should be copied, and another screenshot of the garbled text in Emacs showing which part(s) are displayed incorrectly? And please keep the pasted text as short as possible, because locating the garbled part(s) in text I cannot read which is displayed in a different font from what's in the screenshot can be a very frustrating and error-prone experience. Also, do you copy this from EWW or from some other Web browser? (I tried to explain all of this in my previous message, but unfortunately this reproduction recipe again presents the same difficulties as I tried to avoid by explaining how to provide information that would be easy to follow up.) Please help me understand the problem, without that I see no way of making any progress here. Thanks.