[RFC][PATCH] emacs: Provide scaffolding so that the new `shr' HTML renderer can run.

Chris Gray chrismgray at gmail.com
Tue Dec 20 09:06:31 PST 2011


On Tue, 20 Dec 2011 03:40:44 -0500, Aaron Ecay <aaronecay at gmail.com> wrote:
> On Mon, 19 Dec 2011 23:38:36 -0700, Chris Gray <chrismgray at gmail.com> wrote:
> > This is working around a bug in gnus.
> 
> Arguably this is true, but the real “bug” (conceptual error) is that the
> MIME handling libraries and gnus are a little too tightly coupled.  Why
> should notmuch users have to load gnus (gnus-art.el does (require 'gnus),
> which brings in tens of thousands of lines of Elisp)[1], or customize
> gnus-* variables to use general-purpose MIME viewing, HTML rendering
> facilities?

I agree with this 100%.  However, we should still try to use emacs
coding best-practices, which means not defining variables that are
defined in other packages.  Unfortunately, getting the gnus folks to fix
their library might take a while, so it might be okay to relax those
best-practices while we wait, but we should be aware of the fact that
that's what we're doing.

Cheers,
Chris


More information about the notmuch mailing list