Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / b8 / de07dc178757122c572d3b83ac3ffa13b4eb5a
1 Return-Path: <schnouki@schnouki.net>\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 08CC3431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 25 Oct 2011 00:39:53 -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.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\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 q+UvHMc73MTa for <notmuch@notmuchmail.org>;\r
17         Tue, 25 Oct 2011 00:39:52 -0700 (PDT)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 45D02431FB6\r
20         for <notmuch@notmuchmail.org>; Tue, 25 Oct 2011 00:39:52 -0700 (PDT)\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 733096A0005;\r
23         Tue, 25 Oct 2011 09:39:51 +0200 (CEST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1319528391;\r
26         bh=HtnDo2WMsNNPPUrQD3/Pq+ClJwQv0CLMvTEOaW6nlKE=;\r
27         h=From:To:Subject:In-Reply-To:References:Date:Message-ID:\r
28         MIME-Version:Content-Type;\r
29         b=fP1Pqjn2LoqxejWYbo3eP3ZIfOCbhKvsOddqvcyAAlu7QNUrJSXJmvybkXjTx16TB\r
30         GiKxZuC9O/hj5FHMkmxMCzZRS6emTX3EphJI1Q2paj8c+SFtKDBx2Gycf5zobz6IHt\r
31         6WVFM2N4xMp0iZHIowCSkmDKUpHWhBxOXOZOgnYM=\r
32 From: Thomas Jost <schnouki@schnouki.net>\r
33 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
34  notmuch@notmuchmail.org\r
35 Subject: Re: [PATCH 2/4] emacs: Support a message-mode switch function in\r
36         notmuch-mua\r
37 In-Reply-To: <87pqhu2w87.fsf@servo.finestructure.net>\r
38 References: <1317643438-31272-1-git-send-email-schnouki@schnouki.net>\r
39         <1317643438-31272-3-git-send-email-schnouki@schnouki.net>\r
40         <877h4cc0bn.fsf@washington.ligo-wa.caltech.edu>\r
41         <8739eztijn.fsf@schnouki.net>\r
42         <87pqhu2w87.fsf@servo.finestructure.net>\r
43 User-Agent: Notmuch/0.9-39-ge84ff5d (http://notmuchmail.org) Emacs/24.0.90.1\r
44         (x86_64-unknown-linux-gnu)\r
45 Date: Tue, 25 Oct 2011 09:39:47 +0200\r
46 Message-ID: <87pqhlh64c.fsf@thor.loria.fr>\r
47 MIME-Version: 1.0\r
48 Content-Type: multipart/signed; boundary="=-=-=";\r
49         micalg=pgp-sha1; protocol="application/pgp-signature"\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Tue, 25 Oct 2011 07:39:53 -0000\r
63 \r
64 --=-=-=\r
65 Content-Type: text/plain\r
66 Content-Transfer-Encoding: quoted-printable\r
67 \r
68 On Tue, 18 Oct 2011 07:46:48 -0700, Jameson Graef Rollins <jrollins@finestr=\r
69 ucture.net> wrote:\r
70 > On Tue, 11 Oct 2011 21:49:48 +0200, Thomas Jost <schnouki@schnouki.net> w=\r
71 rote:\r
72 > > > Another question about this feature: how do you make the window\r
73 > > > (frame) go away after the email is sent?\r
74 > >=20\r
75 > > I do this:\r
76 > >     (add-hook 'message-sent-hook 'delete-frame)\r
77 >=20\r
78 > Hey, Thomas.  Would it be possible to add this frame/window close\r
79 > functionality directly into this new configuration?  It would be really\r
80 > nice if we could work it out such that if you have new mail buffers open\r
81 > in a new window/frame that the window/frame is automatically closed once\r
82 > the message is sent.\r
83 \r
84 Yes, it's possible using dedicated windows (for details: C-h f\r
85 set-window-dedicated-p). But it's a little trickier to use: if you call\r
86 it from a switch-function, it doesn't work when forwarding a message.\r
87 There's probably something in message-forward that causes the dedicated\r
88 flag to be reset to nil, but I could not find what.\r
89 \r
90 So instead I wrote a little workaround that may be easier to use. I'll\r
91 send the commit as a reply.\r
92 \r
93 Regards,\r
94 \r
95 =2D-=20\r
96 Thomas/Schnouki\r
97 \r
98 --=-=-=\r
99 Content-Type: application/pgp-signature\r
100 \r
101 -----BEGIN PGP SIGNATURE-----\r
102 Version: GnuPG v1.4.11 (GNU/Linux)\r
103 \r
104 iQEcBAEBAgAGBQJOpmfDAAoJEMPdciX+bh5Ipd0H/3gLOyEiT2ZfcDvEpjAYdl9r\r
105 Oe10Vc64k+j5xtjx0IYbHgwI3t6pOHncvjKzrdJ7nbOW/J/pUCJdUT3/YVG3WDq8\r
106 xnt3C1kkXHAuJFvgN/sh001vkIoxTSsgvoCMBMmTx+eh2/L2EgMKqWJVxrGLQvUK\r
107 dTTDOXQwvJmRmMksBfBcI77fKaSfCgfZNXiXk+Ly8xzPROMdP7guP8zVdBkEe9kS\r
108 kceOefjGc29eTFHQtyQb7WjvKuHBmEUe+0gfBnEiELvnHmgqTOE0WUQBpROOYi8Z\r
109 JaaIEvtWP5Ezgf12d8/dergIys15+Spa3ZqK0hdkAyHOr7uMhR4otO49eG4p624=\r
110 =GuPR\r
111 -----END PGP SIGNATURE-----\r
112 --=-=-=--\r