Re: Patch review/application process
[notmuch-archives.git] / 9e / 4e03bc2dae1b63970b220a33d4424d40e94407
1 Return-Path: <cworth@cworth.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 A569B4196F2\r
6         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 17:44:04 -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: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\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 TuS8JRBtSHSI; Wed, 21 Apr 2010 17:44:03 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id AB7DB431FC1;\r
19         Wed, 21 Apr 2010 17:44:03 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id 6234F568DE4; Wed, 21 Apr 2010 17:44:03 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: Michal Sojka <sojkam1@fel.cvut.cz>,\r
24  Sebastian Spaeth <Sebastian@SSpaeth.de>\r
25 Subject: Re: [PATCH 1/2] Add 'cat' subcommand\r
26 In-Reply-To: <4BCD7EA0.3080505@fel.cvut.cz>\r
27 References: <1271747793-17507-1-git-send-email-sojkam1@fel.cvut.cz>\r
28         <87pr1u7fnu.fsf@ut.hh.sledj.net> <87fx2qmtok.fsf@SSpaeth.de>\r
29         <4BCD7EA0.3080505@fel.cvut.cz>\r
30 Date: Wed, 21 Apr 2010 17:44:03 -0700\r
31 Message-ID: <871ve8wc30.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 Cc: notmuch@notmuchmail.org\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Thu, 22 Apr 2010 00:44:04 -0000\r
49 \r
50 --=-=-=\r
51 Content-Transfer-Encoding: quoted-printable\r
52 \r
53 On Tue, 20 Apr 2010 12:14:56 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrot=\r
54 e:\r
55 > On 20.4.2010 09:21, David Edmondson wrote:\r
56 >  > I'm puzzled why you chose to pass a filename as the argument to 'cat'\r
57 >  > rather than a message id (id:foo@bar.com)?\r
58 >=20\r
59 > The reason is that I want be able to distinguish between several=20\r
60 > messages with the same id.\r
61 \r
62 All other commands currently accept the generic search terms to specify\r
63 messages, (even a command like "notmuch reply" for which it would have\r
64 been natural to accept only a single message).\r
65 \r
66 So I'd prefer to have this command behave just like all others and use\r
67 the same naming.\r
68 \r
69 The question of how to unambiguously refer to a single file is\r
70 orthogonal, (and similarly applies to all commands, such as "notmuch\r
71 tag" etc.). I would recommend supporting a search syntax something like:\r
72 \r
73         filename:/complete/path/to/file\r
74 \r
75 for that use case. And this should work fine whether the filenames are\r
76 actual filenames or keys into some abstract file store of some sort.\r
77 \r
78 What do you think?\r
79 \r
80 =2DCarl\r
81 \r
82 --=-=-=\r
83 Content-Type: application/pgp-signature\r
84 \r
85 -----BEGIN PGP SIGNATURE-----\r
86 Version: GnuPG v1.4.10 (GNU/Linux)\r
87 \r
88 iD8DBQFLz5vT6JDdNq8qSWgRAlZrAKCk1hYWNcG6j4Wd0xDnOtgbyaCxxACghb7C\r
89 6BwEiuVp98L8uVIboJgi35o=\r
90 =DBLt\r
91 -----END PGP SIGNATURE-----\r
92 --=-=-=--\r