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 D5223431FB6 for ; Sun, 8 Jan 2012 17:37:44 -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 4ato6s8NQFj1 for ; Sun, 8 Jan 2012 17:37:13 -0800 (PST) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 73396429E26 for ; Sun, 8 Jan 2012 17:36:34 -0800 (PST) Received: by ggnq2 with SMTP id q2so1912077ggn.26 for ; Sun, 08 Jan 2012 17:36:34 -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=cuqPO4YALsdfaKWEwVMcxrCAQR7/2KcR4OdVlCUDm1k=; b=wh7iA6CUrpVUa/HATvPA5EIySppdym16d/JIuEOdOV13lj/tAcRs1GAjDHPEJlyFXy G3StKp/ebKF/KlCMLG3Dzn6dcc1t8nchqoXJBQftgw7/npcFczDsBns6EGsFrHNIj/mU f/vNG1eObnnGD7GrfGTN78tQYKrd0q4nGkJyo= Received: by 10.101.192.3 with SMTP id u3mr5919046anp.23.1326072994004; Sun, 08 Jan 2012 17:36:34 -0800 (PST) Received: from localhost (c-68-80-94-73.hsd1.pa.comcast.net. [68.80.94.73]) by mx.google.com with ESMTPS id 3sm59338263ank.6.2012.01.08.17.36.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jan 2012 17:36:33 -0800 (PST) From: Aaron Ecay To: Adam Wolfe Gordon , notmuch@notmuchmail.org, awg@xvx.ca Subject: Re: [PATCH 0/4] Quoting HTML-only emails in replies redux In-Reply-To: <1326009162-19524-1-git-send-email-awg+notmuch@xvx.ca> References: <1326009162-19524-1-git-send-email-awg+notmuch@xvx.ca> User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org) Emacs/24.0.92.3 (i386-apple-darwin10.8.0) Date: Sun, 08 Jan 2012 20:36:30 -0500 Message-ID: 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: Mon, 09 Jan 2012 01:37:48 -0000 On Sun, 8 Jan 2012 00:52:38 -0700, Adam Wolfe Gordon = wrote: [...] >=20 > There should probably be some customize variables for this in emacs, to c= ontrol > (for example) whether to quote HTML parts and whether to prefer HTML or > plaintext parts for quoting. Any suggestions for what should be customiza= ble > would be appreciated. I think two variables should suffice: one (boolean) to control whether to quote standalone text/html parts, and one to control which parts of a multipart/alternative part to quote. The latter should take possible values 'text, 'html, and 'both. This requires the emacs reply functionality to distinguish between html parts that are part of a multipart/alternative and those which are not, which (AFAICT) the current code doesn=E2=80=99t do. I haven=E2=80=99t tested the patch yet, but it looks very promising. Thank= s! --=20 Aaron Ecay