From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: webkit emacs support notes Date: Fri, 22 Jul 2011 12:42:46 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311331379 15547 80.91.229.12 (22 Jul 2011 10:42:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 10:42:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 12:42:56 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QkDC3-0004vF-JO for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2011 12:42:55 +0200 Original-Received: from localhost ([::1]:35228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkDC2-0006eP-Qg for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2011 06:42:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkDC0-0006eE-1W for emacs-devel@gnu.org; Fri, 22 Jul 2011 06:42:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkDBz-00071d-3e for emacs-devel@gnu.org; Fri, 22 Jul 2011 06:42:52 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:33445 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkDBy-00070K-Im for emacs-devel@gnu.org; Fri, 22 Jul 2011 06:42:51 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id p6MAgldj002519 for ; Fri, 22 Jul 2011 12:42:48 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 82.115.149.64 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:142204 Archived-At: 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