From 7fafb171946c029c0cf3115ecc0ae7d970eaba1c Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 24 Aug 2015 07:55:00 +0300 Subject: [PATCH] Re: Resending the same email --- a9/f0c73b72da31cf2a18ff617d66742bc34f8a4b | 107 ++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 a9/f0c73b72da31cf2a18ff617d66742bc34f8a4b diff --git a/a9/f0c73b72da31cf2a18ff617d66742bc34f8a4b b/a9/f0c73b72da31cf2a18ff617d66742bc34f8a4b new file mode 100644 index 000000000..69bf42dd2 --- /dev/null +++ b/a9/f0c73b72da31cf2a18ff617d66742bc34f8a4b @@ -0,0 +1,107 @@ +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 6A5986DE1401 + for ; Sun, 23 Aug 2015 21:56:40 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.863 +X-Spam-Level: +X-Spam-Status: No, score=0.863 tagged_above=-999 required=5 tests=[AWL=0.211, + SPF_NEUTRAL=0.652] 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 Wyio3HBrwPCP for ; + Sun, 23 Aug 2015 21:56:36 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id 796686DE13F4 + for ; Sun, 23 Aug 2015 21:56:35 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id D580010008E; + Mon, 24 Aug 2015 07:55:00 +0300 (EEST) +From: Tomi Ollila +To: Jani Nikula , David Mazieres expires 2015-11-21 PST + , + sfischme@uwaterloo.ca, notmuch +Subject: Re: Resending the same email +In-Reply-To: <87twrp4u0d.fsf@nikula.org> +References: <87h9nqxiw3.fsf@uwaterloo.ca> <87r3mtokkp.fsf@ta.scs.stanford.edu> + <87twrp4u0d.fsf@nikula.org> +User-Agent: Notmuch/0.20.2+67~g287e782 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Mon, 24 Aug 2015 04:56:40 -0000 + +On Sun, Aug 23 2015, Jani Nikula wrote: + +> On Sun, 23 Aug 2015, David Mazieres wrote: +>> Sebastian Fischmeister writes: +>> +>>> Hi, +>>> +>>> My previous mail editor had a useful feature to resend already sent +>>> emails. It's essentially opening an already sent email and have the +>>> senders, subject, and body pre-filled as well as all attachments +>>> attached. +>>> +>>> Is this easy to achieve in notmuch? The attachments seem a bit tricky. +>> +>> I often pipe the message to sendmail, using emacs's +>> notmuch-show-pipe-message command (bound to '|' by default). However I +>> agree it would be much nicer to be able to edit the headers slightly, so +>> as to add headers like Resent-To. +>> +>> On a related note, another feature I really miss is the ability to edit +>> and re-send a bounced message. (I realize this could be problematic for +>> notmuch, in that you really want to re-send it with the same +>> message-ID.) +> +> http://notmuchmail.org/emacstips/#index16h2 +> +> (define-key notmuch-show-mode-map "b" +> (lambda (&optional address) +> "Bounce the current message." +> (interactive "sBounce To: ") +> (notmuch-show-view-raw-message) +> (message-resend address))) +> +> This really should be part of notmuch-emacs, but as I recall it we just +> never came to a conclusion whether this does the right thing or not. + +There is also http://article.gmane.org/gmane.mail.notmuch.general/20179 +(which is now stale, due to context in defining key "b") + +I've planned a new version which does *NOT* + +1) initially do the comma (,) magic in notmuch-address-from-minibuffer + +2) initially add the keybinding "b" in notmuch-show-mode-map + +... that means a 3-patch series :D + + +Tomi + + +> +> BR, +> Jani. -- 2.26.2