From: David Edmondson Date: Mon, 7 Mar 2016 18:10:51 +0000 (+0000) Subject: Re: [PATCH v6 4/6] emacs/mua: Generate improved cited text for replies X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=48858232bf5a8d5ad131f8b9b1905be7512fbfd4;p=notmuch-archives.git Re: [PATCH v6 4/6] emacs/mua: Generate improved cited text for replies --- diff --git a/52/8e7ec485aacbb17097f1343018ca6a1bb292f1 b/52/8e7ec485aacbb17097f1343018ca6a1bb292f1 new file mode 100644 index 000000000..cc79d30c0 --- /dev/null +++ b/52/8e7ec485aacbb17097f1343018ca6a1bb292f1 @@ -0,0 +1,114 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 33AC96DE1410 + for ; Mon, 7 Mar 2016 10:11:01 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.137 +X-Spam-Level: +X-Spam-Status: No, score=-0.137 tagged_above=-999 required=5 + tests=[AWL=-0.070, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id JtUp_akFr_MH for ; + Mon, 7 Mar 2016 10:10:56 -0800 (PST) +Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com + [74.125.82.65]) by arlo.cworth.org (Postfix) with ESMTPS id AF0706DE020B for + ; Mon, 7 Mar 2016 10:10:55 -0800 (PST) +Received: by mail-wm0-f65.google.com with SMTP id 1so12178422wmg.2 + for ; Mon, 07 Mar 2016 10:10:55 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=dme-org.20150623.gappssmtp.com; s=20150623; + h=to:subject:in-reply-to:references:from:date:message-id:mime-version + :content-transfer-encoding; + bh=6z1bno9fS/Go5zJNnWIljfTFkvv0mkIMXG1Hq449sNE=; + b=LVqlBLqW3ODcuRY8B1eUBfFGx5VabXj8dpvLobeanjE2ChXrhnlz9zf+ThSOUEpVWE + KMpJ/JDfGcxRXV3gf8K7anjaS7z9dTogXX2DD4wH0rjZ8aOIFMJ7vp31DTUwGo+wkBym + xzT17if46aNPalF2tJkjMl3Gd0Ot/tLp5jAvY2GtAz1mz5PlZC4ycAcNhuonz1eHq32f + 8ASPdAnoG6VpbCTE4JUruU7k+7bjJ0MBFgFMFGJL7sCvZ2mzEFCYjHEnk71w2zi6qw3h + V8Baca1CrD3WzpgedfBH6ZOSfhu8j868UbPzqCaZ0FZGFvnTbCcQfobaN3nAg1hlKP9I + uW4A== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:to:subject:in-reply-to:references:from:date + :message-id:mime-version:content-transfer-encoding; + bh=6z1bno9fS/Go5zJNnWIljfTFkvv0mkIMXG1Hq449sNE=; + b=a6DnMYi9JOKq9hC9EPewdHSt9aKkeHH0F/OAw8qO3Shn4Jd0fpu/Kd2D7+zeCKZ3Po + AOL1pVDlhLsqRRCKj1sQWMa1ZUChf1w1c391ytVONItZERfNrAKbSue3AQli0kg3+zIJ + IlDUNJ6QAKuGqXSvjw70FlI+w2LiZmjJNUpGc2p3G3yfiQdfA22WNHlr1xdiEYICcVxM + LPHGmXOdvIQyXqVcnVsr3ffyOfERcXOx4RPicEA7R637tiqvg8TJaGp4QydEkGHcY4We + WZMR9QE0J2dNaHlr1jRdLMwO49oNJyxGf9WiT7uogbWZ1nTGHbyvRcxfU/tCJLZuiZIP + UZKQ== +X-Gm-Message-State: + AD7BkJKt5a7cWkIXhMZQPrYhJg9mlxa+NIZeMSu/ftH014zsJrAz3sVmez7syPVBYSN6dA== +X-Received: by 10.28.133.14 with SMTP id h14mr15247661wmd.100.1457374254393; + Mon, 07 Mar 2016 10:10:54 -0800 (PST) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by smtp.gmail.com with ESMTPSA id vw2sm4999816wjc.43.2016.03.07.10.10.52 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 07 Mar 2016 10:10:52 -0800 (PST) +Received: from localhost (disaster-area.hh.sledj.net [local]) + by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 4d683101; + Mon, 7 Mar 2016 18:10:51 +0000 (UTC) +To: Jani Nikula , Mark Walters , + notmuch@notmuchmail.org +Subject: Re: [PATCH v6 4/6] emacs/mua: Generate improved cited text for + replies +In-Reply-To: <87vb4y5g6s.fsf@nikula.org> +References: <1455992680-24978-1-git-send-email-markwalters1009@gmail.com> + <1455992680-24978-5-git-send-email-markwalters1009@gmail.com> + <87vb4y5g6s.fsf@nikula.org> +From: David Edmondson +Date: Mon, 07 Mar 2016 18:10:51 +0000 +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.20 +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, 07 Mar 2016 18:11:01 -0000 + +On Mon, Mar 07 2016, Jani Nikula wrote: +> For a message with mime structure: +> +> =E2=94=94=E2=94=AC=E2=95=B4multipart/mixed 120338 bytes +> =E2=94=9C=E2=94=80=E2=95=B4text/html 59234 bytes +> =E2=94=94=E2=94=80=E2=95=B4application/octet-stream attachment [filename= +.html] 59234 bytes + +How is this displayed when viewing the message (as opposed to replying)? + +How do you think that it is intended to be displayed? Are they two +sub-parts of the multipart/mixed intended to be alternatives? (It +doesn't seem so, as you mention later that they have the same content.) + +> this patch (i.e. commit e103f0a971b8 emacs/mua: Generate improved cited +> text for replies) causes the application/octet-stream attachment to be +> displayed, with: +> +> [ filename.html: application/octet-stream (as text/html) ] +> !!! Bodypart insert error: Internal error: No :content from ("show" "--fo= +rmat=3Dsexp" "--include-html" "--part=3D3" "--decrypt" "id:mid@example.com"= +) !!! + +If someone can give me a sample message then I will fix this. + +> Is there a way to interactively choose which parts are cited in replies? + +Currently, no.