From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 14:12:13 2015 Received: (at submit) by debbugs.gnu.org; 27 Dec 2015 19:12:13 +0000 Received: from localhost ([127.0.0.1]:44758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDGjl-0006A5-AV for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:12:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55208) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDGjj-00069q-7P for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:12:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDGjd-0003pT-8M for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:12:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,HTML_MESSAGE, T_HTML_ATTACH autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDGjd-0003pP-4k for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:12:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDGjc-0002p5-9K for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 14:12:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDGjZ-0003pA-2I for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 14:12:04 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:54447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDGjY-0003oF-HC for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2015 14:12:00 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aDGjR-0000yS-9B; Sun, 27 Dec 2015 20:11:53 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aDGjR-0001lu-44; Sun, 27 Dec 2015 20:11:53 +0100 From: Benjamin Riefenstahl To: bug-gnu-emacs@gnu.org Subject: 25.0.50; Eww fails to break RTL paragraph Date: Sun, 27 Dec 2015 20:11:52 +0100 Message-ID: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Benjamin Riefenstahl X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain I load the attached HTML file in a git Emacs (branch emacs-25, revision f9d87dd) with eww-open-file. Emacs shows two lines with the first one being very long, instead of wrapping the paragraph as expected. The command I execute: ./emacs -Q --eval '(eww-open-file "test.html")' --=-=-= Content-Type: text/html Content-Disposition: attachment; filename=test.html

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc

--=-=-= Content-Type: image/png Content-Disposition: attachment; filename=eww.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAuoAAAC/CA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C8AAMBkGF8AAIBBKaX0QI9+YXwBAADDSCU2xD/v/yLjCwAA MC5WXwAAgMmw+gIAAEwjvvGF1RcAAGAaWutE+2MYXwAAgBEluu1IGF8AAIAxsfoCAADMh9UXAABg MokeD8P4AgAADIrVFwAAMEIwvgAAAJNhfAEAAMbFY+sAAICZsHUXAACYSXxwYfUFAACYDKsvAADA ZFh9AQAAZsJzXwAAgJlw5hEAAPhv6MSG8rcDvs74AgAADIrVFwAAYDKJrh8xvgAAAINi9QUAAJgM e18AAMAIwfgCAAAMSinFY+sAAIDJsHUXAACYBkc2AgAAUxrw+hHjCwAAMKKuqaX/9SPGFwAAYERc PAIAACYTPxeJrbsAAMA0lFLxjS9cPAIAAOYwyKnUjC8AAMCguhZg+rzO+AIAAAwqPrhw8QgAAJhG opuPGF8AAIDJML4AAAAj6rpmxMUjAABgMlw8AgAA5pDormlhfAEAAMbUtW+Xi0cAAMAcuu6a5uIR AAAwhwEHlzjGFwAAYETxy0acOA0AAEwj0XmNwvgCAACMKdHsIowvAADAmAbZ+/In+GszUgZjxO8A AAAASUVORK5CYII= --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 14:26:30 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 19:26:30 +0000 Received: from localhost ([127.0.0.1]:44771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDGxa-0006W0-7H for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:26:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57272) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDGxY-0006Vl-9R for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:26:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDGxP-0006cd-S4 for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:26:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDGxP-0006cZ-OV; Sun, 27 Dec 2015 14:26:19 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3432 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDGxO-0000dJ-Vg; Sun, 27 Dec 2015 14:26:19 -0500 Date: Sun, 27 Dec 2015 21:27:07 +0200 Message-Id: <83twn3g0ac.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> (message from Benjamin Riefenstahl on Sun, 27 Dec 2015 20:11:52 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Date: Sun, 27 Dec 2015 20:11:52 +0100 > Cc: Benjamin Riefenstahl > > I load the attached HTML file in a git Emacs (branch emacs-25, revision > f9d87dd) with eww-open-file. Emacs shows two lines with the first one > being very long, instead of wrapping the paragraph as expected. The > command I execute: > > ./emacs -Q --eval '(eww-open-file "test.html")' 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? (If you replace "abc" with "אבג", the display will be as you expect.) From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 14:29:26 2015 Received: (at control) by debbugs.gnu.org; 27 Dec 2015 19:29:26 +0000 Received: from localhost ([127.0.0.1]:44785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDH0Q-0006bA-1p for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:29:26 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41936) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDH0O-0006b2-JF for control@debbugs.gnu.org; Sun, 27 Dec 2015 14:29:24 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDH02-0002fO-GL for control@debbugs.gnu.org; Sun, 27 Dec 2015 20:29:02 +0100 Date: Sun, 27 Dec 2015 20:29:01 +0100 Message-Id: <87wprzd72a.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #22250 X-MailScanner-ID: 1aDH02-0002fO-GL X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451849343.24401@BfNAPbDeHIW5XMsOuPuuGA X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 22250 confirmed From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 14:31:05 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 19:31:05 +0000 Received: from localhost ([127.0.0.1]:44790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDH21-0007la-9o for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:31:05 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38908) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDH1z-0007jQ-Fw for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:31:03 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDH1d-0002h3-Kc; Sun, 27 Dec 2015 20:30:41 +0100 From: Lars Ingebrigtsen To: Benjamin Riefenstahl Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> Date: Sun, 27 Dec 2015 20:30:40 +0100 In-Reply-To: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> (Benjamin Riefenstahl's message of "Sun, 27 Dec 2015 20:11:52 +0100") Message-ID: <87si2nd6zj.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aDH1d-0002h3-Kc X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451849442.05902@kRVr0DzA1P8jZKH/LVdFmA X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Benjamin Riefenstahl writes: > I load the attached HTML file in a git Emacs (branch emacs-25, revision > f9d87dd) with eww-open-file. Emacs shows two lines with the first one > being very long, instead of wrapping the paragraph as expected. The > command I execute: I can confirm that this doesn't work very well. For me it seems to display just a single line? Do you know whether this used to work, and stopped working after the recent directional fixes, by any chance? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 14:37:46 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 19:37:46 +0000 Received: from localhost ([127.0.0.1]:44799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDH8R-0008SL-8b for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:37:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60008) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDH8N-0008S2-3A for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:37:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDH8E-0000a8-34 for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:37:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDH8D-0000a4-W6; Sun, 27 Dec 2015 14:37:30 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3439 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDH8D-0005Xs-5X; Sun, 27 Dec 2015 14:37:29 -0500 Date: Sun, 27 Dec 2015 21:38:17 +0200 Message-Id: <83si2nfzrq.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87si2nd6zj.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 27 Dec 2015 20:30:40 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > 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? Where's the code that breaks such long paragraphs into lines? From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 14:44:51 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 19:44:51 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Sun, 27 Dec 2015 21:45:25 +0200 Message-Id: <83r3i7fzfu.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87si2nd6zj.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 27 Dec 2015 20:30:40 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 14:49:51 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 19:49:51 +0000 Received: from localhost ([127.0.0.1]:44807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHKA-0001w3-TZ for submit@debbugs.gnu.org; Sun, 27 Dec 2015 14:49:51 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54376) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHK9-0001vv-0O for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 14:49:49 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDHJn-0002u9-5W; Sun, 27 Dec 2015 20:49:27 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> <83r3i7fzfu.fsf@gnu.org> Date: Sun, 27 Dec 2015 20:49:25 +0100 In-Reply-To: <83r3i7fzfu.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Dec 2015 21:45:25 +0200") Message-ID: <87oadbd64a.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aDHJn-0002u9-5W X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451850567.56911@VYuboreJoAYQqF06hGPYTA X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > If you can point me to the code which does that, I might find the > problem and suggest the solution. It's `shr-fill-line'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 15:22:03 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 20:22:03 +0000 Received: from localhost ([127.0.0.1]:44872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHpH-00062E-TQ for submit@debbugs.gnu.org; Sun, 27 Dec 2015 15:22:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39319) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHpG-000620-38 for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 15:21:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDHp6-0001HM-DI for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 15:21:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDHp6-0001HI-9S; Sun, 27 Dec 2015 15:21:48 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3458 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDHp4-0004zG-PT; Sun, 27 Dec 2015 15:21:47 -0500 Date: Sun, 27 Dec 2015 22:22:34 +0200 Message-Id: <83poxrfxpx.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87oadbd64a.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 27 Dec 2015 20:49:25 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> <83r3i7fzfu.fsf@gnu.org> <87oadbd64a.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Lars Ingebrigtsen > Cc: b.riefenstahl@turtle-trading.net, 22250@debbugs.gnu.org > Date: Sun, 27 Dec 2015 20:49:25 +0100 > > Eli Zaretskii writes: > > > If you can point me to the code which does that, I might find the > > problem and suggest the solution. > > It's `shr-fill-line'. Thanks. There's nothing wrong with eww or shr. This is the (strange-looking, but expected) result of displaying a long line of LTR text in a RTL paragraph with truncate-lines set to t. Here, try this: emacs -Q C-x b foo RET M-x set-variable RET bidi-paragraph-direction RET right-to-left RET M-x set-variable RET truncate-lines RET t RET Now press and hold 'a', let it fill the window line and hscroll, then type RET, and repeat for another line. Finally, type M-<. You will see exactly the same display as shown in the original report. It should now be clear this has nothing to do with either eww or breaking paragraphs in HTML pages. So now I have to ask Benjamin why does he think there's a bug here. Because I don't see any bug. I do agree that the display looks strange, but that's what you get for displaying long lines of LTR text in a RTL paragraph with truncate-lines set to t. RTL paragraphs are for predominantly RTL text, exactly like LTR paragraphs are for predominantly LTR text. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 15:27:50 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 20:27:50 +0000 Received: from localhost ([127.0.0.1]:44881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHuw-0006As-18 for submit@debbugs.gnu.org; Sun, 27 Dec 2015 15:27:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40147) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDHuu-0006Ag-GC for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 15:27:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDHuo-0001pe-I0 for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 15:27:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDHue-0001ot-4j; Sun, 27 Dec 2015 15:27:32 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3462 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDHud-0005js-CO; Sun, 27 Dec 2015 15:27:31 -0500 Date: Sun, 27 Dec 2015 22:28:20 +0200 Message-Id: <83mvsvfxgb.fsf@gnu.org> From: Eli Zaretskii To: larsi@gnus.org In-reply-to: <83poxrfxpx.fsf@gnu.org> (message from Eli Zaretskii on Sun, 27 Dec 2015 22:22:34 +0200) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> <83r3i7fzfu.fsf@gnu.org> <87oadbd64a.fsf@gnus.org> <83poxrfxpx.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sun, 27 Dec 2015 22:22:34 +0200 > From: Eli Zaretskii > Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > So now I have to ask Benjamin why does he think there's a bug here. > Because I don't see any bug. I do agree that the display looks > strange, but that's what you get for displaying long lines of LTR text > in a RTL paragraph with truncate-lines set to t. RTL paragraphs are > for predominantly RTL text, exactly like LTR paragraphs are for > predominantly LTR text. Ignore me, I didn't think clearly. I see the problem. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 15:59:35 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 20:59:35 +0000 Received: from localhost ([127.0.0.1]:44918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDIPf-0001mi-7S for submit@debbugs.gnu.org; Sun, 27 Dec 2015 15:59:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44992) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDIPd-0001mV-IJ for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 15:59:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDIPV-0008Ml-6P for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 15:59:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDIPM-0008LV-7d; Sun, 27 Dec 2015 15:59:16 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3472 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDIPL-0007aI-Hi; Sun, 27 Dec 2015 15:59:15 -0500 Date: Sun, 27 Dec 2015 23:00:04 +0200 Message-Id: <83lh8ffvzf.fsf@gnu.org> From: Eli Zaretskii To: larsi@gnus.org In-reply-to: <83mvsvfxgb.fsf@gnu.org> (message from Eli Zaretskii on Sun, 27 Dec 2015 22:28:20 +0200) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> <83r3i7fzfu.fsf@gnu.org> <87oadbd64a.fsf@gnus.org> <83poxrfxpx.fsf@gnu.org> <83mvsvfxgb.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sun, 27 Dec 2015 22:28:20 +0200 > From: Eli Zaretskii > Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > > Date: Sun, 27 Dec 2015 22:22:34 +0200 > > From: Eli Zaretskii > > Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > > > So now I have to ask Benjamin why does he think there's a bug here. > > Because I don't see any bug. I do agree that the display looks > > strange, but that's what you get for displaying long lines of LTR text > > in a RTL paragraph with truncate-lines set to t. RTL paragraphs are > > for predominantly RTL text, exactly like LTR paragraphs are for > > predominantly LTR text. > > Ignore me, I didn't think clearly. I see the problem. The problem is that when you have a LTR line in RTL paragraph, you start filling line not at window edge, and the window is already hscrolled. I need to think how to fix this cleanly. Meanwhile, can you tell what is that 'shr-indentation' property used for? It looks related to filling lines. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 16:10:38 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 21:10:39 +0000 Received: from localhost ([127.0.0.1]:44954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDIaM-00025y-Na for submit@debbugs.gnu.org; Sun, 27 Dec 2015 16:10:38 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41738) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDIaL-00025q-Ew for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 16:10:37 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDIZy-0003tA-7G; Sun, 27 Dec 2015 22:10:14 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <87si2nd6zj.fsf@gnus.org> <83r3i7fzfu.fsf@gnu.org> <87oadbd64a.fsf@gnus.org> <83poxrfxpx.fsf@gnu.org> <83mvsvfxgb.fsf@gnu.org> <83lh8ffvzf.fsf@gnu.org> Date: Sun, 27 Dec 2015 22:10:13 +0100 In-Reply-To: <83lh8ffvzf.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Dec 2015 23:00:04 +0200") Message-ID: <87d1tra98q.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aDIZy-0003tA-7G X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451855414.65774@l4XBbzlghNNEysP93Hm4hw X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Meanwhile, can you tell what is that 'shr-indentation' property used > for? It looks related to filling lines. shr-indentation says how far lines should be indented. It's mainly used for
    /
  • elements: * This starts here and folds down to here, so shr-indentation is three characters or the equivalent number of pixels if using variable width fonts. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 18:10:01 2015 Received: (at 22250) by debbugs.gnu.org; 27 Dec 2015 23:10:01 +0000 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 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 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 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 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> Date: 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") Message-ID: <8760zjbi9s.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, Lars Ingebrigtsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= 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= --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 22:32:10 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 03:32:10 +0000 Received: from localhost ([127.0.0.1]:45237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDOXZ-0007bc-R8 for submit@debbugs.gnu.org; Sun, 27 Dec 2015 22:32:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49086) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDOXU-0007b3-NW for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 22:32:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDOXM-0005s2-7s for 22250@debbugs.gnu.org; Sun, 27 Dec 2015 22:31:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD, WEIRD_PORT autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDOXB-0005my-Df; Sun, 27 Dec 2015 22:31:45 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3615 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDOXA-0000kP-Nr; Sun, 27 Dec 2015 22:31:45 -0500 Date: Mon, 28 Dec 2015 05:32:34 +0200 Message-Id: <83k2nzfdt9.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <8760zjbi9s.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Mon, 28 Dec 2015 00:09:51 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, Lars Ingebrigtsen > Date: Mon, 28 Dec 2015 00:09:51 +0100 > > 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. Does the patch below fix the problem? Lars, we don't seem to have a test suite for eww or shr, so if you have some layout tests, including with the indentation you explained above, could you try with this patch and see if anything breaks? Thanks. diff --git a/lisp/net/shr.el b/lisp/net/shr.el index c28e0b8..f7da3e9 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -244,7 +244,8 @@ shr-insert-document (if (and (null shr-width) (not (shr--have-one-fringe-p))) (* (frame-char-width) 2) - 0)))))) + 0))))) + bidi-display-reordering) (shr-descend dom) (shr-fill-lines start (point)) (shr-remove-trailing-whitespace start (point)) From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 11:40:52 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 16:40:52 +0000 Received: from localhost ([127.0.0.1]:46600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDaqq-0002qk-3P for submit@debbugs.gnu.org; Mon, 28 Dec 2015 11:40:52 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:48702) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDaqo-0002qW-9O for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 11:40:50 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aDaqh-0001dw-F4; Mon, 28 Dec 2015 17:40:43 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aDaqh-0001Eg-CO; Mon, 28 Dec 2015 17:40:43 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> Date: Mon, 28 Dec 2015 17:40:43 +0100 In-Reply-To: <83k2nzfdt9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Dec 2015 05:32:34 +0200") Message-ID: <87twn2il10.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli Zaretskii writes: > Does the patch below fix the problem? Sorry, no, no change here with that.=20 I looked at the code though and I noticed the call stack shr-fill-line -> shr-vertical-motion -> vertical-motion which is used to find the line break point. It seems the idea here is that Emacs' normal line wrap is used, we just go one line down, and vertical-motion gets us to the place where Emacs has wrapped. But Emacs' line wrap is only active with truncate-lines=3Dnil, and truncate-lines is set to t in eww-mode. When I set truncate-lines=3Dnil in shr-insert-document the bug does actually go away. I do not know why truncate-lines was set to t in the first place, though, and where that may have other consequences. I'm wondering why this bug depends on RTL layout. I tried my test case without dir=3Drtl and with "abc" as text, but that works fine, so RTL really is a factor. But that's not right, is it? Conceptually, the linebreak opportunities should be the same regardless of the paragraph direction, RTL or LTR. For mixed text the visual order of the runs for should be different for RTL paragraphs, but even than the length of the lines and where they are broken should not change. Line breaks should be found according to logical ordering. Let's say I have: aaa bbb =D7=90=D7=90=D7=90 =D7=91=D7=91=D7=91 If I have to break it before the last word, I want to get: aaa bbb =D7=90=D7=90=D7=90 =D7=91=D7=91=D7=91 And indeed, fill-paragraph does the right thing with this example. If I narrow my Emacs window here, it breaks like this, though: aaa bbb =D7=91=D7=91=D7=91 =D7=90=D7=90=D7=90 So there seems to be an even bigger issue in Emacs generally? At least Emacs default wrapping behaviour seems not directly usable as a basis for filling paragraphs correctly. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 11:46:30 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 16:46:30 +0000 Received: from localhost ([127.0.0.1]:46604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDawH-0002zf-NG for submit@debbugs.gnu.org; Mon, 28 Dec 2015 11:46:29 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:50326) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDawF-0002zW-Um for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 11:46:28 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDavt-0002Og-DQ; Mon, 28 Dec 2015 17:46:05 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> Date: Mon, 28 Dec 2015 17:46:04 +0100 In-Reply-To: <83k2nzfdt9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Dec 2015 05:32:34 +0200") Message-ID: <8737umwmgj.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aDavt-0002Og-DQ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451925965.64589@Xl9kJHpI+PJKAR9Dx1BD9A X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, Benjamin Riefenstahl X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Lars, we don't seem to have a test suite for eww or shr, so if you > have some layout tests, including with the indentation you explained > above, could you try with this patch and see if anything breaks? No, I don't have any layout tests... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 12:11:36 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 17:11:36 +0000 Received: from localhost ([127.0.0.1]:46615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDbKY-0005D4-W7 for submit@debbugs.gnu.org; Mon, 28 Dec 2015 12:11:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46581) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDbKU-0005Cp-Lc for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 12:11:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDbKL-00022C-3N for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 12:11:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDbK9-000211-Da; Mon, 28 Dec 2015 12:11:09 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3909 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDbK8-0004Jh-Hk; Mon, 28 Dec 2015 12:11:08 -0500 Date: Mon, 28 Dec 2015 19:12:00 +0200 Message-Id: <83bn9afqfz.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <87twn2il10.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Mon, 28 Dec 2015 17:40:43 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > Date: Mon, 28 Dec 2015 17:40:43 +0100 > > Eli Zaretskii writes: > > Does the patch below fix the problem? > > Sorry, no, no change here with that. ??? It certainly solved the problem with your original HTML file visited with eww-open-file. Doesn't it solve that for you? Are you sure you tested correctly? And what exactly did you test? > I looked at the code though and I noticed the call stack > > shr-fill-line > -> shr-vertical-motion > -> vertical-motion > > which is used to find the line break point. It seems the idea here is > that Emacs' normal line wrap is used, we just go one line down, and > vertical-motion gets us to the place where Emacs has wrapped. No, that's not how this works, AFAIK. (But Lars can correct me if I'm wrong.) What it does is go to the column where it wants to wrap and then checks if it's at EOL. If not, it goes back and looks for a place to insert a newline. Rinse, repeat. > I'm wondering why this bug depends on RTL layout. I'm wondering why it happens at all, after the patch I sent. When bidi-display-reordering is set to nil, there is no RTL layout, any text is laid out in strict logical left-to-right order. > I tried my test case without dir=rtl and with "abc" as text, but > that works fine, so RTL really is a factor. It cannot be, not when bidi-display-reordering is bound to nil. Something else is at work there. > If I narrow my Emacs window here, it breaks like this, though: > > aaa bbb בבב > אאא > > So there seems to be an even bigger issue in Emacs generally? No, this is the bidi display engine working as designed. > At least Emacs default wrapping behaviour seems not directly usable > as a basis for filling paragraphs correctly. shr doesn't use the wrapping behavior, it does its own layout calculations. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 12:49:28 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 17:49:28 +0000 Received: from localhost ([127.0.0.1]:46633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDbvD-00068W-Qi for submit@debbugs.gnu.org; Mon, 28 Dec 2015 12:49:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56309) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDbvC-00068I-1O for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 12:49:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDbv3-00022p-24 for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 12:49:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDbud-0001yy-Dh; Mon, 28 Dec 2015 12:48:51 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3935 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDbuc-0005Pu-N6; Mon, 28 Dec 2015 12:48:51 -0500 Date: Mon, 28 Dec 2015 19:49:41 +0200 Message-Id: <838u4efop6.fsf@gnu.org> From: Eli Zaretskii To: b.riefenstahl@turtle-trading.net In-reply-to: <83bn9afqfz.fsf@gnu.org> (message from Eli Zaretskii on Mon, 28 Dec 2015 19:12:00 +0200) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Mon, 28 Dec 2015 19:12:00 +0200 > From: Eli Zaretskii > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > > > I'm wondering why this bug depends on RTL layout. > > I'm wondering why it happens at all, after the patch I sent. When > bidi-display-reordering is set to nil, there is no RTL layout, any > text is laid out in strict logical left-to-right order. > > > I tried my test case without dir=rtl and with "abc" as text, but > > that works fine, so RTL really is a factor. > > It cannot be, not when bidi-display-reordering is bound to nil. > Something else is at work there. The only way I can explain this to myself is by reasoning that whatever code is related to the problem you see is somewhere else, not in shr-fill-lines or its subroutines, because while shr-fill-lines runs, my patch makes LTR and RTL text indistinguishable. So it's some other code that is responsible. It's important to understand what exactly are you trying, because your original test case in this bug report is fixed by the patch I sent. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 13:15:59 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 18:15:59 +0000 Received: from localhost ([127.0.0.1]:46649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDcKs-0006kz-Sz for submit@debbugs.gnu.org; Mon, 28 Dec 2015 13:15:59 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:48797) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDcKr-0006kj-7a for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 13:15:57 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aDcKk-0001hn-PC; Mon, 28 Dec 2015 19:15:50 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aDcKk-0001U9-LE; Mon, 28 Dec 2015 19:15:50 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> Date: Mon, 28 Dec 2015 19:15:50 +0100 In-Reply-To: <83bn9afqfz.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Dec 2015 19:12:00 +0200") Message-ID: <87k2nyigmh.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >> Eli Zaretskii writes: >> > Does the patch below fix the problem? >> From: Benjamin Riefenstahl >> Sorry, no, no change here with that. Eli Zaretskii writes: > ??? It certainly solved the problem with your original HTML file > visited with eww-open-file. Doesn't it solve that for you? Are you > sure you tested correctly? And what exactly did you test? Ah, I'm sorry, I forgot about that one, my bad. You are right, my first test case is indeed fixed by your patch. Just my actual problem is not, including the last script-based test case I made. (Which I was working on the whole evening yesterday :-() >> I looked at the code though and I noticed the call stack >> >> shr-fill-line >> -> shr-vertical-motion >> -> vertical-motion >> >> which is used to find the line break point. It seems the idea here is >> that Emacs' normal line wrap is used, we just go one line down, and >> vertical-motion gets us to the place where Emacs has wrapped. > > No, that's not how this works, AFAIK. (But Lars can correct me if I'm > wrong.) What it does is go to the column where it wants to wrap and > then checks if it's at EOL. If not, it goes back and looks for a > place to insert a newline. Rinse, repeat. Fact is that vertical-motion is called in the course of determining the break (I think as part of "go to the column where it wants to wrap") and that my actual problems and the script test case seem to be solved by setting truncate-lines to nil. We have two different bugs here, because my first test case is *not* fixed just by setting truncate-lines to nil. >> I'm wondering why this bug depends on RTL layout. Here I was talking about the script test case I sent, not the first test case, which I had entirely forgotten about. > I'm wondering why it happens at all, after the patch I sent. When > bidi-display-reordering is set to nil, there is no RTL layout, any > text is laid out in strict logical left-to-right order. > >> I tried my test case without dir=rtl and with "abc" as text, but >> that works fine, so RTL really is a factor. > > It cannot be, not when bidi-display-reordering is bound to nil. > Something else is at work there. Again, I am sorry for the confusion. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 13:30:27 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 18:30:27 +0000 Received: from localhost ([127.0.0.1]:46677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDcYs-000799-6q for submit@debbugs.gnu.org; Mon, 28 Dec 2015 13:30:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39031) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDcYn-00078r-5j for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 13:30:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDcYe-000329-NY for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 13:30:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDcYU-0002yJ-Kx; Mon, 28 Dec 2015 13:30:02 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3999 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDcYT-0008Vm-Qa; Mon, 28 Dec 2015 13:30:02 -0500 Date: Mon, 28 Dec 2015 20:30:51 +0200 Message-Id: <8360zifmsk.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <87k2nyigmh.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Mon, 28 Dec 2015 19:15:50 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > Date: Mon, 28 Dec 2015 19:15:50 +0100 > > >> Eli Zaretskii writes: > >> > Does the patch below fix the problem? > > >> From: Benjamin Riefenstahl > >> Sorry, no, no change here with that. > > Eli Zaretskii writes: > > ??? It certainly solved the problem with your original HTML file > > visited with eww-open-file. Doesn't it solve that for you? Are you > > sure you tested correctly? And what exactly did you test? > > Ah, I'm sorry, I forgot about that one, my bad. You are right, my first > test case is indeed fixed by your patch. I'm relieved. Thanks. > Just my actual problem is not, including the last script-based test case > I made. (Which I was working on the whole evening yesterday :-() Is there any way of recreating that problem without having to set up netcat? (Why is receiving a page from a server different from visiting the same page as a disk file? The way shr works, this should produce exactly the same results, no?) > >> I looked at the code though and I noticed the call stack > >> > >> shr-fill-line > >> -> shr-vertical-motion > >> -> vertical-motion > >> > >> which is used to find the line break point. It seems the idea here is > >> that Emacs' normal line wrap is used, we just go one line down, and > >> vertical-motion gets us to the place where Emacs has wrapped. > > > > No, that's not how this works, AFAIK. (But Lars can correct me if I'm > > wrong.) What it does is go to the column where it wants to wrap and > > then checks if it's at EOL. If not, it goes back and looks for a > > place to insert a newline. Rinse, repeat. > > Fact is that vertical-motion is called in the course of determining the > break (I think as part of "go to the column where it wants to wrap") Yes, but vertical-motion is only used here to go to a particular column on the same line. It never goes down or up. How's that related to wrapping lines? > and that my actual problems and the script test case seem to be > solved by setting truncate-lines to nil. I understand, but that doesn't yet explain what exactly doesn't work correctly. I'm pretty sure that the code which is responsible is not in shr-fill-line, because when that runs, the bidi reordering is disabled by my patch. > We have two different bugs here, because my first test case is *not* > fixed just by setting truncate-lines to nil. Yes. The question is where is the other code. Can you spot that? Failing that, can you describe what exactly do you see, or maybe step through the code in Edebug and tell which part(s) misbehave? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 14:08:06 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 19:08:06 +0000 Received: from localhost ([127.0.0.1]:46704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDd9J-00084J-Q0 for submit@debbugs.gnu.org; Mon, 28 Dec 2015 14:08:06 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:48843) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDd9I-00083j-E3 for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 14:08:04 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aDd9C-0001mG-Jq; Mon, 28 Dec 2015 20:07:58 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aDd9C-0001r4-Gz; Mon, 28 Dec 2015 20:07:58 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> Date: Mon, 28 Dec 2015 20:07:58 +0100 In-Reply-To: <8760zjbi9s.fsf@justinian.turtle-trading.net> (Benjamin Riefenstahl's message of "Mon, 28 Dec 2015 00:09:51 +0100") Message-ID: <87bn9aie7l.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, Lars Ingebrigtsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Benjamin Riefenstahl writes: > I have no sure recipe using a file, Now I have one, see attachment. This, too, is fixed here by setting truncate-lines to nil in eww-mode. The file can be loaded just through eww-open-file to exhibit the problem. --=-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: attachment; filename=test-full-text.html Content-Transfer-Encoding: base64 PGh0bWwgeG1sOmxhbmc9J2hlJyBsYW5nPSdoZScgZGlyPSdydGwnPg0KIDxoZWFkPg0KIDxtZXRh IGh0dHAtZXF1aXY9J2NvbnRlbnQtdHlwZScNCiBjb250ZW50PSd0ZXh0L2h0bWw7IGNoYXJzZXQ9 VVRGLTgnIC8+DQogPC9oZWFkPg0KIDxib2R5PjxwPteQINeV1rDXlNa415DWuNeT1rjXnSDXmda4 15PWt9eiINeQ1rbXqta+15fWt9eV1rzWuNeUINeQ1rTXqdeB1rDXqta815XWuSDXlda316rWvNa3 15TWt9eoINeV1rfXqta81rXXnNa215Mg15DWtteq1r7Xp9a315nWtNefINeV1rfXqta81rnXkNee 1rbXqCDXp9a416DWtNeZ16rWtNeZINeQ1rTXmdep14ENCiDXkNa216rWvteZ1rDXlNa515XWuNeU IDog15Eg15XWt9eq1rzWudeh1rbXoyDXnNa415zWtteT1rbXqiDXkNa216rWvteQ1rjXl9a015nX lSDXkNa216rWvteU1rjXkda215wg15XWt9eZ1rDXlNa015nWvteU1rbXkda215wg16jWudei1rXX lCDXpta515DXnyDXldaw16fWt9eZ1rTXnyDXlNa415nWuNeUINei1rnXkda115MNCiDXkNay15PW uNee1rjXlCA6INeSINeV1rfXmdaw15TWtNeZINee1rTXp9a81rXXpSDXmda4157WtNeZ150g15XW t9eZ1rzWuNeR1rXXkCDXp9a315nWtNefINee1rTXpNa81rDXqNa015kg15TWuNeQ1rLXk9a4157W uNeUINee1rTXoNaw15fWuNeUINec1rfXmdeU1rnXlda415QgOiDXkyDXldaw15TWtteR1rbXnCDX lNa115HWtNeZ15ANCiDXkta3153WvteU15XWvNeQINee1rTXkda81rDXm9a516jXlda516og16bW udeQ16DXlda5INeV1rzXnta115fWttec1rDXkda115TWttefINeV1rfXmda81rTXqdeB1rfXoiDX mdaw15TWudeV1rjXlCDXkNa215zWvteU1rbXkda215wg15XWsNeQ1rbXnNa+157WtNeg1rDXl9a4 16rXlda5IDog15Qg15XWsNeQ1rbXnNa+16fWt9eZ1rTXnw0KINeV1rDXkNa215zWvtee1rTXoNaw 15fWuNeq15XWuSDXnNa515Ag16nXgda416LWuNeUINeV1rfXmda81rTXl9a316gg15zWsNen1rfX mda0158g157WsNeQ1rnXkyDXlda315nWvNa016TWvNaw15zXlda8INek1rzWuNeg1rjXmdeVIDog 15Ug15XWt9eZ1rzWudeQ157WtteoINeZ1rDXlNa515XWuNeUINeQ1rbXnNa+16fWuNeZ1rTXnyDX nNa4157WvNa415QNCiDXl9a416jWuNeUINec1rjXmtawINeV1rDXnNa4157WvNa415Qg16DWuNek 1rDXnNeV1rwg16TWuNeg1rbXmdea1rggOiDXliDXlNay15zXlda515Ag15DWtNed1r7Xqta81rXX mdeY1rTXmdeRINep14LWsNeQ1rXXqiDXldaw15DWtNedINec1rnXkCDXqta115nXmNa015nXkSDX nNa316TWvNa216rWt9eXINeX1rfXmNa81rjXkNeqDQog16jWudeR1rXXpSDXldaw15DWtdec1rbX mdea1rgg16rWvNaw16nXgdeV1rzXp9a416rXlda5INeV1rDXkNa316rWvNa415Qg16rWvNa0157W sNep14HWuNec1r7Xkda815XWuSA6INeXINeV1rfXmda81rnXkNee1rbXqCDXp9a315nWtNefINeQ 1rbXnNa+15TWtteR1rbXnCDXkNa415fWtNeZ15Ug15XWt9eZ1rDXlNa015kg15HWvNa015TWsNeZ 15XWudeq1rjXnQ0KINeR1rzWt9ep1rzXgta415PWtteUINeV1rfXmda81rjXp9a4150g16fWt9eZ 1rTXnyDXkNa215zWvteU1rbXkda215wg15DWuNeX1rTXmdeVINeV1rfXmda81rfXlNa316jWsNeS 1rXXlNeV1rwgOiDXmCDXlda315nWvNa515DXnta216gg15nWsNeU1rnXlda415Qg15DWttec1r7X p9a315nWtNefINeQ1rXXmSDXlNa215HWttecINeQ1rjXl9a015nXmta4DQog15XWt9eZ1rzWudeQ 157WtteoINec1rnXkCDXmda415PWt9ei1rDXqta81rTXmSDXlNay16nXgda5157WtdeoINeQ1rjX l9a015kg15DWuNeg1rnXm9a015kgOiDXmSDXlda315nWvNa515DXnta216gg157WtteUINei1rjX qdeC1rTXmdeq1rgg16fXlda515wg15PWvNaw157WtdeZINeQ1rjXl9a015nXmta4INem1rnXotay 16fWtNeZ150g15DWtdec1rfXmQ0KINee1rTXn9a+15TWuNeQ1rLXk9a4157WuNeUIDog15nXkCDX ldaw16LWt9eq1rzWuNeUINeQ1rjXqNeV1rzXqCDXkNa416rWvNa415Qg157WtNef1r7XlNa415DW steT1rjXnta415Qg15DWstep14HWtteoINek1rzWuNem1rDXqta415Qg15DWtteq1r7XpNa81rTX mdeU1rgg15zWuNen1rfXl9a316og15DWtteq1r7Xk9a81rDXnta115kg15DWuNeX1rTXmdea1rgN CiDXnta015nWvNa415PWttea1rggOiDXmdeRINeb1rzWtNeZINeq1rfXotay15HWudeTINeQ1rbX qta+15TWuNeQ1rLXk9a4157WuNeUINec1rnXkNa+16rWudeh1rXXoyDXqta81rXXqta+15vWvNa5 15fWuNeU1rwg15zWuNea1rAg16DWuNeiINeV1rjXoNa415Mg16rWvNa015TWsNeZ1rbXlCDXkda4 15DWuNeo1rbXpSA6INeZ15INCiDXlda315nWvNa515DXnta216gg16fWt9eZ1rTXnyDXkNa215zW vteZ1rDXlNa515XWuNeUINeS1rzWuNeT15XWudecINei1rLXlda516DWtNeZINee1rTXoNa81rDX qdeC15XWudeQIDog15nXkyDXlNa1158g15LWvNa116jWt9ep14HWsNeq1rzWuCDXkNa516rWtNeZ INeU1rfXmda815XWudedINee1rXXota315wg16TWvNaw16DWtdeZINeU1rjXkNay15PWuNee1rjX lA0KINeV1rzXnta016TWvNa416DWtteZ15rWuCDXkNa216HWvNa416rWtdeoINeV1rDXlNa415nW tNeZ16rWtNeZINeg1rjXoiDXlda416DWuNeTINeR1rzWuNeQ1rjXqNa216Ug15XWsNeU1rjXmda4 15Qg15vWuNec1r7Xnta516bWsNeQ1rTXmSDXmda315TWt9eo1rDXkta116DWtNeZIDog15jXlSDX lda315nWvNa515DXnta216gg15zXlda5INeZ1rDXlNa515XWuNeUDQog15zWuNeb1rXXnyDXm9a8 1rjXnNa+15TWudeo1rXXkiDXp9a315nWtNefINep14HWtNeR1rDXota416rWt9eZ1rTXnSDXmda7 16fWvNa4150g15XWt9eZ1rzWuNep14LWttedINeZ1rDXlNa515XWuNeUINec1rDXp9a315nWtNef INeQ15XWudeqINec1rDXkda015zWsNeq1rzWtNeZINeU1rfXm9a815XWudeq1r7XkNa516rXlda5 INeb1rzWuNec1r7Xnta516bWsNeQ15XWuSA6DQog15jXliDXlda315nWvNa116bWtdeQINen1rfX mda0158g157WtNec1rzWtNek1rDXoNa115kg15nWsNeU1rnXlda415Qg15XWt9eZ1rzWtdep14HW tteRINeR1rzWsNeQ1rbXqNa216XWvteg15XWudeTINen1rTXk9aw157Wt9eq1r7Xota115PWttef IDog15nXliDXlda315nWvNa115PWt9eiINen1rfXmda0158g15DWtteq1r7XkNa016nXgdaw16rW vNeV1rkNCiDXlda316rWvNa315TWt9eoINeV1rfXqta81rXXnNa215Mg15DWtteq1r7Xl9ay16DX lda515rWsCDXlda315nWsNeU1rTXmSDXkda81rnXoNa215Qg16LWtNeZ16gg15XWt9eZ1rzWtNen 1rDXqNa415Ag16nXgda1150g15TWuNei1rTXmdeoINeb1rzWsNep14HWtdedINeR1rzWsNeg15XW uSDXl9ay16DXlda515rWsCA6INeZ15cg15XWt9eZ1rzWtNeV1rzWuNec1rXXkw0KINec1rfXl9ay 16DXlda515rWsCDXkNa216rWvtei1rTXmdeo1rjXkyDXldaw16LWtNeZ16jWuNeTINeZ1rjXnNa3 15Mg15DWtteq1r7Xntaw15fXlda815nWuNeQ1rXXnCDXlda8157WsNeX1rTXmda81rjXmdeQ1rXX nCDXmda415zWt9eTINeQ1rbXqta+157WsNeq15XWvNep14HWuNeQ1rXXnCDXlda8157WsNeq15XW vNep14HWuNeQ1rXXnCDXmda415zWt9eTDQog15DWtteq1r7XnNa4157Wttea1rAgOiBbINeX157X mdep15kgXSDXmdeYINeV1rfXmda81rTXp9a81rfXl9a+15zXlda5INec1rbXnta215rWsCDXqdeB 1rDXqta81rXXmSDXoNa416nXgda015nXnSDXqdeB1rXXnSDXlNa415DWt9eX1rfXqiDXota415PW uNeUINeV1rDXqdeB1rXXnSDXlNa316nWvNeB1rXXoNa015nXqiDXpta015zWvNa415QNCiA6INeb INeV1rfXqta81rXXnNa215Mg16LWuNeT1rjXlCDXkNa216rWvteZ1rjXkda415wg15TXlda815Ag 15TWuNeZ1rjXlCDXkNay15HWtNeZINeZ16nXgda115Eg15DWudeU1rbXnCDXlda8157WtNen1rDX oNa215QgOiDXm9eQINeV1rDXqdeB1rXXnSDXkNa415fWtNeZ15Ug15nXlda815HWuNecINeU15XW vNeQDQog15TWuNeZ1rjXlCDXkNay15HWtNeZINeb1rzWuNec1r7Xqta81rnXpNa116nXgiDXm9a8 1rTXoNa815XWudeoINeV1rDXoteV1rzXkta415EgOiDXm9eRINeV1rDXpta015zWvNa415Qg15LW t9ed1r7XlNa015XXkCDXmda415zWsNeT1rjXlCDXkNa216rWvteq1rzXlda815HWt9ecINen1rfX mda0158g15zWudeY1rXXqdeBDQog15vWvNa415zWvteX1rnXqNa116nXgSDXoNaw15fXqdeB1rbX qiDXlda815HWt9eo1rDXlta215wg15XWt9eQ1rLXl9eV1rnXqiDXqta815XWvNeR1rfXnNa+16fW t9eZ1rTXnyDXoNa316LWstee1rjXlCA6IFsg16nXqdeZIF0g15vXkiDXlda315nWvNa515DXnta2 16gg15zWttee1rbXmtawINec1rDXoNa416nXgda415nXlQ0KINei1rjXk9a415Qg15XWsNem1rTX nNa81rjXlCDXqdeB1rDXnta316LWt9efINen15XWudec1rTXmSDXoNaw16nXgda115kg15zWttee 1rbXmtawINeU1rfXkNay15bWtdeg1rzWuNeUINeQ1rTXntaw16jWuNeq1rTXmSDXm9a81rTXmSDX kNa015nXqdeBINeU1rjXqNa315LWsNeq1rzWtNeZINec1rDXpNa016bWsNei1rTXmSDXldaw15nW ttec1rbXkyDXnNaw15fWt9eR1rzWu9eo1rjXqta015kNCiA6INeb15Mg15vWvNa015kg16nXgda0 15HWsNei1rjXqta315nWtNedINeZ1rvXp9a81rfXnda+16fWuNeZ1rTXnyDXldaw15zWttee1rbX mtawINep14HWtNeR1rDXota015nXnSDXldaw16nXgda015HWsNei1rjXlCA6INeb15Qg15XWt9eZ 1rzWtdeT1rfXoiDXkNa415PWuNedINei15XWudeTINeQ1rbXqta+15DWtNep14HWsNeq1rzXlda5 DQog15XWt9eq1rzWtdec1rbXkyDXkda81rXXnyDXlda316rWvNa016fWsNeo1rjXkCDXkNa216rW vtep14HWsNee15XWuSDXqdeB1rXXqiDXm9a81rTXmSDXqdeB1rjXqta+15zWtNeZINeQ1rHXnNa5 15TWtNeZ150g15bWtteo1rfXoiDXkNa315fWtdeoINeq1rzWt9eX1rfXqiDXlNa215HWttecINeb 1rzWtNeZINeU1rLXqNa415LXlda5INen1rjXmda0158gOg0KINeb15Ug15XWvNec1rDXqdeB1rXX qiDXkta81rfXnda+15TXlda815Ag15nWu9ec1rzWt9eT1r7Xkda81rXXnyDXlda315nWvNa016fW sNeo1rjXkCDXkNa216rWvtep14HWsNee15XWuSDXkNax16DXlda516nXgSDXkNa415Yg15TXlda8 15fWt9ecINec1rTXp9aw16jWudeQINeR1rzWsNep14HWtdedINeZ1rDXlNa515XWuNeUIDoNCiDX oSA8L3A+PC9ib2R5Pg0KIDwvaHRtbD4NCg== --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 14:29:19 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 19:29:19 +0000 Received: from localhost ([127.0.0.1]:46728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDdTr-00008r-23 for submit@debbugs.gnu.org; Mon, 28 Dec 2015 14:29:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52663) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDdTp-00008f-Rb for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 14:29:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDdTg-0007aI-I3 for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 14:29:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDdTI-0007XM-Td; Mon, 28 Dec 2015 14:28:44 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4064 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDdTI-0000Ab-4z; Mon, 28 Dec 2015 14:28:44 -0500 Date: Mon, 28 Dec 2015 21:29:35 +0200 Message-Id: <8337umfk2o.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <87bn9aie7l.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Mon, 28 Dec 2015 20:07:58 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <87bn9aie7l.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, Lars Ingebrigtsen > Date: Mon, 28 Dec 2015 20:07:58 +0100 > > Now I have one, see attachment. This, too, is fixed here by setting > truncate-lines to nil in eww-mode. The file can be loaded just through > eww-open-file to exhibit the problem. Thanks. I think I see the problem: it's the auto-composition of characters, in this case the Hebrew diacritics with the consonants. Disable global-auto-composition-mode, and the problem goes away. I think shr.el's line-filling algorithm isn't ready for that, perhaps because going back a character doesn't necessarily change point's coordinates. I will look into that, thanks for a clear test case. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 16:23:31 2015 Received: (at 22250) by debbugs.gnu.org; 28 Dec 2015 21:23:31 +0000 Received: from localhost ([127.0.0.1]:46820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDfGN-0007rc-79 for submit@debbugs.gnu.org; Mon, 28 Dec 2015 16:23:31 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:48968) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDfGM-0007rN-CP for 22250@debbugs.gnu.org; Mon, 28 Dec 2015 16:23:30 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aDfGG-0001sr-1I; Mon, 28 Dec 2015 22:23:24 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aDfGF-0002kx-Ug; Mon, 28 Dec 2015 22:23:23 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> Date: Mon, 28 Dec 2015 22:23:23 +0100 In-Reply-To: <8360zifmsk.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Dec 2015 20:30:51 +0200") Message-ID: <8737umi7xw.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) I see that you found something with that other file, that's good. My script-based test case contains no diacritics though, so it is still another problem. I have uploaded this now to my private webserver as . This URL reproduces the problem for me after "G RET". Eli Zaretskii writes: > (Why is receiving a page from a server different from visiting the > same page as a disk file? The way shr works, this should produce > exactly the same results, no?) It gets worse, I set a breakpoint in eww-render yesterday. At that point in the code I understand that everything just works from a temporary buffer containing the HTTP headers and the HTML. I got the error not depending on the buffer contents (IOW with the *same* contents in the temp buffer), but depending on the length of the URL. I thought that the message "Loading ..." that is shown in the eww buffer might trigger the problem. So today I disabled that and tried my test case, and it worked. But than I tried my actual pages and came upon the case that I just sent in the other post, where it still did not work. > Failing that, can you describe what exactly do you see, or maybe step > through the code in Edebug and tell which part(s) misbehave? So I set a breakpoint on shr-vertical-motion and ran my script test case. Remember that this works the first time through but fails when reloaded with "G RET". In the good case, for the first line, point is at position 1, shr-vertical-motion calls vertical-motion with (78 . 0) as parameter and afterwards, point is at 94. Which is a good place to break. In the bad case, for the first line, everything looks the same, vertical-motion gets called with the same parameter, but when it returns point is at 161. Which is not good. Delving into the C code: In the good case, it->w->hscroll is 0, in the bad case it->w->hscroll is 68. Experimentation tells me that the interpretation of window-hscroll (whether it refers to the left or the right margin) depends on bidi-paragraph-direction, is that right? Anyway, when I set bidi-paragraph-direction to left-to-right manually before I press "G RET" than the problem does not occur. Note that at the point when vertical-motion is called and gives different answers, bidi-paragraph-direction is always right-to-left, so it looks like some window parameter that depends on bidi-paragraph-direction is cached somewhere? From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 29 11:47:19 2015 Received: (at 22250) by debbugs.gnu.org; 29 Dec 2015 16:47:19 +0000 Received: from localhost ([127.0.0.1]:48819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDxQa-0000fK-AF for submit@debbugs.gnu.org; Tue, 29 Dec 2015 11:47:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44208) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDxQV-0000f4-IJ for 22250@debbugs.gnu.org; Tue, 29 Dec 2015 11:47:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDxQM-0006dg-66 for 22250@debbugs.gnu.org; Tue, 29 Dec 2015 11:47:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDxQB-0006cW-5l; Tue, 29 Dec 2015 11:46:51 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4531 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDxQ9-0000LC-EN; Tue, 29 Dec 2015 11:46:50 -0500 Date: Tue, 29 Dec 2015 18:47:43 +0200 Message-Id: <83io3hdwwg.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <8737umi7xw.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Mon, 28 Dec 2015 22:23:23 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > Date: Mon, 28 Dec 2015 22:23:23 +0100 > > I see that you found something with that other file, that's good. My > script-based test case contains no diacritics though, so it is still > another problem. I have uploaded this now to my private webserver as > . > This URL reproduces the problem for me after "G RET". Not for me, it doesn't. I tried "G RET" quite a few times, it always displays correctly. > In the bad case, for the first line, everything looks the same, > vertical-motion gets called with the same parameter, but when it returns > point is at 161. Which is not good. What does window-hscroll return in each of these two cases? > In the good case, it->w->hscroll is 0, in the bad case it->w->hscroll is > 68. Experimentation tells me that the interpretation of window-hscroll > (whether it refers to the left or the right margin) depends on > bidi-paragraph-direction, is that right? Yes and no. It depends on what you mean by "interpretation". > Note that at the point when vertical-motion is called and gives > different answers, bidi-paragraph-direction is always right-to-left, so > it looks like some window parameter that depends on > bidi-paragraph-direction is cached somewhere? The value of bidi-paragraph-direction shouldn't matter when bidi-display-reordering is nil (I've just went through the entire code and didn't see any place where we use that value when bidi-display-reordering is nil). But just in case I missed something, try bindings bidi-paragraph-direction to nil or left-to-right where I bind bidi-display-reordering, and see if that helps. Thanks. P.S. I'm going to commit my patch, as it definitely improves things and is clearly TRT to do (and I'm tired of stashing it ;-). From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 29 15:55:34 2015 Received: (at 22250) by debbugs.gnu.org; 29 Dec 2015 20:55:34 +0000 Received: from localhost ([127.0.0.1]:48961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE1Is-00025N-Hn for submit@debbugs.gnu.org; Tue, 29 Dec 2015 15:55:34 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:50239) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE1Iq-000257-30 for 22250@debbugs.gnu.org; Tue, 29 Dec 2015 15:55:32 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aE1Ii-0002gP-Vg; Tue, 29 Dec 2015 21:55:24 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aE1Ii-0007tY-Qy; Tue, 29 Dec 2015 21:55:24 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> Date: Tue, 29 Dec 2015 21:55:24 +0100 In-Reply-To: <83io3hdwwg.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Dec 2015 18:47:43 +0200") Message-ID: <87a8ot9dqb.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Benjamin Riefenstahl writes: >> I have uploaded this now to my private webserver as >> . >> This URL reproduces the problem for me after "G RET". > Eli Zaretskii writes: > Not for me, it doesn't. I tried "G RET" quite a few times, it always > displays correctly. You're right it works now, since 03dbfb9 * (eww-setup-buffer): Restore left-to-right defaults Yesterday I had still been on the earlier f9d87dd. Oh the joy of moving targets ;-) But that's ok, so this case and my script text case are solved in practice. I'm still concerned about the behaviour of vertical-motion in this, though. On practical level, there is still the matter of paragraphs using diacritics. Do you have an idea how to fix those? For your other questions: >> In the bad case, for the first line, everything looks the same, >> vertical-motion gets called with the same parameter, but when it returns >> point is at 161. Which is not good. > > What does window-hscroll return in each of these two cases? I checked that again with the commit before 03dbfb9. I inserted a call to `message' to make sure I got the right window. It's 0 for the good case, 67 for the bad case. Basically the same as it->w->hscroll on the C level. >> In the good case, it->w->hscroll is 0, in the bad case it->w->hscroll is >> 68. >> Experimentation tells me that the interpretation of window-hscroll >> (whether it refers to the left or the right margin) depends on >> bidi-paragraph-direction, is that right? > > Yes and no. It depends on what you mean by "interpretation". I was starting from the doc on window.hscroll in window.h and the docstring for window-hscroll. The docstring says Return the number of columns by which WINDOW is scrolled from left margin. But with bidi-paragraph-direction set to RTL window-hscroll works with respect to the right margin. I just verified again. >> Note that at the point when vertical-motion is called and gives >> different answers, bidi-paragraph-direction is always right-to-left, so >> it looks like some window parameter that depends on >> bidi-paragraph-direction is cached somewhere? > > The value of bidi-paragraph-direction shouldn't matter when > bidi-display-reordering is nil (I've just went through the entire code > and didn't see any place where we use that value when > bidi-display-reordering is nil). But just in case I missed something, > try bindings bidi-paragraph-direction to nil or left-to-right where I > bind bidi-display-reordering, and see if that helps. With both variables set in shr-insert-document, I consistently get a seemingly correctly wrapped but left justified (LTR) paragraph, regardless which version I use, I tried in 5049827 (the one before 03dbfb9) and with the current 88e2de2. This is with the above mentioned URL. > P.S. I'm going to commit my patch, as it definitely improves things > and is clearly TRT to do (and I'm tired of stashing it ;-). Got it. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 29 16:02:53 2015 Received: (at 22250) by debbugs.gnu.org; 29 Dec 2015 21:02:54 +0000 Received: from localhost ([127.0.0.1]:48977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE1Pw-0003xB-Lk for submit@debbugs.gnu.org; Tue, 29 Dec 2015 16:02:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37138) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE1Pr-0003ww-P2 for 22250@debbugs.gnu.org; Tue, 29 Dec 2015 16:02:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aE1Pj-0004rT-AM for 22250@debbugs.gnu.org; Tue, 29 Dec 2015 16:02:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE1PY-0004qC-AD; Tue, 29 Dec 2015 16:02:28 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4710 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aE1PX-0003UV-HS; Tue, 29 Dec 2015 16:02:27 -0500 Date: Tue, 29 Dec 2015 23:03:20 +0200 Message-Id: <83poxpc6hz.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <87a8ot9dqb.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Tue, 29 Dec 2015 21:55:24 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > Date: Tue, 29 Dec 2015 21:55:24 +0100 > > Benjamin Riefenstahl writes: > >> I have uploaded this now to my private webserver as > >> . > >> This URL reproduces the problem for me after "G RET". > > > Eli Zaretskii writes: > > Not for me, it doesn't. I tried "G RET" quite a few times, it always > > displays correctly. > > You're right it works now, since > > 03dbfb9 * (eww-setup-buffer): Restore left-to-right defaults > > Yesterday I had still been on the earlier f9d87dd. Oh the joy of moving > targets ;-) > > But that's ok, so this case and my script text case are solved in > practice. I'm still concerned about the behaviour of vertical-motion in > this, though. > > On practical level, there is still the matter of paragraphs using > diacritics. Is that the only remaining problem? Reading the rest of your message, I'm not sure. > Do you have an idea how to fix those? A general idea, yes. I need to look into the details. > I was starting from the doc on window.hscroll in window.h and the > docstring for window-hscroll. The docstring says > > Return the number of columns by which WINDOW is scrolled from left > margin. > > But with bidi-paragraph-direction set to RTL window-hscroll works with > respect to the right margin. I just verified again. That's a bug in the documentation, I will fix that. Thanks for pointing this out. > >> Note that at the point when vertical-motion is called and gives > >> different answers, bidi-paragraph-direction is always right-to-left, so > >> it looks like some window parameter that depends on > >> bidi-paragraph-direction is cached somewhere? > > > > The value of bidi-paragraph-direction shouldn't matter when > > bidi-display-reordering is nil (I've just went through the entire code > > and didn't see any place where we use that value when > > bidi-display-reordering is nil). But just in case I missed something, > > try bindings bidi-paragraph-direction to nil or left-to-right where I > > bind bidi-display-reordering, and see if that helps. > > With both variables set in shr-insert-document, I consistently get a > seemingly correctly wrapped but left justified (LTR) paragraph, > regardless which version I use, I tried in 5049827 (the one before > 03dbfb9) and with the current 88e2de2. This is with the above mentioned > URL. Does this mean there's one more problem? Or does this mean my suggestion didn't work, and is not required, as the only remaining issue is with composed characters? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 29 17:33:42 2015 Received: (at 22250) by debbugs.gnu.org; 29 Dec 2015 22:33:42 +0000 Received: from localhost ([127.0.0.1]:49018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE2pp-0006Cc-Vj for submit@debbugs.gnu.org; Tue, 29 Dec 2015 17:33:42 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:50337) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE2po-0006CL-2K for 22250@debbugs.gnu.org; Tue, 29 Dec 2015 17:33:40 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aE2ph-0002jU-FR; Tue, 29 Dec 2015 23:33:33 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aE2ph-000210-CM; Tue, 29 Dec 2015 23:33:33 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> Date: Tue, 29 Dec 2015 23:33:33 +0100 In-Reply-To: <83poxpc6hz.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Dec 2015 23:03:20 +0200") Message-ID: <87y4cc996q.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >> Benjamin Riefenstahl writes: >> On practical level, there is still the matter of paragraphs using >> diacritics. Eli Zaretskii writes: > Is that the only remaining problem? At this point every problem in my application and test cases that I still see involves diacritics. And thank you (and Lars) for your patience with that. > Or does this mean my suggestion didn't work, and is not required, It does fix the issue with my first test case, with the Latin text in an RTL document. I just checked and that one does not work if I revert your change on HEAD. Your change did not fix the issue with Hebrew text without diacritics, that got fixed with Lars' commit 03dbfb9. >> I'm still concerned about the behaviour of vertical-motion in this, >> though. > Reading the rest of your message, I'm not sure. I am weary that there still are dragons with vertical-motion and/or hscroll. I don't like it that two situations behave differently, although they have the same values in variables and the same window configuration, point at in same place, and - from what I can see - horizontal scrolling also at the same level (given that point is at bol, hscroll *should* be 0, otherwise point would not be visible, right?). Still window-hscroll gives a bogus value in the bad case. >> With both variables set in shr-insert-document, I consistently get a >> seemingly correctly wrapped but left justified (LTR) paragraph, >> regardless which version I use, I tried in 5049827 (the one before >> 03dbfb9) and with the current 88e2de2. This is with the above >> mentioned URL. > Does this mean there's one more problem? Not with my application and test cases. But it seems to me, that contrary to what you believed, bidi-paragraph-direction=nil still does have an effect on the layout, even when bidi-display-reordering is nil. It fixes the paragraph wrapping for Hebrew text without diacritics in the version before Lars commit, while bidi-display-reordering alone does not. It also makes the paragraph LTR, but that does not surprise me as much. An insight that I just had - you maybe are aware of it already - is that shr-tag-html, the function that sets bidi-paragraph-direction from the element, is called from with-in the body of shr-insert-document (as a subroutine of the recursive shr-descend, basically). That explains why Lars' patch (resetting bidi-paragraph-direction at the eww level each time before calling into shr) and setting bidi-paragraph-direction in shr-insert-document have the same effect on the wrapping. It also explains why we get an LTR paragraph, when we shadow the buffer-local variable in this way. And it explains why I got the problem only on "G RET". The problem was triggered between the start of the body of shr-insert-document and the call to shr-tag-html when bidi-paragraph-direction is right-to-left between those two places. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 30 12:04:25 2015 Received: (at 22250) by debbugs.gnu.org; 30 Dec 2015 17:04:25 +0000 Received: from localhost ([127.0.0.1]:50585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEKAf-0007lc-SZ for submit@debbugs.gnu.org; Wed, 30 Dec 2015 12:04:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57343) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEKAd-0007lM-RQ for 22250@debbugs.gnu.org; Wed, 30 Dec 2015 12:04:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEKAU-0006oQ-1C for 22250@debbugs.gnu.org; Wed, 30 Dec 2015 12:04:14 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEKAI-0006mt-6X; Wed, 30 Dec 2015 12:03:58 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1193 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aEKAH-000370-Db; Wed, 30 Dec 2015 12:03:57 -0500 Date: Wed, 30 Dec 2015 19:04:50 +0200 Message-Id: <83a8ordg0d.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <87y4cc996q.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Tue, 29 Dec 2015 23:33:33 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> <87y4cc996q.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > Date: Tue, 29 Dec 2015 23:33:33 +0100 > > >> Benjamin Riefenstahl writes: > >> On practical level, there is still the matter of paragraphs using > >> diacritics. > > Eli Zaretskii writes: > > Is that the only remaining problem? > > At this point every problem in my application and test cases that I > still see involves diacritics. I fixed that case now, please try the latest emacs-25 branch. It was a very subtle problem with shr-vertical-motion (which actually triggered a bug in vertical-motion). > > Does this mean there's one more problem? > > Not with my application and test cases. But it seems to me, that > contrary to what you believed, bidi-paragraph-direction=nil still does > have an effect on the layout, even when bidi-display-reordering is nil. I'll need a clear test case to look into this. Every place in the code I reviewed that references bidi-paragraph-direction does so only if bidi-display-reordering is non-nil, but maybe I'm missing some subtlety. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 30 12:14:40 2015 Received: (at 22250) by debbugs.gnu.org; 30 Dec 2015 17:14:40 +0000 Received: from localhost ([127.0.0.1]:50589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEKKb-00080J-51 for submit@debbugs.gnu.org; Wed, 30 Dec 2015 12:14:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60503) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEKKW-000802-Vr for 22250@debbugs.gnu.org; Wed, 30 Dec 2015 12:14:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEKKM-0001JR-QN for 22250@debbugs.gnu.org; Wed, 30 Dec 2015 12:14:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEKKA-0001Gr-IX; Wed, 30 Dec 2015 12:14:10 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1207 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aEKK9-0004Ip-Pa; Wed, 30 Dec 2015 12:14:10 -0500 Date: Wed, 30 Dec 2015 19:15:03 +0200 Message-Id: <838u4bdfjc.fsf@gnu.org> From: Eli Zaretskii To: Eli Zaretskii In-reply-to: <83poxpc6hz.fsf@gnu.org> (message from Eli Zaretskii on Tue, 29 Dec 2015 23:03:20 +0200) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, b.riefenstahl@turtle-trading.net, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Tue, 29 Dec 2015 23:03:20 +0200 > From: Eli Zaretskii > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > > > I was starting from the doc on window.hscroll in window.h and the > > docstring for window-hscroll. The docstring says > > > > Return the number of columns by which WINDOW is scrolled from left > > margin. > > > > But with bidi-paragraph-direction set to RTL window-hscroll works with > > respect to the right margin. I just verified again. > > That's a bug in the documentation, I will fix that. Done. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 30 15:22:17 2015 Received: (at 22250) by debbugs.gnu.org; 30 Dec 2015 20:22:17 +0000 Received: from localhost ([127.0.0.1]:50665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aENGC-0007Wt-OS for submit@debbugs.gnu.org; Wed, 30 Dec 2015 15:22:16 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:51480) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aENGB-0007Wa-2p for 22250@debbugs.gnu.org; Wed, 30 Dec 2015 15:22:15 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aENG3-0003N9-6L; Wed, 30 Dec 2015 21:22:07 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aENG3-0002Y7-2D; Wed, 30 Dec 2015 21:22:07 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> <87y4cc996q.fsf@justinian.turtle-trading.net> <83a8ordg0d.fsf@gnu.org> Date: Wed, 30 Dec 2015 21:22:06 +0100 In-Reply-To: <83a8ordg0d.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Dec 2015 19:04:50 +0200") Message-ID: <87io3fptzl.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli Zaretskii writes: >> At this point every problem in my application and test cases that I >> still see involves diacritics. > > I fixed that case now, please try the latest emacs-25 branch. It was > a very subtle problem with shr-vertical-motion (which actually > triggered a bug in vertical-motion). That works. Thanks, that's cool. > I'll need a clear test case to look into this. Try the attached patch. It reverts parts of Lars' fix and adds a debug message to shr-vertical-motion. For a base-line test, execute ./emacs -Q -nw --eval '(eww "https://odoacer.turtle-trading.net/abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-test.html")' Once the page is loaded, press "G RET". This second load reproduces the problem for me. I get this protocol in the message buffer: Contacting host: odoacer.turtle-trading.net:443 bpd: right-to-left pt: 1 hscroll: 0 bpd: right-to-left pt: 97 hscroll: 0 bpd: right-to-left pt: 193 hscroll: 0 bpd: right-to-left pt: 289 hscroll: 0 Contacting host: odoacer.turtle-trading.net:443 bpd: right-to-left pt: 1 hscroll: 57 bpd: right-to-left pt: 153 hscroll: 57 bpd: right-to-left pt: 305 hscroll: 57 The first run is as I expected. The second run has point at 1 and hscroll at 57 (this is in a terminal, that's why the actual number is different from before). According to my logic that should not be possible. When the point is at 1, then hscroll should be 0 otherwise point would not be visible. Unless some intermediate state is permissible. But than shr could not rely on hscroll and therefore not on vertical-motion. Now as a second experiment, remove the ";" from bidi-paragraph-direction in shr-insert-document. Repeat the test. Now the result should look correct. Somehow bidi-paragraph-direction does make a difference. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 30 15:30:39 2015 Received: (at 22250) by debbugs.gnu.org; 30 Dec 2015 20:30:39 +0000 Received: from localhost ([127.0.0.1]:50674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aENOI-0007li-RQ for submit@debbugs.gnu.org; Wed, 30 Dec 2015 15:30:39 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:51497) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aENOG-0007lM-Lt for 22250@debbugs.gnu.org; Wed, 30 Dec 2015 15:30:36 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aENOA-0003Nj-PW; Wed, 30 Dec 2015 21:30:30 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aENOA-0002ZH-Ln; Wed, 30 Dec 2015 21:30:30 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> <87y4cc996q.fsf@justinian.turtle-trading.net> <83a8ordg0d.fsf@gnu.org> <87io3fptzl.fsf@justinian.turtle-trading.net> Date: Wed, 30 Dec 2015 21:30:30 +0100 In-Reply-To: <87io3fptzl.fsf@justinian.turtle-trading.net> (Benjamin Riefenstahl's message of "Wed, 30 Dec 2015 21:22:06 +0100") Message-ID: <87bn97ptll.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Benjamin Riefenstahl writes: > Try the attached patch. I mean this one :-( --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=wrap.patch diff --git a/lisp/net/eww.el b/lisp/net/eww.el index e8fdc97..3d9d39c 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -401,7 +401,7 @@ eww-display-html (source (and (null document) (buffer-substring (point) (point-max))))) (with-current-buffer buffer - (setq bidi-paragraph-direction 'left-to-right) + ;(setq bidi-paragraph-direction 'left-to-right) (plist-put eww-data :source source) (plist-put eww-data :dom document) (let ((inhibit-read-only t) @@ -562,7 +562,7 @@ eww-setup-buffer (let ((inhibit-read-only t)) (remove-overlays) (erase-buffer)) - (setq bidi-paragraph-direction 'left-to-right) + ;(setq bidi-paragraph-direction 'left-to-right) (unless (eq major-mode 'eww-mode) (eww-mode))) diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 330f7b5..4eee425 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -245,6 +245,7 @@ shr-insert-document (not (shr--have-one-fringe-p))) (* (frame-char-width) 2) 0))))) + ;bidi-paragraph-direction bidi-display-reordering) (shr-descend dom) (shr-fill-lines start (point)) @@ -591,6 +592,10 @@ shr-fill-lines (goto-char (point-max))))) (defun shr-vertical-motion (column) + (message "bpd: %s pt: %d hscroll: %d" + bidi-paragraph-direction + (point) + (window-hscroll)) (if (not shr-use-fonts) (move-to-column column) (unless (eolp) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 31 10:26:01 2015 Received: (at 22250) by debbugs.gnu.org; 31 Dec 2015 15:26:01 +0000 Received: from localhost ([127.0.0.1]:51873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEf70-0001ot-6w for submit@debbugs.gnu.org; Thu, 31 Dec 2015 10:26:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46163) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEf6v-0001od-4q for 22250@debbugs.gnu.org; Thu, 31 Dec 2015 10:25:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEf6l-0005e8-Bv for 22250@debbugs.gnu.org; Thu, 31 Dec 2015 10:25:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEf6Z-0005dB-1f; Thu, 31 Dec 2015 10:25:31 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2261 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aEf6Y-0003mm-Ad; Thu, 31 Dec 2015 10:25:30 -0500 Date: Thu, 31 Dec 2015 17:26:11 +0200 Message-Id: <83h9iybpws.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <87io3fptzl.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Wed, 30 Dec 2015 21:22:06 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> <87y4cc996q.fsf@justinian.turtle-trading.net> <83a8ordg0d.fsf@gnu.org> <87io3fptzl.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > Date: Wed, 30 Dec 2015 21:22:06 +0100 > > > I'll need a clear test case to look into this. > > Try the attached patch. It reverts parts of Lars' fix and adds a debug > message to shr-vertical-motion. > > For a base-line test, execute > > ./emacs -Q -nw --eval '(eww "https://odoacer.turtle-trading.net/abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-abc-test.html")' > > Once the page is loaded, press "G RET". This second load reproduces the > problem for me. I get this protocol in the message buffer: > > Contacting host: odoacer.turtle-trading.net:443 > bpd: right-to-left pt: 1 hscroll: 0 > bpd: right-to-left pt: 97 hscroll: 0 > bpd: right-to-left pt: 193 hscroll: 0 > bpd: right-to-left pt: 289 hscroll: 0 > Contacting host: odoacer.turtle-trading.net:443 > bpd: right-to-left pt: 1 hscroll: 57 > bpd: right-to-left pt: 153 hscroll: 57 > bpd: right-to-left pt: 305 hscroll: 57 > > The first run is as I expected. The second run has point at 1 and > hscroll at 57 (this is in a terminal, that's why the actual number is > different from before). According to my logic that should not be > possible. When the point is at 1, then hscroll should be 0 otherwise > point would not be visible. Unless some intermediate state is > permissible. But than shr could not rely on hscroll and therefore not > on vertical-motion. > > Now as a second experiment, remove the ";" from bidi-paragraph-direction > in shr-insert-document. Repeat the test. Now the result should look > correct. Somehow bidi-paragraph-direction does make a difference. No, it's not bidi-paragraph-direction, at least not directly. The problem is that shr-fill-lines needs to start in a window that is not scrolled horizontally, because otherwise vertical-motion will move to a wrong place (it interprets the column in its argument to be relative to its left edge). When EWW doesn't clear the previous value of bidi-paragraph-direction, the message "Loading URL ..." that is displayed when you type "G RET" is inserted into a buffer with a right-to-left paragraph direction, and bidi-display-reordering was not yet set to nil, so inserting that message with such a long URL causes the window to auto-hscroll. So when shr-insert-document is called, and resets bidi-display-reordering, the window is already hscrolled, and filling lines misbehaves. I fixed that now by forcing zero hscroll on the window before the line-filling starts. I guess we can now close this bug? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 01 20:51:51 2016 Received: (at 22250-done) by debbugs.gnu.org; 2 Jan 2016 01:51:51 +0000 Received: from localhost ([127.0.0.1]:34116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFBMC-00088U-9d for submit@debbugs.gnu.org; Fri, 01 Jan 2016 20:51:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33965) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFBB1-00068D-Kq for 22250-done@debbugs.gnu.org; Fri, 01 Jan 2016 20:40:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEhsS-0002hy-SQ for 22250-done@debbugs.gnu.org; Thu, 31 Dec 2015 13:23:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEhsH-0002hH-OW; Thu, 31 Dec 2015 13:22:57 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2397 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aEhsG-0003n7-UD; Thu, 31 Dec 2015 13:22:57 -0500 Date: Thu, 31 Dec 2015 20:23:38 +0200 Message-Id: <837fjubhp1.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-reply-to: <87d1tmbibg.fsf@justinian.turtle-trading.net> (message from Benjamin Riefenstahl on Thu, 31 Dec 2015 19:10:11 +0100) Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> <87y4cc996q.fsf@justinian.turtle-trading.net> <83a8ordg0d.fsf@gnu.org> <87io3fptzl.fsf@justinian.turtle-trading.net> <83h9iybpws.fsf@gnu.org> <87d1tmbibg.fsf@justinian.turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22250-done Cc: 22250-done@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Benjamin Riefenstahl > Cc: 22250@debbugs.gnu.org, larsi@gnus.org > Date: Thu, 31 Dec 2015 19:10:11 +0100 > > > I guess we can now close this bug? > > Sure, thanks a lot. Done, thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 00:14:12 2016 Received: (at 22250) by debbugs.gnu.org; 2 Jan 2016 05:14:12 +0000 Received: from localhost ([127.0.0.1]:34243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFEW3-00011f-Ti for submit@debbugs.gnu.org; Sat, 02 Jan 2016 00:14:12 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:54381) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFEW1-00011R-OJ for 22250@debbugs.gnu.org; Sat, 02 Jan 2016 00:14:10 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1aEhfw-00041a-2w; Thu, 31 Dec 2015 19:10:12 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84) (envelope-from ) id 1aEhfv-0005ER-Vg; Thu, 31 Dec 2015 19:10:11 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#22250: 25.0.50; Eww fails to break RTL paragraph References: <8760zj3dvr.fsf@justinian.i-did-not-set--mail-host-address--so-tickle-me> <83twn3g0ac.fsf@gnu.org> <8760zjbi9s.fsf@justinian.turtle-trading.net> <83k2nzfdt9.fsf@gnu.org> <87twn2il10.fsf@justinian.turtle-trading.net> <83bn9afqfz.fsf@gnu.org> <87k2nyigmh.fsf@justinian.turtle-trading.net> <8360zifmsk.fsf@gnu.org> <8737umi7xw.fsf@justinian.turtle-trading.net> <83io3hdwwg.fsf@gnu.org> <87a8ot9dqb.fsf@justinian.turtle-trading.net> <83poxpc6hz.fsf@gnu.org> <87y4cc996q.fsf@justinian.turtle-trading.net> <83a8ordg0d.fsf@gnu.org> <87io3fptzl.fsf@justinian.turtle-trading.net> <83h9iybpws.fsf@gnu.org> Date: Thu, 31 Dec 2015 19:10:11 +0100 In-Reply-To: <83h9iybpws.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 31 Dec 2015 17:26:11 +0200") Message-ID: <87d1tmbibg.fsf@justinian.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22250 Cc: 22250@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli Zaretskii writes: > So when shr-insert-document is called, and resets > bidi-display-reordering, the window is already hscrolled, and filling > lines misbehaves. > > I fixed that now by forcing zero hscroll on the window before the > line-filling starts. O.k. > I guess we can now close this bug? Sure, thanks a lot. From unknown Mon Aug 18 11:29:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Jan 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator