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 DF68E4196F3
\r
6 for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 12:07:22 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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
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 INvYA0TJjAs7; Fri, 23 Apr 2010 12:07:22 -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 E2F9F431FC1;
\r
19 Fri, 23 Apr 2010 12:07:21 -0700 (PDT)
\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)
\r
21 id 94E94568DE9; Fri, 23 Apr 2010 12:07:21 -0700 (PDT)
\r
22 From: Carl Worth <cworth@cworth.org>
\r
23 To: Michal Sojka <sojkam1@fel.cvut.cz>
\r
24 Subject: Re: [PATCH 1/2] Add 'cat' subcommand
\r
25 In-Reply-To: <871ve8ng8x.fsf@steelpick.2x.cz>
\r
26 References: <1271747793-17507-1-git-send-email-sojkam1@fel.cvut.cz>
\r
27 <87pr1u7fnu.fsf@ut.hh.sledj.net> <87fx2qmtok.fsf@SSpaeth.de>
\r
28 <4BCD7EA0.3080505@fel.cvut.cz>
\r
29 <871ve8wc30.fsf@yoom.home.cworth.org>
\r
30 <871ve8ng8x.fsf@steelpick.2x.cz>
\r
31 Date: Fri, 23 Apr 2010 12:07:21 -0700
\r
32 Message-ID: <87k4ryf0nq.fsf@yoom.home.cworth.org>
\r
34 Content-Type: multipart/signed; boundary="=-=-=";
\r
35 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
36 Cc: notmuch@notmuchmail.org
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.13
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Fri, 23 Apr 2010 19:07:23 -0000
\r
53 On Thu, 22 Apr 2010 08:38:54 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
\r
54 > If a filename:dir/file term is present in the query, it will be
\r
55 > necessary to first query the database for directory:dir to find the
\r
56 > <directory_ID> and then put in the query
\r
57 > file-direntry:<directory_ID>:file. This conversion is already
\r
58 > implemented in _notmuch_database_filename_to_direntry(). Right?
\r
62 > _notmuch_database_filename_to_direntry() requires writable database as
\r
63 > it creates the directory document if it doesn't exist. This is probably
\r
64 > not what we want for filename: queries - if the user types the filename
\r
65 > incorrectly, the nonexisting directory document could be added to the
\r
66 > database. So I think that _notmuch_database_find_directory_id() should
\r
67 > be modified to not modify the database. The directory documents should
\r
68 > be created somewhere else in notmuch new path. Do you agree?
\r
70 Yes. Good job anticipating that failure mode before we ran into it.
\r
75 Content-Type: application/pgp-signature
\r
77 -----BEGIN PGP SIGNATURE-----
\r
78 Version: GnuPG v1.4.10 (GNU/Linux)
\r
80 iD8DBQFL0e/p6JDdNq8qSWgRAhyqAJ0bRTkCp1+YFpCjpRGJ88GcZk0KqgCgniSg
\r
81 h4hzwyDn+0PUHi5b0f+i0sg=
\r
83 -----END PGP SIGNATURE-----
\r