From: Steven Allen Date: Sat, 20 Aug 2016 03:12:51 +0000 (+2000) Subject: [feature request] emacs: use `notmuch insert` for FCC X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b4faf95cf9a55f443d2fa833e327f3b9812cc4e;p=notmuch-archives.git [feature request] emacs: use `notmuch insert` for FCC --- diff --git a/97/b65b51a4cb3ad05a1657f116641c8e0c96383f b/97/b65b51a4cb3ad05a1657f116641c8e0c96383f new file mode 100644 index 000000000..16f22e664 --- /dev/null +++ b/97/b65b51a4cb3ad05a1657f116641c8e0c96383f @@ -0,0 +1,91 @@ +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 18F356DE0B14 + for ; Fri, 19 Aug 2016 20:12:55 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.637 +X-Spam-Level: +X-Spam-Status: No, score=-0.637 tagged_above=-999 required=5 tests=[AWL=0.024, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, + FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.211, 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 nkTdRgKVoDNT for ; + Fri, 19 Aug 2016 20:12:54 -0700 (PDT) +Received: from mail-io0-f174.google.com (mail-io0-f174.google.com + [209.85.223.174]) + by arlo.cworth.org (Postfix) with ESMTPS id 0EB7D6DE0B00 + for ; Fri, 19 Aug 2016 20:12:53 -0700 (PDT) +Received: by mail-io0-f174.google.com with SMTP id q83so65606508iod.1 + for ; Fri, 19 Aug 2016 20:12:53 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=sender:from:to:subject:date:message-id:mime-version; + bh=5rRjUxLBOwbAWNbnaUZibgllT822aiL+qyTRrOlxWNk=; + b=BmXPSU6ZQqw1rPTF6eHYgkwj3/Y4cRB07RnEL0yyXAkXhv9Fr71nz+L4b4dwHc6y2H + KSFoCCPTiLsPtSiEjFlc+SvUqLH8FVFvv6KNTORb4dhLxedeeHS7HRJcQc58fpHpPsfQ + Vjat/7/9EB2GAXXBSGroqVCO//nzNa93K/FFrnSU0Gx8XTS3B+3CQLdYNwtAu8qlZti4 + YNEnBQWkmYYvmqEr4By/dncEjhVw1haqC6vxsxD91wTh2I/WjZsCXFkuCrVysesA6BG0 + N/4KVsDH8XxX6zjjpKEn+gwADqi2On7/V7jnbSPrCxGk/WP6R8lqDWv48tHR2QVwOBbB + 5zJQ== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:sender:from:to:subject:date:message-id + :mime-version; + bh=5rRjUxLBOwbAWNbnaUZibgllT822aiL+qyTRrOlxWNk=; + b=fm++IHMHRKLL9Yh61T76sXyQRJb+vChaWXjj5Ogc4rUu0S81LA1ZGNQtXWo/v+TkKZ + Ss4oMmhLIPaqTMnmzF5oxfrOsg/OJkr+7LTPF7vnGQKF9vjoe4wWAxeAVPQazDgaBkFS + n/IbzL1RH1UwhAPMt9xZbA1PtRSI8vXq557TjGNjDdbFD2YuXeKehvlGGFoCIc6R+TFV + VJjMjLdApQPcyO6consSJWxgJQ3xN+E0B2ou+6TaE9BOIMB8G0tbpIpDg+rK95RdHkLm + ZaWCJEqk+fJDHy3BWNoHE6Q71A8xUCvwfIvVZ2q08l+5OLbJEC+t3G3CaYMMfBFJGS/N + DTSg== +X-Gm-Message-State: + AEkoouurxDqBS20U7wC8ElgOzR5VBZd1jGmhrlznXcjBSfewNRTemgFq4QussBJENV2Tcw== +X-Received: by 10.107.53.163 with SMTP id k35mr13354195ioo.75.1471662772761; + Fri, 19 Aug 2016 20:12:52 -0700 (PDT) +Received: from localhost (30-9-168.wireless.csail.mit.edu. [128.30.9.168]) + by smtp.gmail.com with ESMTPSA id z128sm4681080iof.4.2016.08.19.20.12.52 + for + (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); + Fri, 19 Aug 2016 20:12:52 -0700 (PDT) +Sender: - +From: Steven Allen +To: notmuch@notmuchmail.org +Subject: [feature request] emacs: use `notmuch insert` for FCC +Date: Fri, 19 Aug 2016 23:12:51 -0400 +Message-ID: <87lgzsb0b0.fsf@stebalien.com> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.22 +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: Sat, 20 Aug 2016 03:12:55 -0000 + + +Instead of directly dropping messages into a maildir on FCC, it would be +better to pipe to `notmuch insert --folder=$dir -- $tags`. This way, + +1. The message is indexed immediately and shows up in searches without +requiring a call to `notmuch new`. +2. It can be tagged. + +(unless I'm missing something) + +Unfortunately, I'm not comfortable enough with elisp to implement this myself. + +-- +Steven Allen +((Do Not Email ))