unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* webkit emacs support notes
@ 2011-07-22 10:42 joakim
  2011-07-22 11:03 ` Antoine Levitt
  0 siblings, 1 reply; 6+ messages in thread
From: joakim @ 2011-07-22 10:42 UTC (permalink / raw)
  To: emacs-devel

The xwidget webkit support for embedding a webkit instance is usable now
and I use it in my primary Emacs.

I have written some docs in README.xwidgets in the xwidget emacs branch.

I would like to add more information about how Emacs interfaces with a
browser, so if you have any hints you can add that would be helpful.

the point of xwidget webkit is to let Emacs do all the grunt work and
webkit do the rendering stuff. So , bookmarks etc work out of the box.

Stuff in particular I want help with are:

- download handling
There is wget.el, but there doesnt seem to be a url.el interface to
handle downloads?  there ought to be a download interface and
implementations beneath.

- isearch
I dont really have a clue, but it ought to be possible to something like docview.el.

- history

there must already be something like firefox "awesome bar" in Emacs. In
particular there must be something implemented on top of
"anything.el". Help please?


Notes from README that Id like help with follows:

*** webkit hints
If you got webkit working, great! Please note, though, that the
current support is far from a full fledged browser. My focus is on
delivering a component that can be used to build a full emacs based
browser on. Since I implement a browse-url function you can get quite
far just by:

(setq browse-url-browser-function 'xwidget-webkit-browse-url)

then all Emacs browser interface systems work to a degree.
heres stuff I use currenly

- m-x anything-surfraw interfaces to search engines
- C-o in org mode opens links inside org
- m-x ffap opens links anywhere in a buffer
- m-x gtk-lookup-symbol searches gtk docs
- m-x bookmark-jump
etc..

I'll add more examples as I go along.

However theres lots of support missing, see TODO list for
information. Briefly:
- download handling
- keyboard field navigation
- isearch
- history
- sites that use flash. I dont really care about this issue so its
unlikely to be fixed. Just a heads up.
-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: webkit emacs support notes
  2011-07-22 10:42 webkit emacs support notes joakim
@ 2011-07-22 11:03 ` Antoine Levitt
  2011-07-22 11:40   ` joakim
  0 siblings, 1 reply; 6+ messages in thread
From: Antoine Levitt @ 2011-07-22 11:03 UTC (permalink / raw)
  To: emacs-devel

22/07/11 12:42, joakim@verona.se
> The xwidget webkit support for embedding a webkit instance is usable now
> and I use it in my primary Emacs.

Awesome!

Have you tried interfacing this with newsreaders to display HTML
news/mail? Doing that doesn't require much more than the ability to
display a rendered page, so it's probably trivial to get this into a
very usable state.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: webkit emacs support notes
  2011-07-22 11:03 ` Antoine Levitt
@ 2011-07-22 11:40   ` joakim
  2011-07-22 11:55     ` Julien Danjou
  0 siblings, 1 reply; 6+ messages in thread
From: joakim @ 2011-07-22 11:40 UTC (permalink / raw)
  To: Antoine Levitt; +Cc: emacs-devel

Antoine Levitt <antoine.levitt@gmail.com> writes:

> 22/07/11 12:42, joakim@verona.se
>> The xwidget webkit support for embedding a webkit instance is usable now
>> and I use it in my primary Emacs.
>
> Awesome!
>
> Have you tried interfacing this with newsreaders to display HTML
> news/mail? Doing that doesn't require much more than the ability to
> display a rendered page, so it's probably trivial to get this into a
> very usable state.
>

I havent tried because I'm fairly pleased with gnus SHR html renderer.

If one would like to try it heres an idea:
- create a new xwidget webkit to gnus inline renderer (no idea how to
interface to gnus like this)
- make gnus produce an xwdiget display spec inline in the mail buffer
- this display spec should accept a string containing the html, or
something like that. currently I only support urls, so atm one would
need to extract the html to a file

Seems doable, and xwidgets should eventually support it. Sounds a bit
scary though to allow webkit to render spam. I dont understand the
security implications well enough yet.

-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: webkit emacs support notes
  2011-07-22 11:40   ` joakim
@ 2011-07-22 11:55     ` Julien Danjou
  2011-07-22 13:11       ` joakim
  0 siblings, 1 reply; 6+ messages in thread
From: Julien Danjou @ 2011-07-22 11:55 UTC (permalink / raw)
  To: joakim; +Cc: emacs-devel, Antoine Levitt

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

On Fri, Jul 22 2011, joakim@verona.se wrote:

> I havent tried because I'm fairly pleased with gnus SHR html renderer.

I'd work on that, but I clearly will not do it until xwidget is merged
in trunk. :)

-- 
Julien Danjou
❱ http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: webkit emacs support notes
  2011-07-22 11:55     ` Julien Danjou
@ 2011-07-22 13:11       ` joakim
  2011-07-24 18:39         ` Sander Boer
  0 siblings, 1 reply; 6+ messages in thread
From: joakim @ 2011-07-22 13:11 UTC (permalink / raw)
  To: Julien Danjou; +Cc: emacs-devel

Julien Danjou <julien@danjou.info> writes:

> On Fri, Jul 22 2011, joakim@verona.se wrote:
>
>> I havent tried because I'm fairly pleased with gnus SHR html renderer.
>
> I'd work on that, but I clearly will not do it until xwidget is merged
> in trunk. :)

So in another decade or so. No hurry ! :)

-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: webkit emacs support notes
  2011-07-22 13:11       ` joakim
@ 2011-07-24 18:39         ` Sander Boer
  0 siblings, 0 replies; 6+ messages in thread
From: Sander Boer @ 2011-07-24 18:39 UTC (permalink / raw)
  To: emacs-devel

joakim@verona.se writes:

> Julien Danjou <julien@danjou.info> writes:
>
>> On Fri, Jul 22 2011, joakim@verona.se wrote:
>>
>>> I havent tried because I'm fairly pleased with gnus SHR html renderer.
>>
>> I'd work on that, but I clearly will not do it until xwidget is merged
>> in trunk. :)
>
> So in another decade or so. No hurry ! :)

Today I read that HTML 5 would be the platform on which new startups
could make their mark and that it would be the arena of new-found creativity.

Context :
http://www.businessinsider.com/roger-mcnamee-video-2011-7
notable quote: 
"HTML5 is going to change everything. 'In HTML5, an ad is an app, a
tweet is an app, everything is an app.' 
'It's a blank sheet of paper, and creativity rules again.' "

In this light, an HTML 5  widget like webkit  embedded in emacs will be nothing less
but a Big Thing.
 
-- 
Sander Boer




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-24 18:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 10:42 webkit emacs support notes joakim
2011-07-22 11:03 ` Antoine Levitt
2011-07-22 11:40   ` joakim
2011-07-22 11:55     ` Julien Danjou
2011-07-22 13:11       ` joakim
2011-07-24 18:39         ` Sander Boer

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).