Re: [O] how to put into a journal info about the email sent
[notmuch-archives.git] / a7 / 9ff192faf04dde94fe4711afca09198ae2396c
1 Return-Path: <tomi.ollila@nixu.com>\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 D4E0A429E25\r
6         for <notmuch@notmuchmail.org>; Fri, 18 Nov 2011 00:55:35 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id uD5e73Qt98HY for <notmuch@notmuchmail.org>;\r
16         Fri, 18 Nov 2011 00:55:35 -0800 (PST)\r
17 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id E2F10429E21\r
21         for <notmuch@notmuchmail.org>; Fri, 18 Nov 2011 00:55:34 -0800 (PST)\r
22 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
23         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
24         pAI8tUQ5009214; Fri, 18 Nov 2011 10:55:31 +0200\r
25 From: Tomi Ollila <tomi.ollila@iki.fi>\r
26 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH 0/9] test: (hopefully) better test prerequisites\r
28 In-Reply-To: <87zkfun5hf.fsf@gmail.com>\r
29 References: <1321494986-18998-1-git-send-email-dmitry.kurochkin@gmail.com>\r
30         <874ny36rhc.fsf@servo.finestructure.net>\r
31         <yf64ny3gcu4.fsf@taco2.nixu.fi> <8739dmopcu.fsf@gmail.com>\r
32         <yf6wrayg83d.fsf@taco2.nixu.fi> <87zkfun5hf.fsf@gmail.com>\r
33 User-Agent: Notmuch/0.9+73~ged20210 (http://notmuchmail.org) Emacs/23.3.1\r
34         (i686-pc-linux-gnu)\r
35 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
36         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
37         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
38 Date: Fri, 18 Nov 2011 10:55:30 +0200\r
39 Message-ID: <yf6ty6195dp.fsf@taco2.nixu.fi>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain; charset=us-ascii\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Fri, 18 Nov 2011 08:55:36 -0000\r
55 \r
56 On Thu, 17 Nov 2011 19:17:16 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:\r
57\r
58 > If we follow this pattern than all code like:\r
59\r
60 >   f() {\r
61 >     if (!done_once)\r
62 >         do_once\r
63\r
64 >     do_more\r
65 >   }\r
66\r
67 > Should be rewritten using dynamic functions. I do not think I agree with\r
68 > this :)\r
69\r
70 > Anyway, all above is just IMHO.  You should probably go ahead and\r
71 > prepare a patch implementing this approach for others to review.\r
72 \r
73 I probably won't. While I was looking something in your patch and I was\r
74 thinking how to fix I just got this idea and wrote it to see whether\r
75 other's see as I do. The discussion got a bit side-tracked as I just\r
76 look this tiny part of the whole. Your later patch looks more\r
77 understandable than the previous (which emacs || emacs || return) and\r
78 it is something I can live with :) -- Just for now I'm not going to \r
79 work on the whole anyway.\r
80 \r
81\r
82 > Regards,\r
83 >   Dmitry\r
84\r
85 \r
86 Thanks,\r
87 Tomi\r