From: Chad Brown <yandros@MIT.EDU>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Linking Emacs with libxml2
Date: Mon, 6 Sep 2010 11:56:16 -0700 [thread overview]
Message-ID: <8A20526E-44B3-4434-9D40-54A36F976CD6@mit.edu> (raw)
In-Reply-To: <AANLkTinYQWbQTDV6-2t=voeLZj_cz4wL14kRrteZoifP@mail.gmail.com>
On Sep 6, 2010, at 11:44 AM, Lennart Borgman wrote:
> On Mon, Sep 6, 2010 at 5:21 PM, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
>> Apparently libxml2 comes with a parser for "real world" HTML, which is
>> very intriguing:
>>
>> http://www.xmlsoft.org/html/libxml-HTMLparser.html
>>
>> If Emacs provided a native interface to this function, we could say
>>
>> (parse-html "file.html")
>> => (:html (:head ...) (:body ...))
>>
>> and get a nice parse tree out very fast. (Parsing HTML from Emacs Lisp
>> is rather slow.)
>>
>> Has this been discussed before and rejected? It seems like an obvious
>> idea, and would enable both easier extraction of data from HTML files,
>> as well as writing a (simple) HTML renderer in Emacs Lisp.
>
> It was discussed before here:
>
> http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg01147.html
>
> Wasn't there a problem with linking to external libraries at that time?
Yes, there was. The FSF [lawyers] recently determined that it would be
possible to use external libraries with some explicit marking of legal status,
along the lines of what is used in GCC. Looking back through the mail
archives, it seems that practical implementation is stuck waiting on an FFI
design/implementation. I thought that one had been sketched out, but I'm
not finding it in the archives, so perhaps I am confused.
*Chad
next prev parent reply other threads:[~2010-09-06 18:56 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-06 15:21 Linking Emacs with libxml2 Lars Magne Ingebrigtsen
2010-09-06 15:54 ` Wojciech Meyer
2010-09-06 18:26 ` Chad Brown
2010-09-06 21:01 ` Lars Magne Ingebrigtsen
2010-09-06 18:44 ` Lennart Borgman
2010-09-06 18:56 ` Chad Brown [this message]
2010-09-06 19:08 ` Chong Yidong
2010-09-06 19:17 ` joakim
2010-09-07 0:36 ` Jason Rumney
2010-09-07 0:58 ` Lars Magne Ingebrigtsen
2010-09-08 14:10 ` Lars Magne Ingebrigtsen
2010-09-08 14:25 ` Andreas Schwab
2010-09-08 14:40 ` Stefan Monnier
2010-09-08 15:16 ` Lars Magne Ingebrigtsen
2010-09-08 16:15 ` Lars Magne Ingebrigtsen
2010-09-08 18:17 ` joakim
2010-09-08 18:19 ` Lars Magne Ingebrigtsen
2010-09-08 19:10 ` Andreas Schwab
2010-09-08 20:11 ` Lars Magne Ingebrigtsen
2010-09-08 20:30 ` Lars Magne Ingebrigtsen
2010-09-08 20:58 ` Lars Magne Ingebrigtsen
2010-09-08 21:51 ` Andreas Schwab
2010-09-08 21:54 ` Lars Magne Ingebrigtsen
2010-09-09 17:00 ` Stefan Monnier
2010-09-09 21:56 ` Lars Magne Ingebrigtsen
2010-09-09 22:28 ` Stefan Monnier
2010-09-09 22:37 ` Lars Magne Ingebrigtsen
2010-09-10 8:14 ` Andreas Schwab
2010-09-10 10:46 ` Stefan Monnier
2010-09-10 10:56 ` Lars Magne Ingebrigtsen
2010-09-10 12:37 ` Lars Magne Ingebrigtsen
2010-09-10 16:47 ` Lars Magne Ingebrigtsen
2010-09-10 16:54 ` Lars Magne Ingebrigtsen
2010-09-10 17:05 ` Ted Zlatanov
2010-09-10 17:14 ` Lars Magne Ingebrigtsen
2010-09-10 17:34 ` Glenn Morris
2010-09-10 17:41 ` Glenn Morris
2010-09-10 17:44 ` Lars Magne Ingebrigtsen
2010-09-10 18:39 ` Ted Zlatanov
2010-09-12 16:56 ` Andreas Schwab
2010-09-12 17:05 ` Lars Magne Ingebrigtsen
2010-09-10 21:12 ` Chad Brown
2010-09-10 21:40 ` Lars Magne Ingebrigtsen
2010-09-10 22:45 ` chad
2010-09-10 23:19 ` Lars Magne Ingebrigtsen
2010-09-11 7:18 ` Andreas Schwab
2010-09-11 12:48 ` Lars Magne Ingebrigtsen
2010-09-13 18:37 ` Leo
2010-09-13 18:49 ` Lars Magne Ingebrigtsen
2010-09-13 19:08 ` Leo
2010-09-13 19:16 ` Chad Brown
2010-09-13 19:23 ` Chad Brown
2010-09-13 22:24 ` Leo
2010-09-13 16:06 ` Christian Faulhammer
2010-09-10 11:37 ` Andreas Schwab
2010-09-10 14:12 ` Andrew W. Nosenko
2010-09-09 8:35 ` Christian Faulhammer
2010-09-09 10:33 ` Lars Magne Ingebrigtsen
2010-09-09 11:07 ` Christian Faulhammer
2010-09-09 11:09 ` Lars Magne Ingebrigtsen
2010-09-06 19:19 ` Chong Yidong
2010-09-06 21:03 ` Lars Magne Ingebrigtsen
2010-09-15 0:55 ` Eric M. Ludlam
2010-09-15 15:52 ` Ted Zlatanov
2010-09-06 21:08 ` Stefan Monnier
2010-09-06 21:17 ` Lars Magne Ingebrigtsen
2010-09-06 21:30 ` joakim
2010-09-07 1:40 ` Chad Brown
2010-09-07 1:47 ` Lars Magne Ingebrigtsen
2010-09-06 21:18 ` Lennart Borgman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8A20526E-44B3-4434-9D40-54A36F976CD6@mit.edu \
--to=yandros@mit.edu \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.