From: David Edmondson Date: Mon, 12 May 2014 12:29:20 +0000 (+0100) Subject: [PATCH v3 0/9] emacs: Improve the cited message included in replies X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b45e94e11d18d53c41b3143de3ff6edc4e5b4c1;p=notmuch-archives.git [PATCH v3 0/9] emacs: Improve the cited message included in replies --- diff --git a/47/e9f284e09ba97d64458105e6a281b78737f8ba b/47/e9f284e09ba97d64458105e6a281b78737f8ba new file mode 100644 index 000000000..fc5c59059 --- /dev/null +++ b/47/e9f284e09ba97d64458105e6a281b78737f8ba @@ -0,0 +1,103 @@ +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 46348429E36 + for ; Mon, 12 May 2014 05:29:49 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 wbKWiSDTvce6 for ; + Mon, 12 May 2014 05:29:43 -0700 (PDT) +Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com + [209.85.212.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id CFEC7431FD0 + for ; Mon, 12 May 2014 05:29:34 -0700 (PDT) +Received: by mail-wi0-f174.google.com with SMTP id r20so4372318wiv.1 + for ; Mon, 12 May 2014 05:29:32 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to + :references; + bh=xtlHVzJ/1dwWaAE1Kmxo7DpbCbUtM4O+RBRBjnS3OlQ=; + b=lfgaDymrb7U+78rYMVeQm6YddPySo7zpInPDH5hcGoB4zken4eLWzVIR4ZET2nnrSx + niBT/GgnG4lw0kv3R1cB+VKiyvP4oMnvN05eJxUU6O2XMQA+Accl8ObXBO5j3k8WTBXk + 488kh7BzEmjFl73IRl7E2Tp4dxPbYS8KAtdmpIgL69A6yruaxfmlciFgto1lGxLXIMFi + i7PRfy177EUOLddngJYjSp84gjx/fxpNVn2IGnr2/+1+6SSeWW3aDJhR4SA593AV677c + pCSmrwWXqpvCFBbRyZpvSn/0y7sMgwkQWzdRF55QQIPaM9G+qVNBpOWlqo6u5HHUqSH9 + HLhg== +X-Gm-Message-State: + ALoCoQmNFb62vytRguEzqRU1ipRrS2oB5wSPZVaHTr0kfx0ysFhm2ePJwvK5S5/ADd3fFLD10aOH +X-Received: by 10.180.105.72 with SMTP id gk8mr15373651wib.32.1399897772409; + Mon, 12 May 2014 05:29:32 -0700 (PDT) +Received: from hotblack-desiato.hh.sledj.net + ([2a01:348:1a2:1:a288:b4ff:fe8a:77d8]) + by mx.google.com with ESMTPSA id m2sm17743154wjf.42.2014.05.12.05.29.30 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 12 May 2014 05:29:30 -0700 (PDT) +Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) + id 348F610B320; Mon, 12 May 2014 13:29:29 +0100 (BST) +From: David Edmondson +To: notmuch@notmuchmail.org +Subject: [PATCH v3 0/9] emacs: Improve the cited message included in replies +Date: Mon, 12 May 2014 13:29:20 +0100 +Message-Id: <1399897769-26809-1-git-send-email-dme@dme.org> +X-Mailer: git-send-email 2.0.0.rc0 +In-Reply-To: <87sixdujkv.fsf@qmul.ac.uk> +References: <87sixdujkv.fsf@qmul.ac.uk> +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, 12 May 2014 12:29:49 -0000 + + +emacs: Improve the cited message included in replies + +I tried to do things in small increments to make it easier to review. + +v2: +- Don't run the text/plain hooks when generating the message to quote. + +v3: +- Remove the 'no-button code, as it's no longer used. +- Control the insertion of part headers using a function. +- Fix the tests. + + +David Edmondson (9): + emacs/show: Re-arrange determination if a part header is necessary + emacs/show: Allow the user to decide when part headers should be + inserted + emacs/show: Accommodate the lack of part header buttons + emacs/mua: Generate improved cited text for replies + emacs/show: Remove the 'no-buttons option of + `notmuch-show-insert-bodypart' + emacs/mua: Don't insert part headers in citations + test: Update the test output to accord with the reply changes + emacs/mua: Insert part headers depending on the message + test: Update the test output to accord with more reply changes + + emacs/notmuch-mua.el | 82 +++++++++++++++++++----------- + emacs/notmuch-show.el | 135 +++++++++++++++++++++++++++++++------------------- + test/T310-emacs.sh | 44 ++++++++++++++++ + 3 files changed, 180 insertions(+), 81 deletions(-) + +-- +2.0.0.rc0 +