Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B5B0B429E2E for ; Tue, 20 Dec 2011 09:06:53 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WNMPXKDFNKWz for ; Tue, 20 Dec 2011 09:06:53 -0800 (PST) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 53B36429E28 for ; Tue, 20 Dec 2011 09:06:53 -0800 (PST) Received: by vbal1 with SMTP id l1so5095109vba.26 for ; Tue, 20 Dec 2011 09:06:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type:content-transfer-encoding; bh=LJbjQq5Rq9OXr+Gb6TTXJlcu5clCa84jpahRnDJQC7Q=; b=ECICuGkXPtcD4HGNaFjmKjbdjVeyMnZKTPSeq7ehIQByyJZAIkT9s4twtwcLkTbRqb Hadmw+4Vlz93Lk7m1LhN4PXJZzEW0Q2/RRefwxie6tbIyTnipRD7Y7MFsua80lm+cxjV H5M7tMriqoFj3MPC22SQExZTVwEOJf15oj+1c= Received: by 10.52.88.134 with SMTP id bg6mr1730416vdb.4.1324400812540; Tue, 20 Dec 2011 09:06:52 -0800 (PST) Received: from driftwood (S0106001f333bc36d.cg.shawcable.net. [68.144.78.164]) by mx.google.com with ESMTPS id d4sm1831261vdf.2.2011.12.20.09.06.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 09:06:51 -0800 (PST) From: Chris Gray To: notmuch@notmuchmail.org Subject: Re: [RFC][PATCH] emacs: Provide scaffolding so that the new `shr' HTML renderer can run. In-Reply-To: References: <1324309559-7993-1-git-send-email-dme@dme.org> <8762hbkas3.fsf@gmail.com> User-Agent: Notmuch/0.10.2+95~g2eb2694 (http://notmuchmail.org) Emacs/24.0.92.1 (i486-pc-linux-gnu) Date: Tue, 20 Dec 2011 10:06:31 -0700 Message-ID: <87wr9ri354.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:06:53 -0000 On Tue, 20 Dec 2011 03:40:44 -0500, Aaron Ecay wrote: > On Mon, 19 Dec 2011 23:38:36 -0700, Chris Gray wro= te: > > This is working around a bug in gnus. >=20 > Arguably this is true, but the real =E2=80=9Cbug=E2=80=9D (conceptual err= or) 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