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 93F136DE1348 for ; Sat, 20 Feb 2016 10:24:50 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.222 X-Spam-Level: X-Spam-Status: No, score=0.222 tagged_above=-999 required=5 tests=[AWL=-0.208, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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 10nXgu5pjWLT for ; Sat, 20 Feb 2016 10:24:49 -0800 (PST) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by arlo.cworth.org (Postfix) with ESMTPS id 899DC6DE0FB6 for ; Sat, 20 Feb 2016 10:24:48 -0800 (PST) Received: by mail-wm0-f46.google.com with SMTP id c200so118211180wme.0 for ; Sat, 20 Feb 2016 10:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=M4N5NaoSmy+rXT/BhEdWJqLwfh6Z3LlaI8LAp3K8UfE=; b=vdGxgl9tJbu5KaVqG87kviZtb3CP9M5YbxQ16Ml3yp8m37UYN118omvzmvOqLEHgds sS9kQUa9rZP+b/+V002u0NTeUF9RI1PzMmXUNWcf4pVcu/LL+tJpFe3EBX/IAi5xPy22 +QeujeDOx2FFc1vtgwrcaM0EkBEoUQrLRwFyQx4qGnwjYWfKv2oF7fxANOpkVzGSvtG8 0QadcrYBMdcdLGT0ptw4pMlrc7K9hUiuzlz4ddEKqpHn6tC+jUwp/FTkXRHLed9nvxJ6 gSD4vPBpVV6kWKQMoCY1Vpp5voi2K2X1i4maCj7yO2gmvHZnBRyIgwoQB+eBEbbvMvwr dsIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=M4N5NaoSmy+rXT/BhEdWJqLwfh6Z3LlaI8LAp3K8UfE=; b=T1YN15WR7iUDRHr6dH3eaGOOmdKLkjBdJGrNsNh0j3E7HQ4UDYI7hSmN/NkS9nTAaD eF4UuODYIy7KvVTbIvyXjuY4Ky4r4hq+kgZLkIyNtxbdLsSAMXrKGuTUSBTUsdcXYaoo /yRUGCpk4+ZcGJXlGUfHcSe+vwbuJMMrbvdoQAmtNJEigBJN/taM+KSAm1GlQDw/NH2Q Gf6i4uuUGxaSDCATC9dYpdM4v7E2GcT2V60t34dEmi+HY7YUfGk04zkSypZsfIUg/GmH RAe6n747+/ojB0A4+5V7gPriSNtY3vwxCONgsRUPAjiFbEKCt8sxzVXnyHp3RfqbiSgD AgvA== X-Gm-Message-State: AG10YOQM7TGPWhPrd+x9n3HgnMx6ZsgzowZeUDwaG/9DD3/BxprRK/sNmqShSxwE+4VQvA== X-Received: by 10.28.132.212 with SMTP id g203mr3784483wmd.30.1455992685730; Sat, 20 Feb 2016 10:24:45 -0800 (PST) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id v2sm13114159wmd.24.2016.02.20.10.24.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Feb 2016 10:24:45 -0800 (PST) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH v6 0/6] emacs: Improve the cited message included in replies Date: Sat, 20 Feb 2016 18:24:34 +0000 Message-Id: <1455992680-24978-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 2.1.4 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: Sat, 20 Feb 2016 18:24:50 -0000 This is version 6 of this patch set -- the previous version is at id:1455475199-32622-1-git-send-email-markwalters1009@gmail.com The end result should be exactly the same as the previous series but the tests should now pass at all intermediate points. To achieve this I moved the part of the code allowing the new reply to code to say "don't display buttons", before the new reply code change (patch 4), and merged the one test fix needed with that main change. Best wishes Mark David Edmondson (6): emacs/show: Re-arrange determination if a part header is necessary emacs/show: Make the insertion of part headers overridable. 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: Let user specify which parts get a header in citations. emacs/notmuch-mua.el | 60 ++++++++++----------- emacs/notmuch-show.el | 144 +++++++++++++++++++++++++++++++------------------- test/T310-emacs.sh | 32 +++++++++++ test/test-lib.el | 4 ++ 4 files changed, 156 insertions(+), 84 deletions(-) -- 2.1.4