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#22250: 25.0.50; Eww fails to break RTL paragraph Date: Sun, 27 Dec 2015 21:45:25 +0200 Message-ID: <83r3i7fzfu.fsf@gnu.org> References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451245522 29435 80.91.229.3 (27 Dec 2015 19:45:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2015 19:45:22 +0000 (UTC) Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 27 20:45:10 2015 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 1aDHFe-0000yg-4K for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Dec 2015 20:45:10 +0100 Original-Received: from localhost ([::1]:42552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDHFd-0007Z0-4B for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Dec 2015 14:45:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDHFZ-0007Yc-DI for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 14:45:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDHFW-0002DX-0t for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 14:45:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDHFV-0002DM-Tr for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 14:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aDHFV-0000BQ-P5 for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 14:45: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: Sun, 27 Dec 2015 19:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22250 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 22250-submit@debbugs.gnu.org id=B22250.1451245491676 (code B ref 22250); Sun, 27 Dec 2015 19:45:01 +0000 Original-Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 19:44:51 +0000 Original-Received: from localhost ([127.0.0.1]:44803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHFL-0000Ap-Bs for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:44:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32986) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHFG-0000Ab-J3 for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:44:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDHF7-0001rW-FD for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:44:41 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDHF7-0001rR-Bh; Sun, 27 Dec 2015 14:44:37 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3446 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDHF6-0006BF-IV; Sun, 27 Dec 2015 14:44:37 -0500 In-reply-to: <87si2nd6zj.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 27 Dec 2015 20:30:40 +0100) 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:110834 Archived-At: > From: Lars Ingebrigtsen > Date: Sun, 27 Dec 2015 20:30:40 +0100 > Cc: 22250@debbugs.gnu.org > > Do you know whether this used to work, and stopped working after the > recent directional fixes, by any chance? Before those directional fixes the value of bidi-paragraph-direction was 'left-to-right', i.e. it ignored the dir=rtl meta-data. So obviously, the problem didn't exist back then, but it didn't start _because_ of that change. It's just that the change you made exposed a bug in the line-breaking algorithm -- it somehow assumes unidirectional text somewhere. If you manually set bidi-paragraph-direction to 'left-to-right', after visiting that file, the problem disappears, leaving on screen just the incorrect display. If you can point me to the code which does that, I might find the problem and suggest the solution. Thanks.