unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/4] Maildir synchronization v2
@ 2010-10-13 12:13 Michal Sojka
  2010-10-13 12:13 ` [PATCH 1/4] lib: Return added message even if it already was in the database Michal Sojka
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Michal Sojka @ 2010-10-13 12:13 UTC (permalink / raw)
  To: notmuch

Hi,

this is an updated version of patches sent in
id:1273580061-22580-1-git-send-email-sojkam1@fel.cvut.cz. Only the last
patch (tests) was actually updated to work with new test suite. These
patches has already been tested by several people and I think they are
ready to be merged. They can be pulled by:

git pull git://rtime.felk.cvut.cz/notmuch maildir-sync-v2

These patches implement synchronization between maildir flags and
notmuch tags. The synchronization can be configured to not happen at
all (default), to set/unset tags when importing new (or new and
renamed) messages and to happen in both directions - set/unset tags
during importing and change maildir flags during tagging.

THERE IS CURRENTLY ONE KNOWN ISSUE: Viewing/storing of attachments of
unread messages doesn't work. The reason is that when you view the
message its unread tag is removed which causes the file to be renamed,
but Emacs still uses the original name to access the attachment. You can
workaround this by closing the message and opening it again. This issue
will be fixed after we (I) implement "notmuch cat" command. With this
command, emacs would not access the messages by the file name, but by
running notmuch cat id:<message-id> which will always give the correct
content.

Michal Sojka (4):
  lib: Return added message even if it already was in the database
  Maildir synchronization
  Make maildir synchronization configurable
  Tests for maildir synchronization

 lib/database-private.h |    2 +-
 lib/database.cc        |   19 ++++-
 lib/message.cc         |  226 ++++++++++++++++++++++++++++++++++++++++++++++++
 lib/notmuch-private.h  |    4 +
 lib/notmuch.h          |   29 ++++++-
 notmuch-client.h       |    7 ++
 notmuch-config.c       |   48 ++++++++++
 notmuch-new.c          |    7 ++-
 notmuch-restore.c      |    2 +
 notmuch-setup.c        |   17 ++++
 notmuch-tag.c          |    2 +
 test/maildir-sync      |  216 +++++++++++++++++++++++++++++++++++++++++++++
 test/notmuch-test      |    2 +-
 test/test-lib.sh       |   14 +++-
 14 files changed, 588 insertions(+), 7 deletions(-)
 create mode 100755 test/maildir-sync

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-12-09 15:11 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 12:13 [PATCH 0/4] Maildir synchronization v2 Michal Sojka
2010-10-13 12:13 ` [PATCH 1/4] lib: Return added message even if it already was in the database Michal Sojka
2010-10-13 12:13 ` [PATCH 2/4] Maildir synchronization Michal Sojka
2010-10-13 13:56   ` Sebastian Spaeth
2010-10-22  5:03     ` Michal Sojka
2010-10-13 12:13 ` [PATCH 3/4] Make maildir synchronization configurable Michal Sojka
2010-10-13 12:13 ` [PATCH 4/4] Tests for maildir synchronization Michal Sojka
2010-10-13 13:31 ` [PATCH 0/4] Maildir synchronization v2 Mike Kelly
2010-10-13 14:24   ` Mike Kelly
2010-10-13 14:35     ` Mike Kelly
2010-10-13 20:59       ` Michal Sojka
2010-10-13 22:03         ` Mike Kelly
2010-12-09 15:11       ` Mike Kelly
2010-10-13 14:50 ` Servilio Afre Puentes
2010-10-13 17:26   ` David Bremner
2010-10-13 20:34   ` Michal Sojka
2010-10-14  2:26     ` Dirk Hohndel
2010-10-14  7:11       ` Michal Sojka
2010-10-18 14:12 ` Mike Kelly
2010-10-22  4:43   ` Michal Sojka

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).