From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72471 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: New HTML rendering: srh-insert-document Date: Sun, 03 Oct 2010 09:01:45 +0200 Organization: Probably a good idea Message-ID: <87k4lz4v52.fsf@dod.no> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286089338 13083 80.91.229.12 (3 Oct 2010 07:02:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 07:02:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20843@lists.math.uh.edu Sun Oct 03 09:02:17 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P2IaN-0000hE-DF for ding-account@gmane.org; Sun, 03 Oct 2010 09:02:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P2IaC-00083r-Ou; Sun, 03 Oct 2010 02:02:04 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P2IaA-00083b-Mc for ding@lists.math.uh.edu; Sun, 03 Oct 2010 02:02:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P2Ia6-0006UU-BM for ding@lists.math.uh.edu; Sun, 03 Oct 2010 02:02:02 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P2Ia5-0002gV-00 for ; Sun, 03 Oct 2010 09:01:57 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P2Ia4-0000cn-5r for ding@gnus.org; Sun, 03 Oct 2010 09:01:56 +0200 Original-Received: from 77.19.165.227.tmi.telenormobil.no ([77.19.165.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Oct 2010 09:01:56 +0200 Original-Received: from sb by 77.19.165.227.tmi.telenormobil.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Oct 2010 09:01:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 77.19.165.227.tmi.telenormobil.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:uw3BdoMkNIGyOgMjs5gJsv+Z4JY= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72471 Archived-At: >>>>> Lars Magne Ingebrigtsen : > But I made it the default, anyway, if you have an Emacs with > libxml-parse-html-region in its build, which is only the case if you > have Emacs 24 from bzr from, oh, 12 hours ago or less. Out of curiousity: how did you interface with libxml2? I assume the return value from that function is an elisp list (of list (of list (of ...)))? Did you use the SAX-ish API to avoid having the parsed document in memory in two versions? Did you use the new XmlTextReader API? Or did you just use the good old DOM-ish API? It's pretty fast for something that builds a parse tree in memory.