From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T.V. Raman" Newsgroups: gmane.emacs.devel Subject: eww.el: Patch to cache the parse tree Date: Sun, 15 Dec 2013 16:22:37 -0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1387153363 7648 80.91.229.3 (16 Dec 2013 00:22:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2013 00:22:43 +0000 (UTC) To: Lars Magne Ingebrigtsen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 16 01:22:50 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VsLxR-0004uS-UO for ged-emacs-devel@m.gmane.org; Mon, 16 Dec 2013 01:22:50 +0100 Original-Received: from localhost ([::1]:53010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsLxR-0005NV-AA for ged-emacs-devel@m.gmane.org; Sun, 15 Dec 2013 19:22:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsLxK-0005ND-FL for emacs-devel@gnu.org; Sun, 15 Dec 2013 19:22:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsLxG-0007WV-4k for emacs-devel@gnu.org; Sun, 15 Dec 2013 19:22:42 -0500 Original-Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:61252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsLxF-0007Vp-V4 for emacs-devel@gnu.org; Sun, 15 Dec 2013 19:22:38 -0500 Original-Received: by mail-ob0-f175.google.com with SMTP id uz6so4109911obc.6 for ; Sun, 15 Dec 2013 16:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fUX765rXTb12eAkyNOeoU3hMzpOODoOkRunuPusxAgc=; b=s9ZspFSLn66lE7mlav2rK8O1uxQ/j+RR/5uA4y7vBwmq/Mung6FxU4v3t9ShRlC3gL B0RqlarzHZeqDHN5jkKov+s+pIfSnOTjHV3MWHxZtf2NxQLYQ/p9XG5fOgEYwui20njd kFNIxxPvOd87LlOkiseJQoqKlbwFqifeuAKzhKFZaMkV1+kApJZJt9/ziT1s7xWlvyei /Bv22CqkljNkw9sL1W3v/KU0lFEjwSUV9J2kiL1mzU+gTE2wZtAGXUwS72TVCeJFfir2 Hg9aMy+1dpbWiRJhC8bOHzByt7lo7FOka1hYDvbzZU33iaWTYzsmBAr1IIKmvr2y8Qj8 A2XQ== X-Received: by 10.60.59.5 with SMTP id v5mr9623647oeq.30.1387153357425; Sun, 15 Dec 2013 16:22:37 -0800 (PST) Original-Received: by 10.182.112.42 with HTTP; Sun, 15 Dec 2013 16:22:37 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22f 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:166451 Archived-At: I thought I ran into a case where the base url was unset (dont remember where) looked at the code, and felt that may be we would have done better by passing in the base-url. I see that you cons on base href to the DOM being passed to shr. ... -- -- On 12/14/13, Lars Magne Ingebrigtsen wrote: > "T.V. Raman" writes: > >> One more request: in the call >> (libxml-parse-html-region (point) (point-max)) >> >> could you please pass in the current url as a third argument so >> that libxml knows to handle it as a base URL? > > Hm... doesn't eww do the base URL expansion stuff itself? I don't > recall why, though. >"? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no >