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