unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Quick thoughts on a notmuch daemon
@ 2009-12-03 22:27 Carl Worth
  2009-12-07 19:02 ` David Bremner
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Carl Worth @ 2009-12-03 22:27 UTC (permalink / raw)
  To: Notmuch list

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

Here's a little idea in case someone wants to write some code before I
get around to it.

Two current problems:

  1. You can't read mail (updating tags, etc.) at the same time new mail
     is being incorporated to the database. So if you have "notmuch new"
     as a cron job, then you will sometimes see "failed to obtain write
     lock" in emacs.

  2. Lots of people want to interact with a notmuch database on a remote
     server, for obvious reasons.

A simple solution would be a notmuch daemon that can accept commands on
stdin, (in basically the exact same form as the current notmuch
command-line interface). If the daemon does the job of periodically
incorporating new mail, then the only command necessary to solve (1)
above would be the tag command.

But with the other commands in place, (such as search and show), then
this could operate over ssh and all that would be necessary is one
additional command not in the current command line, (for "give me this
file"). And then the client could just maintain a local cache of mail
files as needed.

So that might be a nice project for somebody, and would likely be very
useful for many people.

-Carl

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

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

end of thread, other threads:[~2010-02-20  1:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 22:27 Quick thoughts on a notmuch daemon Carl Worth
2009-12-07 19:02 ` David Bremner
2009-12-07 22:55   ` Marten Veldthuis
2009-12-07 23:51     ` micah anderson
2009-12-08  7:01       ` Carl Worth
2010-01-08  2:56         ` martin f krafft
2010-01-08  8:06           ` Mike Hommey
2010-01-08  9:03             ` martin f krafft
2010-01-08  9:20               ` Mike Hommey
2010-01-08 10:26                 ` martin f krafft
2010-01-09  5:51                   ` Mike Hommey
2009-12-08 19:29 ` Michiel Buddingh'
2009-12-09 22:13 ` Ruben Pollan
2010-02-20  1:09 ` Ruben Pollan

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