unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: "Kristoffer Ström" <kristoffer@rymdkoloni.se>, notmuch@notmuchmail.org
Subject: Re: Maildir-flags synchronization now on master branch
Date: Thu, 11 Nov 2010 14:38:05 -0800	[thread overview]
Message-ID: <8739r7o59u.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <878w10q7as.fsf@rymdkoloni.se>

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

On Thu, 11 Nov 2010 15:11:23 +0100, Kristoffer Ström <kristoffer@rymdkoloni.se> wrote:
> >   1. Don't do maildir-flag things in non-maildir directories
...
> I'm just pinging that the small feedreader sluk i'm writing/maintaining relies on filenames not changing. 
> So if anyone's using it be careful, and #1 would be a tad more important then.

Hi Kristoffer,

I really like the idea of sluk, and I don't want to make it painful to
use. So that's for pointing out this problem.

I've now pushed a change that will avoid doing any renaming except in
directories named either "new" or "cur".

That's not the strongest heuristic for detecting maildir, (we could
actually look and see if all three of "cur", "new", and "tmp"
directories exist, for example). But it's at least a very cheap
heuristic. So hopefully this will help for your use case.

And obviously, one can still configure the maildir synchronization off
(globally) if desired.

-Carl

-- 
carl.d.worth@intel.com

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

  reply	other threads:[~2010-11-11 22:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 13:04 Maildir-flags synchronization now on master branch Carl Worth
2010-11-11 14:11 ` Kristoffer Ström
2010-11-11 22:38   ` Carl Worth [this message]
2010-11-12  0:43 ` Carl Worth
2010-11-12  1:43   ` Dirk Hohndel
2010-11-18 15:37 ` Ruben Pollan
2010-11-19 15:41   ` [PATCH] Including 'unread' tag to mails without maildir flags meskio
2010-11-20 23:26     ` Michal Sojka
2010-11-20 23:27       ` [PATCH 1/2] test: Add test for messages without maildir info in new Michal Sojka
2010-11-20 23:27       ` [PATCH 2/2] Include 'unread' tag only to mails " Michal Sojka
2010-11-22 10:43         ` Ruben Pollan
2010-11-20 23:54       ` [PATCH] Additional maildir-sync test Michal Sojka
2010-11-22 10:41         ` Ruben

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=8739r7o59u.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=kristoffer@rymdkoloni.se \
    --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).