[PATCH 7/9] CLI: add properties to dump output
[notmuch-archives.git] / 1a / 38ba023606b483d39a66388e56ae6f945af442
1 Return-Path: <keithp@keithp.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 5656D431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 16:28:35 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id Dam69vzNZiE1 for <notmuch@notmuchmail.org>;\r
11         Sat, 21 Nov 2009 16:28:34 -0800 (PST)\r
12 Received: from keithp.com (home.keithp.com [63.227.221.253])\r
13         by olra.theworths.org (Postfix) with ESMTP id AA991431FAE\r
14         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 16:28:34 -0800 (PST)\r
15 Received: from localhost (localhost [127.0.0.1])\r
16         by keithp.com (Postfix) with ESMTP id 18FC076012A;\r
17         Sat, 21 Nov 2009 16:28:34 -0800 (PST)\r
18 X-Virus-Scanned: Debian amavisd-new at keithp.com\r
19 Received: from keithp.com ([127.0.0.1])\r
20         by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
21         with LMTP id tw1iDvWYNGRC; Sat, 21 Nov 2009 16:28:31 -0800 (PST)\r
22 Received: by keithp.com (Postfix, from userid 1033)\r
23         id 60F3176012B; Sat, 21 Nov 2009 16:28:31 -0800 (PST)\r
24 Received: from keithp.com (localhost [127.0.0.1])\r
25         by keithp.com (Postfix) with ESMTP id 5330D76012A;\r
26         Sat, 21 Nov 2009 16:28:31 -0800 (PST)\r
27 From: Keith Packard <keithp@keithp.com>\r
28 To: Stefan Schmidt <stefan@datenfreihafen.org>, notmuch@notmuchmail.org\r
29 In-Reply-To: <1258848661-4660-1-git-send-email-stefan@datenfreihafen.org>\r
30 References: <yes> <1258848661-4660-1-git-send-email-stefan@datenfreihafen.org>\r
31 Date: Sat, 21 Nov 2009 16:28:30 -0800\r
32 Message-ID: <yunvdh3pfm9.fsf@aiko.keithp.com>\r
33 MIME-Version: 1.0\r
34 Content-Type: multipart/signed; boundary="=-=-=";\r
35         micalg=pgp-sha1; protocol="application/pgp-signature"\r
36 Subject: Re: [notmuch] [PATCH 1/2] lib/message: Add function to get maildir\r
37  flags.\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.12\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sun, 22 Nov 2009 00:28:35 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 On Sun, 22 Nov 2009 01:11:00 +0100, Stefan Schmidt <stefan@datenfreihafen.o=\r
56 rg> wrote:\r
57 \r
58 > +const char *\r
59 > +notmuch_message_get_flags (notmuch_message_t *message)\r
60 \r
61 This function should interpret the flags that it finds and return a\r
62 suitable set of notmuch tags. I'd suggest that 'unread' messages get\r
63 both 'unread' and 'inbox' tags, as Maildir doesn't distinguish between\r
64 'don't show this to be by default again please' and 'I've read this\r
65 message'. It seems best to hide the maildir-specific details inside the\r
66 library instead of exposing them.\r
67 \r
68 Also, we have only the 'unread' tag; we don't have a 'read' tag, which\r
69 would simply be the inverse of 'unread'.\r
70 \r
71 =2D-=20\r
72 keith.packard@intel.com\r
73 \r
74 --=-=-=\r
75 Content-Type: application/pgp-signature\r
76 \r
77 -----BEGIN PGP SIGNATURE-----\r
78 Version: GnuPG v1.4.10 (GNU/Linux)\r
79 \r
80 iD8DBQFLCIWuQp8BWwlsTdMRAvcTAKDXHYc6MTuuZFMzHvZFs1omBbr9CACdEY/b\r
81 jqyT/QmmgoA/GtIcs/DfLMY=\r
82 =LVlh\r
83 -----END PGP SIGNATURE-----\r
84 --=-=-=--\r