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 EC62D6DE108D for ; Thu, 4 Apr 2019 16:01:42 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.695 X-Spam-Level: X-Spam-Status: No, score=-2.695 tagged_above=-999 required=5 tests=[AWL=-0.193, 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 wYNKcvciX33d for ; Thu, 4 Apr 2019 16:01:41 -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 3FC9A6DE102E for ; Thu, 4 Apr 2019 16:01:41 -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 CB21A2B47 for ; Fri, 5 Apr 2019 01:01:37 +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 nVW_lPJjSA8P; Fri, 5 Apr 2019 01:01:37 +0200 (CEST) X-KTH-Auth: ekeberg [85.229.204.229] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1554418897; bh=2JiANcf2VbtaJvThEhzQ013sqghMavfK14hpBn8M1Xg=; h=From:To:Cc:Subject:Date; b=oVwPRAuk6W+mc6/mYqVzrL4eQn2LqVNkeS/RIF1TmoR7lXamRSJkbiNfArMRjQNMK XSqCbMX33sGT27eIFU+fnBYSDkG5FIHj0kwC1av5qybTzF2idJp17cVvQatqygF0ip dp+tsRrit4eC1RXKPURKlKOfKYbOpwMQxHV+8mRM= X-KTH-mail-from: ekeberg@kth.se Received: from swing.localdomain (c-e5cce555.09-723-73746f39.bbcust.telenor.se [85.229.204.229]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id CF33E28E8; Fri, 5 Apr 2019 01:01:36 +0200 (CEST) From: =?UTF-8?q?=C3=96rjan=20Ekeberg?= To: notmuch@notmuchmail.org Subject: Updating tags when replying or forwarding via a buffer-local variable Date: Fri, 5 Apr 2019 01:01:22 +0200 Message-Id: <20190404230126.4283-1-ekeberg@kth.se> X-Mailer: git-send-email 2.20.1 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: Thu, 04 Apr 2019 23:01:43 -0000 Updated version of the patches that add references to forwarded messages, and tags to the messages being forwarded. This version has some cleanups and adds code for testing the functionality for forwarded messages. Ö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 | 37 +++++++++++++++++++++++++++-------- emacs/notmuch-mua.el | 26 +++++++++++++++++++++--- test/T730-emacs-forwarding.sh | 35 +++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 11 deletions(-) create mode 100755 test/T730-emacs-forwarding.sh -- 2.20.1