From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Wed, 19 Jun 2013 17:55:10 +0300 Message-ID: <834ncuqhf5.fsf@gnu.org> References: <87d2rkb1pi.fsf@fleche.redhat.com> <87fvwfa3ev.fsf@fleche.redhat.com> <87vc5bthw1.fsf@kwarm.red-bean.com> <83vc5bqnlm.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1371653736 15179 80.91.229.3 (19 Jun 2013 14:55:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 14:55:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 19 16:55:36 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpJnL-0005mt-JG for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 16:55:35 +0200 Original-Received: from localhost ([::1]:59463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpJnL-0005pY-9Z for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 10:55:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpJnD-0005pA-60 for emacs-devel@gnu.org; Wed, 19 Jun 2013 10:55:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpJn8-0006eg-J8 for emacs-devel@gnu.org; Wed, 19 Jun 2013 10:55:27 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:63800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpJn8-0006eZ-Ab for emacs-devel@gnu.org; Wed, 19 Jun 2013 10:55:22 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MON00100AQ5S000@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Wed, 19 Jun 2013 17:55:03 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MON0017MARQRU10@a-mtaout23.012.net.il>; Wed, 19 Jun 2013 17:55:03 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160669 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Wed, 19 Jun 2013 09:13:07 +0200 > > > . Images embedded in the pages somehow get newlines before and after > > them, which looks ugly: each image is alone on its own line. E.g., > > in Wikipedia, look at any page that shows formulae. Ugly. > > Yes. There's two problems: > > 1) Images are inserted asynchronously, so shr has no idea how big the > images are when it renders the text. Don't you have some pixel size information about each image in the page? > shr could wait until it's loaded all the images, but that would be > slow and awkward, or it could re-flow the text, which it doesn't > have enough data at that point to do. You could have an option to make it wait, I personally don't believe it will slow things down. Alternatively, reflowing when an image is inserted doesn't sound too hard, either. > 2) When rendering tables, shr tries to keep everything lined up. Even > if it knew how big the images are (which it doesn't), the Emacs display > engine isn't powerful enough to line stuff up vertically when there's > elements of different sizes. So it can't. Does the 'space' display spec fit that bill? > > . Buttons on the tool bar are sorely missed. > > What kind of buttons? At the very least, Back, Forward, Reload, and Cancel.