WARNING: database upgrade coming

2014-03-18 Thread Stewart Smith
ition where free space on filesystem is less than size of database... things could get interesting, right? At the very least it's probably not worth even attempting the upgrade unless there's a --force or something. -- Stewart Smith -- next part -- A non-text a

Re: WARNING: database upgrade coming

2014-03-18 Thread Stewart Smith
ition where free space on filesystem is less than size of database... things could get interesting, right? At the very least it's probably not worth even attempting the upgrade unless there's a --force or something. -- Stewart Smith pgp3hCMHv

Alternative (raw) message store (i.e. instead of maildir)

2012-08-15 Thread Stewart Smith
Vladimir Marek writes: > Well, if your granularity will be one archive per year of mail, it > should not be that bad ... Except for someone like Keith, who has all his email since sometime in the 80s or something insane like that :) -- Stewart Smith -- next part --

Re: Alternative (raw) message store (i.e. instead of maildir)

2012-08-14 Thread Stewart Smith
Vladimir Marek writes: > Well, if your granularity will be one archive per year of mail, it > should not be that bad ... Except for someone like Keith, who has all his email since sometime in the 80s or something insane like that :) -- Stewart Smith pgpqbDWUxd3Kw.pgp Descriptio

Alternative (raw) message store (i.e. instead of maildir)

2012-08-14 Thread Stewart Smith
ourse, the list of mounted file systems could get insane depending on granularity I guess... -- Stewart Smith -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notm

Re: Alternative (raw) message store (i.e. instead of maildir)

2012-08-13 Thread Stewart Smith
ourse, the list of mounted file systems could get insane depending on granularity I guess... -- Stewart Smith pgpZcxW0PhtqJ.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[RFC PATCH 00/13] Modular message store code

2012-02-16 Thread Stewart Smith
s everything delivers into Maildir without a problem) and then on a (say) monthly basis, packing all mail into an archive file and have notmuch be able to still read it. you know what... this patch set has re-ignited my interest in making that work. -- Stewart Smith

Re: [RFC PATCH 00/13] Modular message store code

2012-02-15 Thread Stewart Smith
s everything delivers into Maildir without a problem) and then on a (say) monthly basis, packing all mail into an archive file and have notmuch be able to still read it. you know what... this patch set has re-ignited my interest in making that work. -- Stewart Smith

Preventing the user shooting themself in the foot

2011-07-01 Thread Stewart Smith
s highlights to me that I never even looked at the > message. IMHO this is one of the awesome things about notmuch (and I've actively used it to go back on conversations I previously ignored) -- Stewart Smith

Re: Preventing the user shooting themself in the foot

2011-07-01 Thread Stewart Smith
s highlights to me that I never even looked at the > message. IMHO this is one of the awesome things about notmuch (and I've actively used it to go back on conversations I previously ignored) -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[BUG] [PATCH] Fix appending of Received headers

2011-06-11 Thread Stewart Smith
On Fri, 10 Jun 2011 17:22:50 -0700, Carl Worth wrote: Non-text part: multipart/signed > On Tue, 24 May 2011 13:33:25 -0700, Carl Worth wrote: > > On Tue, 17 May 2011 12:10:32 +1000, Stewart Smith > flamingspork.com> wrote: > > > We're not properly concatenating the

Re: [BUG] [PATCH] Fix appending of Received headers

2011-06-10 Thread Stewart Smith
On Fri, 10 Jun 2011 17:22:50 -0700, Carl Worth wrote: Non-text part: multipart/signed > On Tue, 24 May 2011 13:33:25 -0700, Carl Worth wrote: > > On Tue, 17 May 2011 12:10:32 +1000, Stewart Smith > > wrote: > > > We're not properly concatenating the Rece

Re: Multiple sender identities (composing)

2011-05-30 Thread Stewart Smith
ut hopefully you > can work that out. I hope so too... it could just be how I was trying to use it or user ignorance or something like that. -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Multiple sender identities (composing)

2011-05-29 Thread Stewart Smith
ut hopefully you > can work that out. I hope so too... it could just be how I was trying to use it or user ignorance or something like that. -- Stewart Smith

[notmuch] Mail in git

2011-05-21 Thread Stewart Smith
On Sat, 21 May 2011 09:05:54 +0200, martin f krafft wrote: > Has anyone worked on this since? No, haven't had the cycles... and SSD helped a bit to delay urgency. -- Stewart Smith

Re: [notmuch] Mail in git

2011-05-21 Thread Stewart Smith
On Sat, 21 May 2011 09:05:54 +0200, martin f krafft wrote: > Has anyone worked on this since? No, haven't had the cycles... and SSD helped a bit to delay urgency. -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.

[BUG] [PATCH] Fix appending of Received headers

2011-05-17 Thread Stewart Smith
tance of a header */ - if (is_received) { + if (strcasecmp(header, "received") == 0) { if (header_sofar == NULL) { /* first Received: header we encountered; just add it */ g_hash_table_insert (message->headers, header, decoded_value); -- Stewart Smith

Multiple sender identities (composing)

2011-05-16 Thread Stewart Smith
On Mon, 16 May 2011 11:52:43 +0200, Thomas Jost wrote: > On Mon, 16 May 2011 19:29:07 +1000, Stewart Smith flamingspork.com> wrote: > (people who don't use or like ido may want to replace > ido-completing-read with completing-read) I couldn't get ido to work at all (U

Multiple sender identities (composing)

2011-05-16 Thread Stewart Smith
ing things the wrong way. (setq stewart/mua-identities (list "Stewart Smith " "Stewart Smith ")) (defun stewart/notmuch-mua-mail (&optional from) (interactive) (setq from (completing-read "Sender identity: " stewart/mua-identities nil t nil

[BUG] [PATCH] Fix appending of Received headers

2011-05-16 Thread Stewart Smith
tance of a header */ - if (is_received) { + if (strcasecmp(header, "received") == 0) { if (header_sofar == NULL) { /* first Received: header we encountered; just add it */ g_hash_table_insert (message->headers, header, decoded_val

Re: Multiple sender identities (composing)

2011-05-16 Thread Stewart Smith
On Mon, 16 May 2011 11:52:43 +0200, Thomas Jost wrote: > On Mon, 16 May 2011 19:29:07 +1000, Stewart Smith > wrote: > (people who don't use or like ido may want to replace > ido-completing-read with completing-read) I couldn't get ido to work at all (Ubuntu Natty). It wou

Multiple sender identities (composing)

2011-05-16 Thread Stewart Smith
ing things the wrong way. (setq stewart/mua-identities (list "Stewart Smith " "Stewart Smith ")) (defun stewart/notmuch-mua-mail (&optional from) (interactive) (setq from (completing-read "Sender identity: " stewart/mua-identities nil t nil

storing From and Subject in xapian

2011-05-11 Thread Stewart Smith
if Subject/From not in db for message add Subject/From for this message to DB. ? That'd be awesome from my pov (having just rebuilt my database in chert format and that took FOREVER). -- Stewart Smith

Re: storing From and Subject in xapian

2011-05-10 Thread Stewart Smith
if Subject/From not in db for message add Subject/From for this message to DB. ? That'd be awesome from my pov (having just rebuilt my database in chert format and that took FOREVER). -- Stewart Smith ___ notmuch mailing list notmuch@notm

notmuch's idea of concurrency / failing an invocation

2011-02-02 Thread Stewart Smith
On Sat, 29 Jan 2011 19:14:27 -0500, Daniel Kahn Gillmor wrote: > On 01/28/2011 08:05 PM, Stewart Smith wrote: > > I'm about at the point where I'm going to take my git mail store > > experiments and get them really to work (and everyone will have to use > > 'no

Re: notmuch's idea of concurrency / failing an invocation

2011-02-01 Thread Stewart Smith
On Sat, 29 Jan 2011 19:14:27 -0500, Daniel Kahn Gillmor wrote: > On 01/28/2011 08:05 PM, Stewart Smith wrote: > > I'm about at the point where I'm going to take my git mail store > > experiments and get them really to work (and everyone will have to use > > 

Re: notmuch's idea of concurrency / failing an invocation

2011-01-29 Thread Stewart Smith
to work (and everyone will have to use 'notmuch cat' or the like to access the messages) which should provide both great storage efficiency, much faster backups of your Maildir as well as having way fewer paths to traverse checking for new mail. -- Stewart Smith

notmuch's idea of concurrency / failing an invocation

2011-01-29 Thread Stewart Smith
to work (and everyone will have to use 'notmuch cat' or the like to access the messages) which should provide both great storage efficiency, much faster backups of your Maildir as well as having way fewer paths to traverse checking for new mail. -- Stewart Smith

[PATCH] Fix linker error from insufficient LDFLAGS

2010-05-06 Thread Stewart Smith
uch-shared don't include CONFIGURE_LDFLAGS. This caused linking > > to fail with the following, > > What system is this on? I got this. Ubuntu 9.10 with gold as linker: $ ld --version GNU gold (GNU Binutils for Ubuntu 2.20) 1.9 which could be what's causing it? anyway,

Re: [PATCH] Fix linker error from insufficient LDFLAGS

2010-05-05 Thread Stewart Smith
-shared don't include CONFIGURE_LDFLAGS. This caused linking > > to fail with the following, > > What system is this on? I got this. Ubuntu 9.10 with gold as linker: $ ld --version GNU gold (GNU Binutils for Ubuntu 2.20) 1.9 which could be what's causing it? anyway, this pat

Re: [PATCH 1/4] Mailstore abstraction interface

2010-04-13 Thread Stewart Smith
alternative to readdir is fairly simple... but the emacs UI needs to read from it too :) -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH 1/4] Mailstore abstraction interface

2010-04-13 Thread Stewart Smith
alternative to readdir is fairly simple... but the emacs UI needs to read from it too :) -- Stewart Smith

Re: please eat my data!

2010-04-12 Thread Stewart Smith
nd pretty sure ext4) fsync is the same as sync(). So performance depends on how much dirty data you have in your cache. libeatmydata also gets rid of msync(), O_SYNC etc as well. -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.org http://notm

please eat my data!

2010-04-12 Thread Stewart Smith
nd pretty sure ext4) fsync is the same as sync(). So performance depends on how much dirty data you have in your cache. libeatmydata also gets rid of msync(), O_SYNC etc as well. -- Stewart Smith

[notmuch] Mailstore abstraction & maildir synchronization

2010-03-24 Thread Stewart Smith
, but Emacs still uses > the original name to access the attachment. What about migrating from a maildir that's turned into notmuch back to this maildir backend? What will be authoritive: maildir or notmuch database? -- Stewart Smith

Re: [notmuch] Mailstore abstraction & maildir synchronization

2010-03-23 Thread Stewart Smith
, but Emacs still uses > the original name to access the attachment. What about migrating from a maildir that's turned into notmuch back to this maildir backend? What will be authoritive: maildir or notmuch database? -- Stewart Smith ___ notmuch mai

[notmuch] [PATCH] A simple approach to maildir flags

2010-03-01 Thread Stewart Smith
) as either: 1) I'm importing an old Maildir, in which case if it's read it's probably been dealt with 2) i've used another mail client, same as above. -- Stewart Smith

Re: [notmuch] [PATCH] A simple approach to maildir flags

2010-02-28 Thread Stewart Smith
) as either: 1) I'm importing an old Maildir, in which case if it's read it's probably been dealt with 2) i've used another mail client, same as above. -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[notmuch] [PATCH] Added mail directory filename pattern support.

2010-02-23 Thread Stewart Smith
round? e.g. if anybody has ever pointed Evolution at a Maildir, you get a bunch of Maildir-name.ev-summary and .ev-summary-meta and .ibex.index and whatever. A default list of ignored patterns would be pretty easy to come up with. -- Stewart Smith

Re: [notmuch] [PATCH] Added mail directory filename pattern support.

2010-02-22 Thread Stewart Smith
round? e.g. if anybody has ever pointed Evolution at a Maildir, you get a bunch of Maildir-name.ev-summary and .ev-summary-meta and .ibex.index and whatever. A default list of ignored patterns would be pretty easy to come up with. -- Stewart Smith ___ notm

[notmuch] Mail in git

2010-02-18 Thread Stewart Smith
bout a quarter to a fifth of the size of it in Maildir... so a bit of extra usage per message isn't as dramatic as it may sound. > Is it possible to find out all trees that reference a given object > with Git in constant or sub-linear time? I don't think so but I'm not sure. -- Stewart Smith

[notmuch] Mail in git

2010-02-17 Thread Stewart Smith
On Wed, 17 Feb 2010 11:21:51 +1100, Stewart Smith wrote: > Using fast-import is interesting. Does it update the working tree? The > big thing I wanted to avoid was creating a working tree (another million > inodes being created is not ever what I need) > > Also interesting is

Re: [notmuch] Mail in git

2010-02-17 Thread Stewart Smith
bout a quarter to a fifth of the size of it in Maildir... so a bit of extra usage per message isn't as dramatic as it may sound. > Is it possible to find out all trees that reference a given object > with Git in constant or sub-linear time? I don&

[notmuch] Mail in git

2010-02-17 Thread Stewart Smith
ating a working tree (another million inodes being created is not ever what I need) Also interesting is the mention of creating packs on the fly... this could save the time in first writing the object and then packing it (as my script does). I'm going to play with this -- Stewart Smith

Re: [notmuch] Mail in git

2010-02-17 Thread Stewart Smith
On Wed, 17 Feb 2010 11:21:51 +1100, Stewart Smith wrote: > Using fast-import is interesting. Does it update the working tree? The > big thing I wanted to avoid was creating a working tree (another million > inodes being created is not ever what I need) > > Also interesting is

Re: [notmuch] Mail in git

2010-02-16 Thread Stewart Smith
ating a working tree (another million inodes being created is not ever what I need) Also interesting is the mention of creating packs on the fly... this could save the time in first writing the object and then packing it (as my script does). I'm going to play with this -- Stewart Smith _

[notmuch] Notmuch performance problems on OSX

2010-02-16 Thread Stewart Smith
nce > per table for every (explicit or implicit) flush on a database. At least if you OS and file system don't hate you (e.g. XFS on Linux), then fsync() really does flush the drive cache. Also keep in mind that the OSX file system (HFS+) was great for 1985. It's essentially single threaded :/ -- Stewart Smith

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread Stewart Smith
On Tue, Feb 16, 2010 at 03:12:50PM +1300, martin f krafft wrote: > also sprach Stewart Smith [2010.02.16.1458 > +1300]: > > + case 'R': /* replied */ > > + notmuch_message_add_tag (message, "answered"); > > + break; > &

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread Stewart Smith
/* success */ case NOTMUCH_STATUS_SUCCESS: state->added_messages++; - tag_inbox_and_unread (message); + if (state->tag_maildir) { + derive_tags_from_maildir_flags (message, + entry->d_name); + } else { + tag_inbox_and_unread (message); + } break; /* Non-fatal issues (go on to next file) */ case NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: -- Stewart Smith

Re: [notmuch] Notmuch performance problems on OSX

2010-02-15 Thread Stewart Smith
nce > per table for every (explicit or implicit) flush on a database. At least if you OS and file system don't hate you (e.g. XFS on Linux), then fsync() really does flush the drive cache. Also keep in mind that the OSX file system (HFS+) was great for 1985. It's e

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-15 Thread Stewart Smith
((strcmp (entry->d_name, "tmp") == 0) || > + (strcmp (entry->d_name, "new") == 0) || > + (strcmp (entry->d_name, "cur") == 0))) { should be (entry->d_type == DT_DIR || entry->d_type == DT_UNKNOWN) && as not everywhere is going to give you d_type (e.g. my machine). (took me a while to find/figure that out :) -- Stewart Smith

Re: [notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-15 Thread Stewart Smith
On Tue, Feb 16, 2010 at 03:12:50PM +1300, martin f krafft wrote: > also sprach Stewart Smith [2010.02.16.1458 +1300]: > > + case 'R': /* replied */ > > + notmuch_message_add_tag (message, "answered"); > > + break; > > 

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-15 Thread Stewart Smith
/* success */ case NOTMUCH_STATUS_SUCCESS: state->added_messages++; - tag_inbox_and_unread (message); + if (state->tag_maildir) { + derive_tags_from_maildir_flags (message, +

[notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-02-15 Thread Stewart Smith
to work out though. -- Stewart Smith

[notmuch] Mail in git

2010-02-15 Thread Stewart Smith
l out of the Maildir and stores it in the git repo. Next step? Make notmuch be able to read mail out of it and add it to an index (oh, and some kind of verification and error checking about creating the git repo). -- Stewart Smith

Re: [notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-15 Thread Stewart Smith
((strcmp (entry->d_name, "tmp") == 0) || > + (strcmp (entry->d_name, "new") == 0) || > + (strcmp (entry->d_name, "cur") == 0))) { should be (entry->d_type == DT_DIR || entry->d_type == DT_UN

Re: [notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-02-14 Thread Stewart Smith
to work out though. -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[notmuch] Mail in git

2010-02-14 Thread Stewart Smith
l out of the Maildir and stores it in the git repo. Next step? Make notmuch be able to read mail out of it and add it to an index (oh, and some kind of verification and error checking about creating the git repo). -- Stewart Smith ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[notmuch] Mac OS X/Darwin compatibility issues

2009-11-19 Thread Stewart Smith
On Wed, Nov 18, 2009 at 04:24:42PM -0800, Alexander Botero-Lowry wrote: > On Thu, 19 Nov 2009 10:45:28 +1100, Stewart Smith flamingspork.com> wrote: > > On Wed, Nov 18, 2009 at 11:27:20PM +0100, Carl Worth wrote: > > > Yes. I knew I was "cheating" by usin

[notmuch] Mac OS X/Darwin compatibility issues

2009-11-19 Thread Stewart Smith
are to take a whack at these? http://www.gnu.org/software/gnulib/ could be a partial answer. We've taken to using it where needed for Drizzle and seems to work fine. -- Stewart Smith

[notmuch] [PATCH] count_files: sort directory in inode order before statting

2009-11-18 Thread Stewart Smith
--- notmuch-new.c | 30 ++ 1 files changed, 10 insertions(+), 20 deletions(-) diff --git a/notmuch-new.c b/notmuch-new.c index 11fad8c..c5f841a 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -308,36 +308,26 @@ add_files (notmuch_database_t *notmuch, static void

[notmuch] [PATCH 2/2] Read mail directory in inode number order

2009-11-18 Thread Stewart Smith
This gives a rather decent reduction in number of seeks required when reading a Maildir that isn't in pagecache. Most filesystems give some locality on disk based on inode numbers. In ext[234] this is the inode tables, in XFS groups of sequential inode numbers are together on disk and the most sig

[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs.

2009-11-18 Thread Stewart Smith
Previously, Ubuntu 9.10, gcc 4.4.1 was getting: ccache gcc `pkg-config --libs glib-2.0 gmime-2.4 talloc` `xapian-config --libs` notmuch.o notmuch-config.o notmuch-dump.o notmuch-new.o notmuch-reply.o notmuch-restore.o notmuch-search.o notmuch-setup.o notmuch-show.o notmuch-tag.o notmuch-time.o