Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 4f / e3cbf821b0983c824679fdab9b7ce702f4de1b
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 BF5D8431FBC;\r
6         Thu, 26 Nov 2009 10:34:26 -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 a-RnxLDRNTLG; Thu, 26 Nov 2009 10:34:26 -0800 (PST)\r
11 Received: from cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id D8A3B431FAE;\r
13         Thu, 26 Nov 2009 10:34:25 -0800 (PST)\r
14 From: Carl Worth <cworth@cworth.org>\r
15 To: Jed Brown <jed@59A2.org>, Tassilo Horn <tassilo@member.fsf.org>,\r
16         Mikhail Gusarov <dottedmag@dottedmag.net>\r
17 In-Reply-To: <87vdh1472z.fsf@59A2.org>\r
18 References: <87ws1hldmu.fsf@thinkpad.tsdh.de>\r
19         <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag>\r
20         <876391l2si.fsf@thinkpad.tsdh.de> <87vdh1472z.fsf@59A2.org>\r
21 Date: Thu, 26 Nov 2009 10:34:12 -0800\r
22 Message-ID: <871vjlrv8b.fsf@yoom.home.cworth.org>\r
23 MIME-Version: 1.0\r
24 Content-Type: text/plain; charset=us-ascii\r
25 Cc: notmuch@notmuchmail.org\r
26 Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location\r
27  contains symlinks\r
28 X-BeenThere: notmuch@notmuchmail.org\r
29 X-Mailman-Version: 2.1.12\r
30 Precedence: list\r
31 List-Id: "Use and development of the notmuch mail system."\r
32         <notmuch.notmuchmail.org>\r
33 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
34         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
35 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
36 List-Post: <mailto:notmuch@notmuchmail.org>\r
37 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
38 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
39         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
40 X-List-Received-Date: Thu, 26 Nov 2009 18:34:26 -0000\r
41 \r
42 On Mon, 23 Nov 2009 16:03:00 +0100, Jed Brown <jed@59A2.org> wrote:\r
43 > > But still no luck.  Finally, I deleted the symlinks and created them\r
44 > > anew, and then it indexed the 12 new mails that arrived in the\r
45 > > meantime.\r
46 \r
47 OK. So that's definitely a bug we need to fix.\r
48 \r
49 > The real solution is for notmuch to check mtime of whatever the\r
50 > symlink's target.\r
51 \r
52 I'm a little confused here. Notmuch only uses stat, so it should be\r
53 looking at the target's mtime already. It actually takes special effort\r
54 (via lstat) to get at the mtime of the link itself.\r
55 \r
56 So why aren't things just working?\r
57 \r
58 -Carl\r