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

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

Date: Tue, 20 Dec 2011 10:06:31 -0700

To: notmuch@notmuchmail.org

Cc:

From: Chris Gray


On Tue, 20 Dec 2011 03:40:44 -0500, Aaron Ecay <aaronecay@gmail.com> wrote:
> On Mon, 19 Dec 2011 23:38:36 -0700, Chris Gray <chrismgray@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

Thread: