unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Keith Packard <keithp@keithp.com>
To: Carl Worth <cworth@cworth.org>,
	Mikhail Gusarov <dottedmag@dottedmag.net>,
	notmuch@notmuchmail.org
Subject: Re: [PATCH] Handle rename of message file
Date: Wed, 18 Nov 2009 18:06:09 -0800	[thread overview]
Message-ID: <yun3a4b46b2.fsf@aiko.keithp.com> (raw)
In-Reply-To: <87bpiz724g.fsf@yoom.home.cworth.org>

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

On Thu, 19 Nov 2009 02:08:15 +0100, Carl Worth <cworth@cworth.org> 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





[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2009-11-19  2:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17 20:51 [PATCH] Handle rename of message file Mikhail Gusarov
2009-11-19  1:08 ` Carl Worth
2009-11-19  1:14   ` Mikhail Gusarov
2009-11-19  2:06   ` Keith Packard [this message]
2009-11-19  2:11     ` Mikhail Gusarov
2009-11-19  3:12       ` Keith Packard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yun3a4b46b2.fsf@aiko.keithp.com \
    --to=keithp@keithp.com \
    --cc=cworth@cworth.org \
    --cc=dottedmag@dottedmag.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).