From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.bugs Subject: bug#22250: 25.0.50; Eww fails to break RTL paragraph Date: Mon, 28 Dec 2015 00:09:51 +0100 Message-ID: <8760zjbi9s.fsf@justinian.turtle-trading.net> References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1451257821 25295 80.91.229.3 (27 Dec 2015 23:10:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2015 23:10:21 +0000 (UTC) Cc: 22250@debbugs.gnu.org, Lars Ingebrigtsen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 28 00:10: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 1aDKS1-0003VI-CS for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Dec 2015 00:10:09 +0100 Original-Received: from localhost ([::1]:43034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDKRz-0005lM-SR for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Dec 2015 18:10:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDKRw-0005l0-6y for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 18:10:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDKRu-0000gW-Vv for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 18:10:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDKRu-0000gQ-ST for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 18:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aDKRu-0008A3-JF for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 18:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Benjamin Riefenstahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Dec 2015 23:10:02 +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.145125780131360 (code B ref 22250); Sun, 27 Dec 2015 23:10:02 +0000 Original-Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 23:10:01 +0000 Original-Received: from localhost ([127.0.0.1]:45145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDKRt-00089j-6E for submit@debbugs.gnu.org; Sun, 27 Dec 2015 18:10:01 -0500 Original-Received: from odoacer.turtle-trading.net ([217.91.34.180]:47814) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDKRq-00089V-Bt for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 18:09:59 -0500 Original-Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aDKRj-00017f-PY; Mon, 28 Dec 2015 00:09:51 +0100 Original-Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aDKRj-000490-MD; Mon, 28 Dec 2015 00:09:51 +0100 In-Reply-To: <83twn3g0ac.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Dec 2015 21:27:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) 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:110877 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > Out of curiosity: why are you declaring a paragraph consisting > entirely of L2R text as R2L? is there some real-life use case behind > this? As you probably guessed this is a radical simplification of the actual problem that I have. > (If you replace "abc" with "=D7=90=D7=91=D7=92", the display will be as y= ou expect.) Interesting. It seems that I have simplyfied it a bit too much. Although the version that I created still indicates a problem, of course. I experimented a bit and I can't quite exactly say what is needed to cause the problem. The same file/URL has it and than again not when I try again. It seems that "g" usually fixes it, while "G RET" usually reproduces it, if it has happend with that particular file/URL before. It also seems that the length of the URL has an impact, probably because it is shown at the top of the frame and during loading of the URL (as in "Loading http[...]"). It seems to require that the URL is longer than the frame width. I have no sure recipe using a file, but I have something based on a simple 10-line HTTP server look-alike, see attachments. Put the files in some directory, make the script executable, execute it, and call EWW with the URL http://127.0.0.1:1234/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/. If it looks good on the first call, try "G RET", than it reliably exhibits the problem for me. I even get it with "emacs -Q -nw". Note that the script depends on netcat and different versions of netcat use different options to run a server, so the script may not work as-is for you. --=-=-= Content-Type: text/x-sh Content-Disposition: attachment; filename=make-html.sh #!/bin/bash function execute () { sleep .5 echo -e "HTTP/1.0 200 OK\r" echo -e "Content-Type: text/html; charset=utf-8\r" echo -e "\r" cat test.html } function loop () { while sleep 1; do echo Start netcat -l -s localhost -p 1234 -c "$0 execute" echo Handled one request done } if [ 0 = $# ]; then loop else "$@" fi #### eof #### --=-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: attachment; filename=test.html Content-Transfer-Encoding: base64 PGh0bWwgZGlyPSdydGwnPg0KICA8aGVhZD4NCiAgPC9oZWFkPg0KICA8Ym9keT4NCiAgICA8cD4N CiAgICAgINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDX kNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ 15HXkg0KICAgICAg15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DX kdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR 15Ig15DXkdeSDQogICAgICDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HX kiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeS INeQ15HXkiDXkNeR15INCiAgICAgINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig 15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDX kNeR15Ig15DXkdeSINeQ15HXkg0KICAgICAg15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ 15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DXkdeSINeQ15HXkiDXkNeR15Ig15DX kdeSINeQ15HXkiDXkNeR15Ig15DXkdeSDQogICAgPC9wPg0KICA8L2JvZHk+DQo8L2h0bWw+DQo= --=-=-=--