unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Why not tags inside messages?
@ 2012-04-07 16:46 David Belohrad
  2012-04-07 17:35 ` James Vasile
  2012-04-07 19:04 ` Adam Wolfe Gordon
  0 siblings, 2 replies; 4+ messages in thread
From: David Belohrad @ 2012-04-07 16:46 UTC (permalink / raw)
  To: notmuch

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

Dear all,

I'd love to use notmuch with offline imap  to work rather on local copy of messages, than using remote notmuch, which is slightly slower due to bandwidth limitation of my vdsl line. There is however fundamental problem of syncing flags between two instances of notmuch. So my question is, whether it would be possible, when tagging message, to store the tag as well in the message itself. Might this help to sync across multiple instances?

Another thing is, that I'd love to have native android app working over remote notmuch to work as my email agent. Is there anything like this? I guess not...

Thanks

D.




Odesláno z tabletu Samsung

[-- Attachment #2: Type: text/html, Size: 911 bytes --]

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

* Re: Why not tags inside messages?
  2012-04-07 16:46 Why not tags inside messages? David Belohrad
@ 2012-04-07 17:35 ` James Vasile
  2012-04-07 19:04 ` Adam Wolfe Gordon
  1 sibling, 0 replies; 4+ messages in thread
From: James Vasile @ 2012-04-07 17:35 UTC (permalink / raw)
  To: David Belohrad, notmuch

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

On Sat, 07 Apr 2012 18:46:03 +0200, David Belohrad <david@belohrad.ch> wrote:
> Dear all,
> 
> I'd love to use notmuch with offline imap  to work rather on local
> copy of messages, than using remote notmuch, which is slightly slower
> due to bandwidth limitation of my vdsl line. There is however
> fundamental problem of syncing flags between two instances of
> notmuch. So my question is, whether it would be possible, when tagging
> message, to store the tag as well in the message itself. Might this
> help to sync across multiple instances?

From my POV, there are two problems here.  

First is that storing tags in multiple places (one in db and once in
each message copy) leads to the question of which set of tags is
authoritative.  Syncing those tags is additional complexity.  And as a
mail moves to another system with a different notmuch db, what happens
to the tags?

Second is that your tags might then be public because
forwarding/replying to a message will, depending on your mail client,
also get included.

> 
> Another thing is, that I'd love to have native android app working
> over remote notmuch to work as my email agent. Is there anything like
> this? I guess not...

Not that I'm aware of, but if anybody is working on this, I'd love to
know and see if I can help.

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

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

* Re: Why not tags inside messages?
  2012-04-07 16:46 Why not tags inside messages? David Belohrad
  2012-04-07 17:35 ` James Vasile
@ 2012-04-07 19:04 ` Adam Wolfe Gordon
  2012-04-08 21:33   ` Sebastian Spaeth
  1 sibling, 1 reply; 4+ messages in thread
From: Adam Wolfe Gordon @ 2012-04-07 19:04 UTC (permalink / raw)
  To: David Belohrad; +Cc: notmuch

Hi David,

On Sat, Apr 7, 2012 at 10:46, David Belohrad <david@belohrad.ch> wrote:
> I'd love to use notmuch with offline imap  to work rather on local copy of
> messages, than using remote notmuch, which is slightly slower due to
> bandwidth limitation of my vdsl line. There is however fundamental problem
> of syncing flags between two instances of notmuch. So my question is,
> whether it would be possible, when tagging message, to store the tag as well
> in the message itself. Might this help to sync across multiple instances?

One solution that various people have used (I've used it for backup)
is to make the .notmuch directory in the maildir into a git
repository, and sync it to various machines using git push/git pull.
You can do the push/pull manually or in a notmuch hook to keep things
synced. I'm not sure if this is any better for your purposes than
using remote notmuch, but it would keep things local most of the time.

> Another thing is, that I'd love to have native android app working over
> remote notmuch to work as my email agent. Is there anything like this? I
> guess not...

I started working on one once, using python to write a little notmuch
server that produced JSON for various things, and an Android app that
contacted the server and displayed things nicely. It only got as far
as being able to list tags and count messages. It's probably something
I'll pick up again at some point, and of course I'd be happy to share
code if people are willing to help.

I know another Android client has been mentioned on IRC, but I'm not
sure if it got any further than mine.

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

* Re: Why not tags inside messages?
  2012-04-07 19:04 ` Adam Wolfe Gordon
@ 2012-04-08 21:33   ` Sebastian Spaeth
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Spaeth @ 2012-04-08 21:33 UTC (permalink / raw)
  To: Adam Wolfe Gordon, David Belohrad; +Cc: notmuch


>On Sat, Apr 7, 2012 at 10:46, David Belohrad <david@belohrad.ch> wrote:
>> I'd love to use notmuch with offline imap  to work rather on local
>copy of
>> messages, than using remote notmuch, which is slightly slower due to
>> bandwidth limitation of my vdsl line. There is however fundamental
>problem
>> of syncing flags between two instances of notmuch. So my question is,
>> whether it would be possible, when tagging message, to store the tag
>as well
>> in the message itself. Might this help to sync across multiple
>instances?

My long-term dream is still to enable offlinemap to sync all imap flags and sync notmuch flags via offlineimap/imap server. But don` t hold your breath :-) 

Sebastian

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

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

end of thread, other threads:[~2012-04-08 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-07 16:46 Why not tags inside messages? David Belohrad
2012-04-07 17:35 ` James Vasile
2012-04-07 19:04 ` Adam Wolfe Gordon
2012-04-08 21:33   ` Sebastian Spaeth

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