Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 53AA5431FBF for ; Wed, 18 Nov 2009 18:06:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iVJKlNhevjVV for ; Wed, 18 Nov 2009 18:06:13 -0800 (PST) Received: from keithp.com (home.keithp.com [63.227.221.253]) by olra.theworths.org (Postfix) with ESMTP id 85302431FAE for ; Wed, 18 Nov 2009 18:06:13 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id DDAD7B9404B; Wed, 18 Nov 2009 18:06:12 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RLGF+ev2-qwi; Wed, 18 Nov 2009 18:06:10 -0800 (PST) Received: by keithp.com (Postfix, from userid 1033) id 20C02B9402F; Wed, 18 Nov 2009 18:06:10 -0800 (PST) Received: from keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 169B1B88003; Wed, 18 Nov 2009 18:06:10 -0800 (PST) From: Keith Packard To: Carl Worth , Mikhail Gusarov , notmuch@notmuchmail.org In-Reply-To: <87bpiz724g.fsf@yoom.home.cworth.org> References: <1258491078-29658-1-git-send-email-dottedmag@dottedmag.net> <87bpiz724g.fsf@yoom.home.cworth.org> Date: Wed, 18 Nov 2009 18:06:09 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [notmuch] [PATCH] Handle rename of message file X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 02:06:14 -0000 --=-=-= On Thu, 19 Nov 2009 02:08:15 +0100, Carl Worth wrote: > I'd love to hear more from you on any experiments/ideas you have in this > area. It would be a really nice feature to have, (particularly for > people who are experimenting with notmuch while still using some other > primary email program that keeps fiddling with the filenames). Checking for new files is easy; notmuch already does that, and so handling renames doesn't seem all that difficult. The hard part to me is detecting deleted messages; about the only thing I can imagine being at all efficient is to use inotify in a daemon. Starting that daemon up would entail scanning the database for all messages in a particular directory and then looking for those files to see if they were still around. Ick. -- keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLBKgRQp8BWwlsTdMRAtITAJ4viqi56Nt7vAP+uz0y1J4gI4eelgCfXdtO BfxwuhfJp5A07BzFFiozpds= =ZFBX -----END PGP SIGNATURE----- --=-=-=--