From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Re: Included libraries in the Windows binary distribution Date: Sun, 05 Feb 2012 14:45:19 -0700 Message-ID: <8662flymxc.fsf@googlemail.com> References: <8362fmemv9.fsf@gnu.org> <4F2DF0C7.6050903@gmail.com> <83liohckbr.fsf@gnu.org> <86k44113p3.fsf@googlemail.com> <8362flc876.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328478334 12184 80.91.229.3 (5 Feb 2012 21:45:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2012 21:45:34 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 05 22:45:33 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ru9tq-000783-IK for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2012 22:45:30 +0100 Original-Received: from localhost ([::1]:44584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru9tp-0000Uf-Uj for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2012 16:45:29 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru9tm-0000UO-9p for emacs-devel@gnu.org; Sun, 05 Feb 2012 16:45:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ru9tk-0004ax-RR for emacs-devel@gnu.org; Sun, 05 Feb 2012 16:45:26 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:35435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru9tk-0004ar-Lu; Sun, 05 Feb 2012 16:45:24 -0500 Original-Received: by iagz16 with SMTP id z16so9714774iag.0 for ; Sun, 05 Feb 2012 13:45:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=hgY2E6ylrw6pw8MivSlsi2TefTbU+lz974EgjW9xWpM=; b=W3nXG7o8VWps/Qbxgl4ttnP+B8aBW1doluthC1QRXI6fWOaGPT6uc+YAPDdX4TmyCr alT1YdnshQ/9mmoGmmzEos7Z80Ufrz/Ia3a5YrpzItZa7UImVGCGpxan8FDhf0rMDzfY yHXuQx+qQJt0t6aWAUCcV42n8aYIQW48aJGPI= Original-Received: by 10.42.168.202 with SMTP id x10mr14686446icy.4.1328478322965; Sun, 05 Feb 2012 13:45:22 -0800 (PST) Original-Received: from MARVIN (174-29-192-218.hlrn.qwest.net. [174.29.192.218]) by mx.google.com with ESMTPS id vr4sm12695836igb.1.2012.02.05.13.45.21 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Feb 2012 13:45:22 -0800 (PST) In-Reply-To: <8362flc876.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Feb 2012 22:54:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (windows-nt) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 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:148213 Archived-At: Eli Zaretskii writes: > The question is: why does it even try to find it? And the answer is > that Emacs unconditionally calls xmlCleanupParser on exit, and that > call tries to load the library. > > I will fix that. Aha! Something else I noticed that seemed odd. Sometimes during compilation the output looked like this: Call to emacs to compile el file Wrote blabla.elc libxml2 library not found libxml2 library not found libxml2 library not found I.e. there were multiple calls to find the library right after another. If the call to the library was on Emacs exit, I am wondering why it was even started after the first call, since it did not report that any elc file was written. Just thought I bring it up. Perhaps we have some unnecessary invocations of the executable during bootstrap? >> Use libxml-parse-(xml|html)-region. > > Yes, that's how I tested it. > > These functions are slow, btw. I tried it and it seems to work fine. Are there any real-world applications for this? Can I read HTML email with gnus now?! :) Some test case like that would be nice. Other than that I am ready to ship the libxml2 support with the weekly snapshots after the patch hits the trunk. Christoph