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: Re: webkit emacs support notes Date: Fri, 22 Jul 2011 13:40:56 +0200 Message-ID: References: <874o2ezif2.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311334871 3961 80.91.229.12 (22 Jul 2011 11:41:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 11:41:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Antoine Levitt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 13:41:07 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 1QkE6N-0003xI-5X for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2011 13:41:07 +0200 Original-Received: from localhost ([::1]:54977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkE6M-00025U-Gz for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2011 07:41:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkE6J-00025E-Hw for emacs-devel@gnu.org; Fri, 22 Jul 2011 07:41:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkE6I-0001y4-Gs for emacs-devel@gnu.org; Fri, 22 Jul 2011 07:41:03 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:33525 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkE6I-0001xy-2S for emacs-devel@gnu.org; Fri, 22 Jul 2011 07:41:02 -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 p6MBeu3E002775; Fri, 22 Jul 2011 13:40:57 +0200 In-Reply-To: <874o2ezif2.fsf@gmail.com> (Antoine Levitt's message of "Fri, 22 Jul 2011 13:03:29 +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:142207 Archived-At: Antoine Levitt 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