[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Documentation references to htmlize and htmlize vs. htmlfontify

From: Nicolas Goaziou
Subject: Re: [O] Documentation references to htmlize and htmlize vs. htmlfontify
Date: Mon, 08 Jan 2018 15:57:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)


Tim Landscheidt <address@hidden> 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.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]