Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0BBC2431FB6 for ; Wed, 21 Nov 2012 00:32:02 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cSVID7KX34UN for ; Wed, 21 Nov 2012 00:32:01 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 60C2C431FAF for ; Wed, 21 Nov 2012 00:32:01 -0800 (PST) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id EA9D710010B; Wed, 21 Nov 2012 10:31:59 +0200 (EET) From: Tomi Ollila To: Austin Clements , Tom Prince Subject: Re: [PATCH] test: Produce useful output when the HTML with images test fails In-Reply-To: References: <1353427125-13854-1-git-send-email-amdragon@mit.edu> User-Agent: Notmuch/0.14+84~g8a199bf (http://notmuchmail.org) Emacs/24.2.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 08:32:02 -0000 On Wed, Nov 21 2012, Tomi Ollila wrote: > > From notmuch IRC log Thu Oct 25 2012 > > --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- > < Domo_> For me the 'shr test fails by missing libxml-parse-html-region ... > < Domo_> which is defined in src/xml.c -- and exists by default on > another emacs... > < Domo_> which probably means that my self-compiled emacs24 just doesn't > have that xml code compiled in :( > < Domo_> #ifdef HAVE_LIBXML2 > < Domo_> ... > < Domo_> #endif /* HAVE_LIBXML2 */ > --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- That's easy to test: run emacs24 Enter M-x describe-function libxml-parse-html-region to see whether the function is defined. The output should look like: --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- libxml-parse-html-region is a built-in function in `C source code'. (libxml-parse-html-region START END &optional BASE-URL) Parse the region as an HTML document and return the parse tree. If BASE-URL is non-nil, it is used to expand relative URLs. --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- Tomi