Re: [O] how to put into a journal info about the email sent
authorDavid Edmondson <dme@dme.org>
Wed, 29 Oct 2014 13:41:44 +0000 (13:41 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:05:49 +0000 (10:05 -0800)
b5/d60e44586c4a777b30ebe825b840c1fe72294d [new file with mode: 0644]

diff --git a/b5/d60e44586c4a777b30ebe825b840c1fe72294d b/b5/d60e44586c4a777b30ebe825b840c1fe72294d
new file mode 100644 (file)
index 0000000..8d51728
--- /dev/null
@@ -0,0 +1,104 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C47AA431FC2\r
+       for <notmuch@notmuchmail.org>; Wed, 29 Oct 2014 06:41:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id JyQwHDRu+lCo for <notmuch@notmuchmail.org>;\r
+       Wed, 29 Oct 2014 06:41:50 -0700 (PDT)\r
+Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 241CE431FB6   for <notmuch@notmuchmail.org>; Wed, 29 Oct 2014 06:41:50 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f45.google.com with SMTP id x12so1929498wgg.18\r
+       for <notmuch@notmuchmail.org>; Wed, 29 Oct 2014 06:41:48 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:to:cc:subject:in-reply-to:references:user-agent\r
+       :from:date:message-id:mime-version:content-type;\r
+       bh=qpnRY3K1LhWrIUprRkaGIjO7FC3QZFMuDvCJjrW4aNg=;\r
+       b=ZNVFHewuLNrSCF+7IWDKt74b+YXfdvA5Uw6VQJKxTE4mkUXlZPYC2gc1YQlNdX5nHW\r
+       23HnSzqTHyr2KBT9IukZ1nAUbicWWBUfAMjPU6rsZqHG4Baaf5eVm2B0GJDdc8rbWcim\r
+       Ot4bqQiC180JJRi+FOOwdj1tDo+foQ3i0e43a/lsbJEWwH1OqcDrI5qRX2pBYcTnFzYn\r
+       WE/fIB9CQUz82d56ji5fWuEYHDjLJjlsya0iZ1zt1J7tkIJ3/uCj25DRaoEHn2Ub0VWw\r
+       uXYyzSFiRnPwTVNBGR2zpixFK2YrZO4/1toeqFNkUQI9ByrTU1QejenYawaIFTzti5ee\r
+       Hkog==\r
+X-Gm-Message-State:\r
+ ALoCoQnLvdcPSYthEdsPpxnIz3vJ2gbLJL6U7S+imxDcMSLNQ3tcvNTxxi4ej3JumyKbqdJYZgO8\r
+X-Received: by 10.180.9.169 with SMTP id a9mr12805951wib.7.1414590107595;\r
+       Wed, 29 Oct 2014 06:41:47 -0700 (PDT)\r
+Received: from disaster-area.hh.sledj.net\r
+       ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+       by mx.google.com with ESMTPSA id fa7sm5232839wjd.27.2014.10.29.06.41.46\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Wed, 29 Oct 2014 06:41:46 -0700 (PDT)\r
+Received: from localhost (30000@localhost [local]);\r
+       by localhost (OpenSMTPD) with ESMTPA id 66843030;\r
+       Wed, 29 Oct 2014 13:41:45 +0000 (UTC)\r
+To: David Belohrad <david@belohrad.ch>,\r
+       Eric Abrahamsen <eric@ericabrahamsen.net>, notmuch@notmuchmail.org\r
+Subject: Re: [O] how to put into a journal info about the email sent\r
+In-Reply-To: <uaxd29bt43r.fsf@beesknees.cern.ch>\r
+References: <uaxh9yty1pm.fsf@beesknees.cern.ch>\r
+       <87ppdhh3rh.fsf@ericabrahamsen.net>\r
+       <m2k33p31yb.fsf@heart-of-gold.hh.sledj.net>\r
+       <87a94lh04t.fsf@ericabrahamsen.net>\r
+       <uaxd29bt43r.fsf@beesknees.cern.ch>\r
+User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Wed, 29 Oct 2014 13:41:44 +0000\r
+Message-ID: <cuny4rzngbr.fsf@gargravarr.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: emacs-orgmode@gnu.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 29 Oct 2014 13:41:55 -0000\r
+\r
+On Wed, Oct 29 2014, David Belohrad wrote:\r
+> - 'standard' behaviour is, that the email sent becomes read-only so with\r
+>   'q' keystroke I can bury the buffer with the email. However when I\r
+>   have implemented this, I have noticed that when I 'confirm' the\r
+>   template, I go back into the buffer 'sent mail to...', but this the\r
+>   *THE BUFFER IS NOT READ ONLY* and 'q' will just generate a character,\r
+>   and then I have to kill this buffer using C-x k with additional 'yes'\r
+>   because the buffer was modified. Quite annoying and I don't know how\r
+>   to resolve this\r
+\r
+I'm unsure about this. The change below may fix it accidentally.\r
+\r
+> - second thing is, that I'd like to avoid at all opening the capture\r
+>   template and just dump it into the file without any modifications\r
+>   ongoing. The only 'modification' which comes into my mind is a setup\r
+>   of an additional tag describing the email being attached to some\r
+>   project...\r
+\r
+Change the template to...\r
+\r
+    ("@" "Email outgoing sync. USED INTERNALLY" entry (file+datetree (concat my-org-files "emails_sent.org"))\r
+    "* EMAIL %c :EMAIL:\n%?\nEntered on %T\n" :immediate-finish t)\r
+(i.e. add ":immediate-finish t")\r
+\r
+...and you will never see the capture buffer for this entry.\r