From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5FE516DE1020 for ; Fri, 12 Apr 2019 05:01:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.694 X-Spam-Level: X-Spam-Status: No, score=-2.694 tagged_above=-999 required=5 tests=[AWL=-0.192, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, 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 bXx3LNM2IP9r for ; Fri, 12 Apr 2019 05:01:36 -0700 (PDT) Received: from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193]) by arlo.cworth.org (Postfix) with ESMTPS id 6F7896DE0EEA for ; Fri, 12 Apr 2019 05:01:36 -0700 (PDT) Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-4.sys.kth.se (Postfix) with ESMTP id 4738E2854 for ; Fri, 12 Apr 2019 14:01:32 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-4.sys.kth.se ([127.0.0.1]) by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s4qVAFCkwOjF; Fri, 12 Apr 2019 14:01:30 +0200 (CEST) X-KTH-Auth: ekeberg [2001:6b0:1:1de0:5018:5c50:6d6d:7a4] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1555070490; bh=PgFZCyKiXHM0wVHaszEccJsr/wbPsgDYItS0xrw1zEk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=aQxzFqut+rjMYKs/vwMWTtnhpEJJV3HjEJD7G8ZstrTsncHxIdJTmSGynSZDCRwGb ByRlS26Mk7+JVtoVY8JZd7uLdp890KH+BILoO1QjTZxdTxVR0UCcg9GkGfhcozzDFt 6tTF1mUaVu0n6D78qTAYWA48VokB7+BocZzWIEhs= X-KTH-mail-from: ekeberg@kth.se Received: from swing.nada.kth.se (unknown [IPv6:2001:6b0:1:1de0:5018:5c50:6d6d:7a4]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id 2BAD22750; Fri, 12 Apr 2019 14:01:29 +0200 (CEST) From: =?UTF-8?q?=C3=96rjan=20Ekeberg?= To: notmuch@notmuchmail.org Subject: Updated version of the patch-set for tagging forwarded messages Date: Fri, 12 Apr 2019 14:01:09 +0200 Message-Id: <20190412120113.8047-1-ekeberg@kth.se> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190404230126.4283-1-ekeberg@kth.se> References: <20190404230126.4283-1-ekeberg@kth.se> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Fri, 12 Apr 2019 12:01:40 -0000 This is a new (final?) version of the patch set for adding reference links to forwarded messages, and tags to forwarded and replied messages. Thanks for all the comments and suggesions for improvements. Apart from cleaning up the test code, the only change from the last posted version is that I have reversed the dependency so that notmuch-mua.el requires notmuch-message.el. This change was needed to make the code emacs-compile cleanly since the code in notmuch-mua uses the variables defined in notmuch-message. Örjan Ekeberg (4): emacs: Add References header to forwarded messages emacs: Use a buffer-local variable to update tags when sending replies emacs: Tag forwarded messages with +forwarded (customizable) test: add test for checking forwarded messages emacs/notmuch-message.el | 38 ++++++++++++++++++++++++-------- emacs/notmuch-mua.el | 27 ++++++++++++++++++++--- test/T730-emacs-forwarding.sh | 41 +++++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 12 deletions(-) create mode 100755 test/T730-emacs-forwarding.sh -- 2.20.1