From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Documentation references to htmlize and htmlize vs. htmlfontify Date: Mon, 08 Jan 2018 15:57:37 +0100 Message-ID: <874lnw5rfi.fsf@nicolasgoaziou.fr> References: <878td8beaw.fsf@passepartout.tim-landscheidt.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYYrt-0007tN-Dy for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 09:57:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYYrs-00030I-GL for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 09:57:41 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:37524) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eYYrs-0002yk-A5 for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 09:57:40 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id E8823C5A6A for ; Mon, 8 Jan 2018 15:57:37 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eYYrp-0003z7-AE for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 15:57:37 +0100 In-Reply-To: <878td8beaw.fsf@passepartout.tim-landscheidt.de> (Tim Landscheidt's message of "Mon, 08 Jan 2018 14:44:39 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, Tim Landscheidt writes: > Finally, Emacs already ships with htmlfontify. On (non-Org) > files, I see small, but not significant differences between > it and htmlize. Are there features that only htmlize of- > fers? Otherwise it would be very convenient to replace > calls to htmlize with a wrapper that tests if the user set > some configurable variable org-htmlize-function (and calls > that), otherwise tries to load htmlize and use that, and > falls back to using htmlfontify. Glancing at the code, org- > mode seems to use htmlize-region (with (point-min) (point- > max), but on narrowed buffers) which htmlfontify does not > offer, but it is unclear to me whether that would kill 100 % > of all use cases or only some. (If it works out of the box > with htmlfontify for the most common ones, IMHO that would > be preferable to the current situation where it does not > work at all unless one installs htmlize.) FWIW, I'm in favour of replacing entirely htmlize with htmlfontify, since the latter is bundled with Emacs. Regards, -- Nicolas Goaziou