[Pkg-emacsen-addons] htmlize.el and elpa-muse/muse-el

Sean Whitton spwhitton at spwhitton.name
Thu Sep 1 22:20:49 UTC 2016


Hello,

On Thu, Sep 01, 2016 at 12:13:35AM -0400, Nicholas D Steeves wrote:
> Spwhitton and I were chatting about this on #debian-emacs last night.

It's 'Sean' ;)

> I created the following quilt patch and tested it locally, but haven't
> pushed it yet.  I've tested two versions of it, one with just (require
> 'htmlize.el), and one that has both (require 'htmlize.el) and (provide
> 'htmlize-hack), but not the obsolete version check.  Both avoid the
> above block-quoted error.  What blows my mind is that function should
> be skipped when the version check fails to find (equal htmlize-version
> = "1.34")...

Looking at your quilt patch, it looks like this is a fix for a
particular version of htmlize.  The problem is that we don't know
whether later versions of htmlize fix the problem or not (maybe
htmlize-hack.el was written when version 1.34 was the latest version but
the fix was never merged upstream).

I think you need to test muse with your quilt patch and the latest
htmlize and see if things are sane.  If not, you might just have to take
out the htmlize support altogether, until muse gets updated (or you
could write a patch to update muse to not need the hack, and submit it
upstream and apply as a quilt patch).

> Does this mean that there is a bug in elpa that is triggered by
> version checks?  Or was the installation/configurations previously
> failing because the version check failed because htmlize wasn't
> actually loadable?  I would expect that it would fail immediately at
> (require 'htmlize) if htmlize cannot be found...

I don't see any bug in dh_elpa here.  Could you explain what you were
expecting dh_elpa to do that it isn't doing?

-- 
Sean Whitton



More information about the Pkg-emacsen-addons mailing list