From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22786: 25.1.50; eww arabic rendering Date: Sun, 28 Feb 2016 17:41:13 +0200 Message-ID: <831t7wc06e.fsf@gnu.org> References: <84fuwjca8b.fsf@gmail.com> <8760xeq5kj.fsf@gnus.org> <84y4aaza45.fsf@gmail.com> <87egc1z71n.fsf@gnus.org> <83wppsg4yj.fsf@gnu.org> <87d1rkvxbx.fsf@gnus.org> <83povjetir.fsf@gnu.org> <878u25xyk0.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456674142 9420 80.91.229.3 (28 Feb 2016 15:42:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 15:42:22 +0000 (UTC) Cc: 22786@debbugs.gnu.org, mohamed.hibti@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 28 16:42:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aa3U3-0005mb-Rb for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 16:42:11 +0100 Original-Received: from localhost ([::1]:59440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa3U3-0002BO-19 for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 10:42:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa3Ty-0002B4-El for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 10:42:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa3Tu-00066U-E0 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 10:42:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa3Tu-00066P-As for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 10:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aa3Tu-0005yp-3h for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 10:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Feb 2016 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22786 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22786-submit@debbugs.gnu.org id=B22786.145667410822966 (code B ref 22786); Sun, 28 Feb 2016 15:42:02 +0000 Original-Received: (at 22786) by debbugs.gnu.org; 28 Feb 2016 15:41:48 +0000 Original-Received: from localhost ([127.0.0.1]:50876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aa3Td-0005yJ-6F for submit@debbugs.gnu.org; Sun, 28 Feb 2016 10:41:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48091) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aa3TX-0005y2-Go for 22786@debbugs.gnu.org; Sun, 28 Feb 2016 10:41:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa3TN-0005vq-LD for 22786@debbugs.gnu.org; Sun, 28 Feb 2016 10:41:34 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa3TN-0005vm-IM; Sun, 28 Feb 2016 10:41:29 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3212 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aa3TM-0004Eu-R1; Sun, 28 Feb 2016 10:41:29 -0500 In-reply-to: <878u25xyk0.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 28 Feb 2016 14:43:03 +1030) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114039 Archived-At: > From: Lars Ingebrigtsen > Cc: mohamed.hibti@gmail.com, 22786@debbugs.gnu.org > Date: Sun, 28 Feb 2016 14:43:03 +1030 > > Eli Zaretskii writes: > > > But if there's no such hint, and all we have is the text itself, then > > the UBA determines the paragraph direction from the first strong > > directional character, and we then keep that direction until the > > paragraph ends, which is indicated by an empty line. There's no way > > around this, it's how the bidirectional display engine works. > > > > Specifically, we need a way to distinguish between the list of > > languages on a Wikipedia page from the Al Jazeera home page. Can you > > spot anything in the page sources that will allow such a distinction? > > Nope. But since Firefox is able to do this, that means that their bidi > algo is doing something else than what Emacs' bidi algo is doing... > > So we have demonstrated that there is a way around this. :-) The way around it is to support frames (or "side bars"). Then each frame could have its own base paragraph direction. AFAICT, eww doesn't support that yet. > > In any case, I think it will be good to add a "Switch page direction" > > menu item to EWW on the emacs-25 branch. > > Good idea; I'll all that. Thanks.