* eww: delay/defer image loading
@ 2014-03-27 0:21 T. V. Raman
2014-11-13 22:05 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: T. V. Raman @ 2014-03-27 0:21 UTC (permalink / raw)
To: emacs-devel
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?
--
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eww: delay/defer image loading
2014-03-27 0:21 eww: delay/defer image loading T. V. Raman
@ 2014-11-13 22:05 ` Lars Magne Ingebrigtsen
2014-11-13 22:26 ` T.V Raman
0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-13 22:05 UTC (permalink / raw)
To: T. V. Raman; +Cc: emacs-devel
"T. V. Raman" <raman@google.com> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eww: delay/defer image loading
2014-11-13 22:05 ` Lars Magne Ingebrigtsen
@ 2014-11-13 22:26 ` T.V Raman
2014-11-16 3:13 ` Ted Zlatanov
0 siblings, 1 reply; 7+ messages in thread
From: T.V Raman @ 2014-11-13 22:26 UTC (permalink / raw)
To: larsi; +Cc: emacs-devel, raman
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" <raman@google.com> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eww: delay/defer image loading
2014-11-13 22:26 ` T.V Raman
@ 2014-11-16 3:13 ` Ted Zlatanov
2014-11-16 14:44 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: Ted Zlatanov @ 2014-11-16 3:13 UTC (permalink / raw)
To: emacs-devel
On Thu, 13 Nov 2014 14:26:54 -0800 raman@google.com (T.V Raman) wrote:
TVR> It might be useful to surface all user customizations for EWW via the
TVR> eww- prefix -- and completely hide shr- as an implementation detail.
I'd prefer if they were simply in the same customization group hierarchy.
Ted
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eww: delay/defer image loading
2014-11-16 3:13 ` Ted Zlatanov
@ 2014-11-16 14:44 ` Lars Magne Ingebrigtsen
2014-11-16 20:19 ` Ted Zlatanov
0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-16 14:44 UTC (permalink / raw)
To: emacs-devel
Ted Zlatanov <tzz@lifelogs.com> writes:
> On Thu, 13 Nov 2014 14:26:54 -0800 raman@google.com (T.V Raman) wrote:
>
> TVR> It might be useful to surface all user customizations for EWW via the
> TVR> eww- prefix -- and completely hide shr- as an implementation detail.
>
> I'd prefer if they were simply in the same customization group hierarchy.
They're both in the "hypermedia" hierarchy, but perhaps there should be
a "web" sub-hierarchy there where they both could live?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eww: delay/defer image loading
2014-11-16 14:44 ` Lars Magne Ingebrigtsen
@ 2014-11-16 20:19 ` Ted Zlatanov
2014-11-16 20:22 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: Ted Zlatanov @ 2014-11-16 20:19 UTC (permalink / raw)
To: emacs-devel
On Sun, 16 Nov 2014 15:44:40 +0100 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> On Thu, 13 Nov 2014 14:26:54 -0800 raman@google.com (T.V Raman) wrote:
>>
TVR> It might be useful to surface all user customizations for EWW via the
TVR> eww- prefix -- and completely hide shr- as an implementation detail.
>>
>> I'd prefer if they were simply in the same customization group hierarchy.
LMI> They're both in the "hypermedia" hierarchy, but perhaps there should be
LMI> a "web" sub-hierarchy there where they both could live?
Yes, that would make sense. "Hypermedia" is clearly a term not in wide
use so I would even rename that group to something else.
Ted
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eww: delay/defer image loading
2014-11-16 20:19 ` Ted Zlatanov
@ 2014-11-16 20:22 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-16 20:22 UTC (permalink / raw)
To: emacs-devel
Ted Zlatanov <tzz@lifelogs.com> writes:
> Yes, that would make sense. "Hypermedia" is clearly a term not in wide
> use so I would even rename that group to something else.
-*- mode: grep; default-directory: "~/src/emacs/trunk/" -*-
Grep started at Sun Nov 16 21:22:07
grep --color -nH -e group.*hypermedia `find . -name '*.el'`
./lisp/net/shr.el:40: :group 'hypermedia)
./lisp/net/eww.el:39: :group 'hypermedia
Geez. I'll just rename this to 'web.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-11-16 20:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27 0:21 eww: delay/defer image loading T. V. Raman
2014-11-13 22:05 ` Lars Magne Ingebrigtsen
2014-11-13 22:26 ` T.V Raman
2014-11-16 3:13 ` Ted Zlatanov
2014-11-16 14:44 ` Lars Magne Ingebrigtsen
2014-11-16 20:19 ` Ted Zlatanov
2014-11-16 20:22 ` Lars Magne Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).