all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Christof Spitz <christof.spitz@gmail.com>
Cc: 15840@debbugs.gnu.org, emacs-orgmode@gnu.org
Subject: bug#15840: libxml-parse-xml-region: Raise runtime error, don't return nil
Date: Sat, 09 Nov 2013 09:29:15 +0530	[thread overview]
Message-ID: <8761s2rzsc.fsf_-_@gmail.com> (raw)
In-Reply-To: <CABd3gLqdQ24W2GzCD2x48YtCmUqPLJ_bQ0k96qiaDUtixmS6EA@mail.gmail.com> (Christof Spitz's message of "Sat, 9 Nov 2013 01:09:01 +0100")


Christof

Christof Spitz <christof.spitz@gmail.com> 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.










  reply	other threads:[~2013-11-09  3:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04  8:46 freemind export? Christof Spitz
2013-11-04 14:35 ` Jambunathan K
2013-11-04 15:58   ` Christof Spitz
2013-11-05  1:35     ` Jambunathan K
2013-11-09  0:09       ` Christof Spitz
2013-11-09  3:59         ` Jambunathan K [this message]
2013-11-09  7:44           ` libxml-parse-xml-region: Raise runtime error, don't return nil Christof Spitz
2013-11-09 11:53             ` bug#15840: " Jambunathan K
2013-11-15  5:12           ` Jambunathan K

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=8761s2rzsc.fsf_-_@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=15840@debbugs.gnu.org \
    --cc=christof.spitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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.