From: Jani Nikula Date: Sun, 23 Aug 2015 20:41:54 +0000 (+0300) Subject: Re: Resending the same email X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1da18e942ca26f6db10ac1eb387363542851bac;p=notmuch-archives.git Re: Resending the same email --- diff --git a/3f/43a700a9fcf18f5a0f4da897e3f5b3f28e652d b/3f/43a700a9fcf18f5a0f4da897e3f5b3f28e652d new file mode 100644 index 000000000..8ad295cab --- /dev/null +++ b/3f/43a700a9fcf18f5a0f4da897e3f5b3f28e652d @@ -0,0 +1,106 @@ +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 331F36DE13DB + for ; Sun, 23 Aug 2015 13:42:02 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.274 +X-Spam-Level: +X-Spam-Status: No, score=-0.274 tagged_above=-999 required=5 tests=[AWL=0.446, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] + 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 Mr_mBqS773Kg for ; + Sun, 23 Aug 2015 13:41:59 -0700 (PDT) +Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com + [209.85.212.173]) + by arlo.cworth.org (Postfix) with ESMTPS id 785C26DE13DA + for ; Sun, 23 Aug 2015 13:41:59 -0700 (PDT) +Received: by wicja10 with SMTP id ja10so55271252wic.1 + for ; Sun, 23 Aug 2015 13:41:57 -0700 (PDT) +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:in-reply-to:references + :user-agent:date:message-id:mime-version:content-type; + bh=UgHmY2o3jf4tDbc3DTjxn4QzsiITAg5dl9RNXzNBmOU=; + b=B4qpIcjfoIreLqlXa2v940AhYotdF8tjPAmW6tHrI3OR8jEnkdFG4UG2YhmLVDzRDu + PKDmfK9RLAQTQP/n/LhDhymSy8ZOFEEPVWbZLeOW1fuc7DANEacpzii/2ifBcmc5VDGq + bLhDMSBXYYdi6LRq6h8UW+31euq1xONpx4tKbSCJotEdbYCcx5AYDyc1aM/SNCwpgpg9 + 1kVT784QBHJeplYqtdZVEA7LP7+ocpqDrS8b7ZbEltxby6HuL5zAJYD8bjFvvUTi2vWu + eJHrCoZtTVfA3TKVQ8g5BMeQTwMx3LRYUMfPHx1RAN/tx/zVa/G6KuAQVQtPqYEtQYr2 + S/JQ== +X-Gm-Message-State: + ALoCoQm0SxbP6d2qKmUeQoYbSx/zA6G7+3XlZy/VAAUELgCeX3/tTM9uD62nnCzaGvbhkXqnlPwp +X-Received: by 10.194.5.103 with SMTP id r7mr33197525wjr.47.1440362517371; + Sun, 23 Aug 2015 13:41:57 -0700 (PDT) +Received: from localhost (mobile-access-bcee4f-131.dhcp.inet.fi. + [188.238.79.131]) + by smtp.gmail.com with ESMTPSA id bq7sm20003051wjc.31.2015.08.23.13.41.56 + (version=TLSv1/SSLv3 cipher=OTHER); + Sun, 23 Aug 2015 13:41:56 -0700 (PDT) +From: Jani Nikula +To: David Mazieres expires 2015-11-21 PST + , + sfischme@uwaterloo.ca, notmuch +Subject: Re: Resending the same email +In-Reply-To: <87r3mtokkp.fsf@ta.scs.stanford.edu> +References: <87h9nqxiw3.fsf@uwaterloo.ca> <87r3mtokkp.fsf@ta.scs.stanford.edu> +User-Agent: Notmuch/0.20.2+56~ga5d59e7 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Sun, 23 Aug 2015 23:41:54 +0300 +Message-ID: <87twrp4u0d.fsf@nikula.org> +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: Sun, 23 Aug 2015 20:42:02 -0000 + +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. + +BR, +Jani.