From: David Edmondson Date: Wed, 16 Mar 2016 08:39:53 +0000 (+0000) Subject: [PATCH v1] emacs: Don't insert part header pseudo-buttons during reply by default. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=64b712e249d2ccc5953ad2947285f9235f7e4513;p=notmuch-archives.git [PATCH v1] emacs: Don't insert part header pseudo-buttons during reply by default. --- diff --git a/08/e269bfd4fbbfdfd9d2b5d2de4c9defd6a667e4 b/08/e269bfd4fbbfdfd9d2b5d2de4c9defd6a667e4 new file mode 100644 index 000000000..a1f45703e --- /dev/null +++ b/08/e269bfd4fbbfdfd9d2b5d2de4c9defd6a667e4 @@ -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 arlo.cworth.org (Postfix) with ESMTP id D5E0E6DE1830 + for ; Wed, 16 Mar 2016 01:40:00 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.158 +X-Spam-Level: +X-Spam-Status: No, score=-0.158 tagged_above=-999 required=5 + tests=[AWL=-0.091, 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 G92D_rS25zxD for ; + Wed, 16 Mar 2016 01:39:58 -0700 (PDT) +Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com + [74.125.82.45]) by arlo.cworth.org (Postfix) with ESMTPS id 8A37D6DE181C for + ; Wed, 16 Mar 2016 01:39:58 -0700 (PDT) +Received: by mail-wm0-f45.google.com with SMTP id l68so178931920wml.0 + for ; Wed, 16 Mar 2016 01:39:58 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=dme-org.20150623.gappssmtp.com; s=20150623; + h=from:to:subject:date:message-id; + bh=Owm4NHr/VbEnfCJOnbX0JKRGL1A50E9MmwKAJhGaC90=; + b=opoxC0a6aKdfbuuEj0BcL3AScEpIzkErmqqXV/agnSR8oFZ0BXwBp6pqFEdIploZbt + DFxGzzS+E61MZ5BtlH6ZVJ6Hre4Rcp33K4B6e4x0rmmFXSxc9FIYu9QSDSxKHLF1Wx/k + aNiFx+jXOu9N6nE1+uCIDjkSUzIADLen+MI9XGVb9Gm/M+26dHAgWH4Z6X6toT8JbITd + v+M3W4zXt/fcA7rCxkGnox4H3h9XOp4STJH7aL4pJ3aGVd03VjUYcNy7itKxVOr9g8Hb + vS441f5neo96UPRnkYv41Fw4UDFphIW7ZX0JoLUFFpu7LxXqrVjorIHUxdhMi4P+1jo+ + pdiw== +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; + bh=Owm4NHr/VbEnfCJOnbX0JKRGL1A50E9MmwKAJhGaC90=; + b=GHKz+Q33rY1oV9nO3EChzm8rmlXQExRPZDUIxQ0zmJGwucKSdzDqBxDHzBgWFsJZye + 0oSpxPUpg7tJBA9OH81yqz6QCCWNR0cRlEw5CeW6yHXnjsOuPVccdiUYcQv3iAGthU2z + /vsvhzM4J31RnGz8dG1m1L9EWE/g4LYbVS8qO033AYwZOyxKXZh6m9ap1xwThj57IBZg + FnCODW0akmjn2sK+hatAgBbb1Gn8foWhbazgzXbRfREfS3iXU6gX0LmSYjvAfXn8CEVX + ddD12VUyyexTflyPfrxSaZ74GiZ0JPZsEoGh1v0utBaTuFcbDPVqgiSq56lxbsuJhs5t + vaug== +X-Gm-Message-State: + AD7BkJK792/nIYIfJRvp1dQF376KQnZd5eM+VOGEpvKxNnYaiyCsDPhdcBNz2i4PoybK9w== +X-Received: by 10.28.230.157 with SMTP id e29mr29190201wmi.24.1458117595530; + Wed, 16 Mar 2016 01:39:55 -0700 (PDT) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by smtp.gmail.com with ESMTPSA id g203sm24386560wmf.23.2016.03.16.01.39.54 + for + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Wed, 16 Mar 2016 01:39:54 -0700 (PDT) +Received: from localhost (disaster-area.hh.sledj.net [local]) + by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 221f5179 + for ; Wed, 16 Mar 2016 08:39:53 +0000 (UTC) +From: David Edmondson +To: notmuch@notmuchmail.org +Subject: [PATCH v1] emacs: Don't insert part header pseudo-buttons during + reply by default. +Date: Wed, 16 Mar 2016 08:39:53 +0000 +Message-Id: <1458117593-32586-1-git-send-email-dme@dme.org> +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: Wed, 16 Mar 2016 08:40:01 -0000 + +Based on feedback from users, change the default value of +`notmuch-mua-reply-insert-header-p-function' to +`notmuch-show-reply-insert-header-p-never', with the consequence that +replies will not have part header pseudo-buttons. This more closely +matches the behaviour before the recent changes to the reply code. +--- + emacs/notmuch-mua.el | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el +index fcb3e95..773a000 100644 +--- a/emacs/notmuch-mua.el ++++ b/emacs/notmuch-mua.el +@@ -94,7 +94,7 @@ Note that these functions use `mail-citation-hook' if that is non-nil." + :group 'notmuch-reply) + + (defcustom notmuch-mua-reply-insert-header-p-function +- 'notmuch-show-reply-insert-header-p-trimmed ++ 'notmuch-show-reply-insert-header-p-never + "Function to decide which parts get a header when replying. + + This function specifies which parts of a mime message with +-- +2.1.4 +