From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Wed, 19 Jun 2013 09:13:07 +0200 Message-ID: References: <87d2rkb1pi.fsf@fleche.redhat.com> <87fvwfa3ev.fsf@fleche.redhat.com> <87vc5bthw1.fsf@kwarm.red-bean.com> <83vc5bqnlm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371626010 463 80.91.229.3 (19 Jun 2013 07:13:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 07:13:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 19 09:13:30 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 1UpCa9-0007ts-RG for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 09:13:30 +0200 Original-Received: from localhost ([::1]:35064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCa9-0000H9-D6 for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 03:13:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCa4-0000GK-34 for emacs-devel@gnu.org; Wed, 19 Jun 2013 03:13:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpCa1-0007aA-2F for emacs-devel@gnu.org; Wed, 19 Jun 2013 03:13:24 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:54327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCa0-0007a5-Of; Wed, 19 Jun 2013 03:13:20 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UpCZo-0006T3-6c; Wed, 19 Jun 2013 09:13:08 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEXz8vDm5Oa3scr+//79 /f37+/tmztz+AAACY0lEQVQ4jX2UzbqjIAyGoZQ9WN2PeLq3De61wB4ruf9bOR/ads48M89kQQiv +YGAgnZZJkV/ijjUTHr7J/hbPsBT+LHsSYxqtLaT9i39oQAaa5vX4kubHcCrxOSJtzCVkEr0hTwX ADN2D3ddXT86VxqnTq69u18I5Zreub5x7gTlXHsYJG67+XUAyAw7NYmE78dr4/qnej6cM85derpS U/ex+Ti6zpOfTl1Y+4DcJCfkGJY7Dc/b0N/GoX2kC2x1vSNUmCKHMoVEIYbit0SRNnj4r+fFTdc7 huGp+sdwUu42PBDq+tjB4BDwDPB8A7Of0+ewzDEC7HNQ00ELaaV8HaKQ4u1jrNRdnaYKjijGVD+7 aNsCSPMBGPQRXVhpjDhyrNbk2UqxLgdCIgBtjDTRJyQwbahdpcgVIOAedTXKCt1asZqlVuVr68P7 ClBAQ30ssV4GEmelixqz0tttm3O7CI3kk60bERvNUkNrIWRnRAUCsiwYpKjLwtaFA8g6yzVDzROJ UjkAPM9REqEVaKmoEXegF6lNdTLr+5ZOum6QwohjqPH05yaPeyjUZWQXpiOtyGZPPiJElpXqLaD7 h0M93RbVSoMT063KUo3b6OtDEsSZ81my0bgrXpSNEzMxcgAk1mk9M2suEK4MIHfMK7PgonktGd8w lwywHiAzVy3Zas467xtkmJCMCRyl4FlwLRefSO4k57IiWJ3BFQBfxrnozCXMJeVNr7rQWqtCMYZ/ PP9pn6MqxkYvsDNLzR0S5U5Prx9ACJ+e7+b/fxmBvArn3ytKeb8DPH9VdInRRzyutNUsnOgbD7i2 hlGBTgsAAAAASUVORK5CYII= X-Now-Playing: Herbert's _Around The House_: "Never Give Up" X-Hashcash: 1:23:130619:eliz@gnu.org::pXdmNWBNQbcccMqd:000002MGZ X-Hashcash: 1:23:130619:emacs-devel@gnu.org::GODuXGzoYp1VLaxD:000000000000000000000000000000000000000000EaGd In-Reply-To: <83vc5bqnlm.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Jun 2013 21:29:25 +0300") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1UpCZo-0006T3-6c MailScanner-NULL-Check: 1372230790.00909@s+OS4PWehvvQ/vPPsDtyhw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:160637 Archived-At: Eli Zaretskii writes: > EWW looks quite good, thanks. A few comments, based on 5 min of using > it: > > . Mouse clicks on hyper links don't do what I'd expect in a Web > browser. I've now bound mouse-1: + (define-key map [down-mouse-1] 'shr-browse-url) But I seem to remember there being different conventions for what mouse button should be the "action" button? Or is binding mouse-1 still the right thing to do? Speaking of keymaps, eww/shr uses the `local-map' text property to bind actions on links. Is there a way to make the major mode map keys work even if you're standing on text with `local-map'? That is, eww-mode binds (for instance) the `g' key (for reloading the page), but if I hit `g' on text that has a `local-map' text property (and which doesn't bind `g' itself), it's then bound to `self-insert-command', which is not what I want. > . 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. 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. 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. > . Need more key bindings (I see only 3 for now). E.g., using 'p' to > go to the previous URL should be augmented by at least M-. I don't want to re-bind any common cursor-related keys. > . Buttons on the tool bar are sorely missed. What kind of buttons? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/