From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 194FD6DE01BB for ; Mon, 5 Nov 2018 15:12:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.061 X-Spam-Level: X-Spam-Status: No, score=-0.061 tagged_above=-999 required=5 tests=[AWL=-0.061] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yKO9NRjwI-TC for ; Mon, 5 Nov 2018 15:12:56 -0800 (PST) Received: from imarko.xen.prgmr.com (imarko.xen.prgmr.com [71.19.158.228]) by arlo.cworth.org (Postfix) with ESMTP id CD30E6DE00E6 for ; Mon, 5 Nov 2018 15:12:55 -0800 (PST) Received: from localhost ([127.0.0.1] helo=zsu.kismala.com) by imarko.xen.prgmr.com with esmtp (Exim 4.91) (envelope-from ) id 1gJo3A-0007fX-EY; Mon, 05 Nov 2018 15:12:52 -0800 From: Istvan Marko To: Tomi Ollila , Ralph Seichter , notmuch@notmuchmail.org Subject: Re: EMACS error "Package html2text is obsolete" In-Reply-To: References: <87ftwjf3an.fsf@ra.i-did-not-set--mail-host-address--so-tickle-me> Date: Mon, 05 Nov 2018 15:12:52 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Mon, 05 Nov 2018 23:12:57 -0000 Tomi Ollila writes: >> When I open a HTML message in the EMACS UI, the error message "Package >> html2text is obsolete!" is displayed. Is it possible to configure >> Notmuch to use SHR/EWW instead of html2text? > > You probably have somewhere something like: > > (setq mm-text-html-renderer 'html2text) > > ? > > If so, drop that. > > (then, it should default to 'shr since emacs 24...) It defaults to shr as long as emacs was compiled with libxml. Otherwise it tries to find various external commands, html2text amongst them. So I guess Ralph could also be running an emacs install built without libxml support. (defcustom mm-text-html-renderer (cond ((fboundp 'libxml-parse-html-region) 'shr) ((executable-find "w3m") 'gnus-w3m) ((executable-find "links") 'links) ((executable-find "lynx") 'lynx) ((locate-library "html2text") 'html2text) (t nil)) ... ) -- Istvan