1 Return-Path: <tomi.ollila@iki.fi>
\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 CE718431FBF
\r
6 for <notmuch@notmuchmail.org>; Wed, 17 Oct 2012 23:29:24 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 EWaka7YzSn2u for <notmuch@notmuchmail.org>;
\r
16 Wed, 17 Oct 2012 23:29:24 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 15350431FB6
\r
19 for <notmuch@notmuchmail.org>; Wed, 17 Oct 2012 23:29:24 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id F1E341000E5;
\r
22 Thu, 18 Oct 2012 09:29:26 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Jani Nikula <jani@nikula.org>, Ben Gamari <bgamari.foss@gmail.com>,
\r
25 notmuch@notmuchmail.org
\r
26 Subject: Re: [PATCH 3/3] Add notmuch compact command
\r
27 In-Reply-To: <87y5j42a03.fsf@nikula.org>
\r
28 References: <1350487737-32058-1-git-send-email-bgamari.foss@gmail.com>
\r
29 <1350487737-32058-4-git-send-email-bgamari.foss@gmail.com>
\r
30 <87y5j42a03.fsf@nikula.org>
\r
31 User-Agent: Notmuch/0.14+51~g62cd13b (http://notmuchmail.org) Emacs/24.2.1
\r
32 (x86_64-unknown-linux-gnu)
\r
33 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
34 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
35 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
36 Date: Thu, 18 Oct 2012 09:29:26 +0300
\r
37 Message-ID: <m28vb41eex.fsf@guru.guru-group.fi>
\r
39 Content-Type: text/plain; charset=utf-8
\r
40 Content-Transfer-Encoding: quoted-printable
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Thu, 18 Oct 2012 06:29:24 -0000
\r
55 On Wed, Oct 17 2012, Jani Nikula <jani@nikula.org> wrote:
\r
57 > Nag nag nag: Commit message. ;)
\r
59 > The custom is to have a man page for each notmuch cli command.
\r
61 > Small nitpicks below.
\r
68 > On Wed, 17 Oct 2012, Ben Gamari <bgamari.foss@gmail.com> wrote:
\r
70 >> Makefile.local | 1 +
\r
71 >> notmuch-client.h | 3 +++
\r
72 >> notmuch-compact.c | 43 +++++++++++++++++++++++++++++++++++++++++++
\r
73 >> notmuch.c | 3 +++
\r
74 >> 4 files changed, 50 insertions(+)
\r
75 >> create mode 100644 notmuch-compact.c
\r
77 >> diff --git a/Makefile.local b/Makefile.local
\r
78 >> index 7f2d4f1..e050ba6 100644
\r
79 >> --- a/Makefile.local
\r
80 >> +++ b/Makefile.local
\r
81 >> @@ -258,6 +258,7 @@ notmuch_client_srcs =3D \
\r
82 >> gmime-filter-headers.c \
\r
85 >> + notmuch-compact.c \
\r
86 >> notmuch-config.c \
\r
87 >> notmuch-count.c \
\r
89 >> diff --git a/notmuch-client.h b/notmuch-client.h
\r
90 >> index ae9344b..a6c624b 100644
\r
91 >> --- a/notmuch-client.h
\r
92 >> +++ b/notmuch-client.h
\r
93 >> @@ -157,6 +157,9 @@ int
\r
94 >> notmuch_cat_command (void *ctx, int argc, char *argv[]);
\r
97 >> +notmuch_compact_command (void *ctx, int argc, char *argv[]);
\r
100 >> notmuch_config_command (void *ctx, int argc, char *argv[]);
\r
103 >> diff --git a/notmuch-compact.c b/notmuch-compact.c
\r
104 >> new file mode 100644
\r
105 >> index 0000000..6deb2ec
\r
107 >> +++ b/notmuch-compact.c
\r
108 >> @@ -0,0 +1,43 @@
\r
109 >> +/* notmuch - Not much of an email program, (just index and search)
\r
111 >> + * Copyright =C2=A9 2009 Carl Worth
\r
113 > It's your code, this year.
\r
115 ... but you can give copyright to Carl if you wish...
\r
118 >> + * This program is free software: you can redistribute it and/or modify
\r
119 >> + * it under the terms of the GNU General Public License as published by
\r
120 >> + * the Free Software Foundation, either version 3 of the License, or
\r
121 >> + * (at your option) any later version.
\r
123 >> + * This program is distributed in the hope that it will be useful,
\r
124 >> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
125 >> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
126 >> + * GNU General Public License for more details.
\r
128 >> + * You should have received a copy of the GNU General Public License
\r
129 >> + * along with this program. If not, see http://www.gnu.org/licenses/ .
\r
131 >> + * Author: Carl Worth <cworth@cworth.org>
\r
135 Yes, all the praise and blames ;)
\r