From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman@google.com (T.V Raman) Newsgroups: gmane.emacs.devel Subject: Re: eww: delay/defer image loading Date: Thu, 13 Nov 2014 14:26:54 -0800 Message-ID: <21605.12334.229305.275602@retriever.mtv.corp.google.com> References: <21299.28449.64618.363491@lapdog.roam.corp.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1415917646 28943 80.91.229.3 (13 Nov 2014 22:27:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2014 22:27:26 +0000 (UTC) Cc: emacs-devel@gnu.org, raman@google.com To: larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 23:27:15 2014 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 1Xp2rB-0004FB-Ql for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 23:27:13 +0100 Original-Received: from localhost ([::1]:34162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp2rA-0007GG-Nb for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 17:27:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp2r2-0007Fw-Mm for emacs-devel@gnu.org; Thu, 13 Nov 2014 17:27:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xp2qv-0008Ax-8K for emacs-devel@gnu.org; Thu, 13 Nov 2014 17:27:04 -0500 Original-Received: from mail-pa0-x249.google.com ([2607:f8b0:400e:c03::249]:36957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp2qu-0008Am-Vr for emacs-devel@gnu.org; Thu, 13 Nov 2014 17:26:57 -0500 Original-Received: by mail-pa0-f73.google.com with SMTP id lj1so2488678pab.2 for ; Thu, 13 Nov 2014 14:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:cc:subject:in-reply-to:references; bh=K3Tr/OkRLDo4X908r/S4NJXsC0eLmEakj6fGtavW9/k=; b=KOQokUaVsZHrbrzVO8rey0he2YELeyJIT2YkVn8BkTJJ0Gxqm/c9J9dE6zKklmRP10 HLs2iNJj9tBaaSV0eHyMmYhSzUWv9/hggrsR0tHM7SvvzHAJbWR3vcxXH1b1cLCfJWFW t3YgBCujloTl8A2x2tztT9xD3s/A9kzv0VmgZ553M5B3c6XE1+BabUZaoNNPfv3JGRKl QkAsngiyNOWnJnvmkvEi45kFBZ7FCzfg5mjWq62nm264FdtyQ5WFt9RJiYFf8l6uFpzQ JjsepdirSDm88BRSKLpuhshTo5xQDhtmmCQNwmsaChrKbPrH8qDslsBX4TM98Xe+JxOI T4FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:cc:subject:in-reply-to :references; bh=K3Tr/OkRLDo4X908r/S4NJXsC0eLmEakj6fGtavW9/k=; b=aUikj4FRaUXT7rKYkHy4jg1EDlB7/gQs1iNa8UZM1uFxySMH378M2tQkqNzVIJiblL jLLa6PUsVIaSAaiMbl4BgXMSEzTIPbPkw25F8R22eLRyoDvUYVtJcnWjePdu+fy7jQ4v w9ve0ZN6nO0T/iKTFdCXdXkIeNj99wBGshJ/s86M2ehIK9xqzkU0H51PPdkFGVGmNLxd IBhCOq/b5kNtj8BdGpZTrR7Q+GME0zkpvEGr6/TYld+F8RVMAGX64JY/fTSEBIyLEVrd 8mp6qErkpcC6TwOWg32lgEQmQD+I4IcOvJyOh5OjL/n4PKDRD+e1IED01QS5w+MUFUYp DkMw== X-Gm-Message-State: ALoCoQkWITbwLfAwcsK5s8mkvhi2eji0JAR6R4hNopYn2uch86vApnbGumfAksM1zVgh0y5zvMmlhYOBjeyb6iWDa2Eljq/6vVlUz02LP7HrSgfGv9e6zeIM7ivh5ptRdT9p5NSLuW/RMndGXFBhOTmj/LqXb4BlVf/OaB3cRb/4Ip2Q4IEfNII= X-Received: by 10.67.30.169 with SMTP id kf9mr45195486pad.28.1415917615415; Thu, 13 Nov 2014 14:26:55 -0800 (PST) Original-Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id 5si1120203yhd.6.2014.11.13.14.26.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Nov 2014 14:26:55 -0800 (PST) Original-Received: from retriever.mtv.corp.google.com ([172.22.128.40]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id pVkMFhOk.1; Thu, 13 Nov 2014 14:26:55 -0800 Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 553A61A1024; Thu, 13 Nov 2014 14:26:54 -0800 (PST) In-Reply-To: X-Mailer: VM 8.1.1 under 25.0.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::249 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:177023 Archived-At: Thanks for the pointer to shr-inhibit-images -- I did find that eventually. It might be useful to surface all user customizations for EWW via the eww- prefix -- and completely hide shr- as an implementation detail. Lars Magne Ingebrigtsen writes: > "T. V. Raman" writes: > > > If I use eww to display rss feeds that are converted to html via > > xslt I notice that eww is busily loading lots of urls in the > > background -- many of these images. > > > > Example: Cnet Tech News RSS: > > http://feeds.feedburner.com/cnet/tcoc > > > > I got a number of these downloads to not happen by temporarily > > advising eww-display-image to be a no-op -- could we have a > > user-customizable option to defer loading images? > > You can inhibit image loading by binding `shr-inhibit-images' to a > non-nil value. Perhaps that should be a more user-visible variable. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no