From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: bug#15840: libxml-parse-xml-region: Raise runtime error, don't return nil Date: Sat, 09 Nov 2013 09:29:15 +0530 Message-ID: <8761s2rzsc.fsf_-_@gmail.com> References: <3116662324256475454@unknownmsgid> <87zjpk44li.fsf@gmail.com> <87d2mf7hqq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Christof Spitz's message of "Sat, 9 Nov 2013 01:09:01 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org To: Christof Spitz Cc: 15840@debbugs.gnu.org, emacs-orgmode@gnu.org List-Id: emacs-orgmode.gnu.org Christof Christof Spitz writes: > I found the bug: Windows-Emacs was missing the libxml2 library. I got > the libxml2-2.7.8.-w32-bin.zip, copied the content of /bin into Emacs' > /bin directory and now the formatting works. This should have been very difficult to track down. ox-freemind.el does invoke `libxml-parse-xml-region'. I think Emacs should raise a runtime error (and not return nil) if the above API is called but libxml is unavailable. ps: This bug is a good excuse to audit "other" such wrapper calls (if there are any) and make sure that they don't fall silently.