From f4fb3ee26673d06ba52e5853a2cca978f6949d59 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Wed, 1 Feb 2012 06:49:39 +0400 Subject: [PATCH] emacs: quote MML tags in replies --- 4d/b5e3f8eda46b41a5f4eed68ea2fdb10483c325 | 97 +++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 4d/b5e3f8eda46b41a5f4eed68ea2fdb10483c325 diff --git a/4d/b5e3f8eda46b41a5f4eed68ea2fdb10483c325 b/4d/b5e3f8eda46b41a5f4eed68ea2fdb10483c325 new file mode 100644 index 000000000..6eb8f99ec --- /dev/null +++ b/4d/b5e3f8eda46b41a5f4eed68ea2fdb10483c325 @@ -0,0 +1,97 @@ +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 5F65C429E25 + for ; Tue, 31 Jan 2012 18:51:08 -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 gXb8lpV1u7V7 for ; + Tue, 31 Jan 2012 18:51:07 -0800 (PST) +Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com + [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 89163431FAF + for ; Tue, 31 Jan 2012 18:51:07 -0800 (PST) +Received: by bke11 with SMTP id 11so662809bke.26 + for ; Tue, 31 Jan 2012 18:51:04 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; + h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; + bh=L6wOpaiWcbjSZMbe3PBgTNLQw2sY7VjQuUr518HBa/c=; + b=q69FEqYHCL7cv5r/gDS13IV4yNfRHUt/DiHcv/Ttp+V7l8xWVnmkcv1zqP9X8JH4pB + VGricnDhCd5MIg9afWtJbTFl+6ndlraoX5K+QH3FB2MFItZvwz4G7ShvY4VFWgdvm3yo + Bd/oHyhqOtz1x5dRLKmrhfL8yQYghQq3sE7jg= +Received: by 10.204.145.210 with SMTP id e18mr4574462bkv.61.1328064664758; + Tue, 31 Jan 2012 18:51:04 -0800 (PST) +Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id + fg16sm49952333bkb.16.2012.01.31.18.51.03 + (version=TLSv1/SSLv3 cipher=OTHER); + Tue, 31 Jan 2012 18:51:04 -0800 (PST) +From: Dmitry Kurochkin +To: notmuch@notmuchmail.org +Subject: emacs: quote MML tags in replies +Date: Wed, 1 Feb 2012 06:49:39 +0400 +Message-Id: <1328064581-13949-1-git-send-email-dmitry.kurochkin@gmail.com> +X-Mailer: git-send-email 1.7.9 +In-Reply-To: <1326998589-37187-1-git-send-email-aaronecay@gmail.com> +References: <1326998589-37187-1-git-send-email-aaronecay@gmail.com> +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: Wed, 01 Feb 2012 02:51:08 -0000 + +Hi Aaron. + +Thanks for your work! I took the liberty to do some cleanups for your +patch. Below is a detailed list of changes. + +Hope this helps. + +Changes since v2: + +* change patch names to be consistent with others: + + - s/emacs:/test:/ for the test patch + + - lower case the first word after colon in the patch title + +* polish NEWS wording, move it to 0.12 section + +* add comment to `mml-quote-region' call, as suggested by Tomi [1] + +* fix and clean up the test: + + - set `notmuch-fcc-dirs' to nil to avoid adding the Fcc header, + otherwise it breaks the test on other systems as pointed by + David [2] + + - use default values for add_message parameters where possible + + - use a sane subject value in add_message + + - use shorter MML tag as produced by (mml-insert-part) + + - indenting and other minor cleanups + +Regards, + Dmitry + +[1] id:"m2wr89ioos.fsf@guru.guru-group.fi" +[2] id:"87ehugzycb.fsf@zancas.localnet" + -- 2.26.2