[notmuch] [PATCH 4/4] Prompt for database location in notmuch setup

2010-02-23 Thread David Benjamin
Signed-off-by: David Benjamin --- notmuch-setup.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/notmuch-setup.c b/notmuch-setup.c index 622bbaa..e3c8465 100644 --- a/notmuch-setup.c +++ b/notmuch-setup.c @@ -159,6 +159,15 @@ notmuch_setup_command (unused (void

[notmuch] [PATCH 3/4] Configure the database separately from mail store

2010-02-23 Thread David Benjamin
Signed-off-by: David Benjamin --- notmuch-client.h |7 ++ notmuch-config.c | 62 -- notmuch-new.c| 14 --- 3 files changed, 58 insertions(+), 25 deletions(-) diff --git a/notmuch-client.h b/notmuch-client.h index

[notmuch] [PATCH 2/4] Pass separate notmuch_path when opening database

2010-02-23 Thread David Benjamin
Avoid hard-coding $MAILSTORE/.notmuch in the database layer. Signed-off-by: David Benjamin --- lib/database-private.h |1 + lib/database.cc| 28 ++-- lib/notmuch.h | 32 notmuch-client.h |4

[notmuch] [PATCH 0/4] Allow separate database directory from mail store

2010-02-23 Thread David Benjamin
This patchset separates and makes configurable the database directory from the mail store. In the code, I have elected to call the former the 'notmuch_path' as, of the various of names in the source code ('path', 'db_path', etc.), that was the only one that consistently refers to the .notmuch

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

2010-02-23 Thread Stewart Smith
On Mon, Feb 22, 2010 at 12:07:31PM -0800, Bart Massey wrote: > Typically, the filenames in a mail directory that actually > contain mail obey some specific format. For example, in my > MH email directory, all mail filenames consist only of > digits. > > This patch adds support for a config file

[notmuch] JSON output as default [was: Re: [PATCH] Add an "--output=(json|text|)" command-line option...]

2010-02-23 Thread Jameson Rollins
es Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100223/314f88dc/attachment.pgp>

[notmuch] JSON output as default [was: Re: [PATCH] Add an "--output=(json|text|)" command-line option...]

2010-02-23 Thread Carl Worth
Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100223/d4b69631/attachment.pgp>

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

2010-02-23 Thread Bart Massey
In message <20100223061542.GR17878 at flamingspork.com> you wrote: > On Mon, Feb 22, 2010 at 12:07:31PM -0800, Bart Massey wrote: > > Typically, the filenames in a mail directory that actually > > contain mail obey some specific format. For example, in my > > MH email directory, all mail

[notmuch] [PATCH] Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.

2010-02-23 Thread Carl Worth
--- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100223/0aa30c46/attachment.pgp>

[notmuch] [PATCH] Add an "--output=(json|text|)" command-line option to both notmuch-search and notmuch-show.

2010-02-23 Thread Carl Worth
lly great. And I can't wait to apply it and play with it more. -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100223/c646b624/attachment-0001.pgp>

[notmuch] [PATCH] test-lib.sh: Add explicit license detail, with change from GPLv2 to GPLv2+.

2010-02-23 Thread Tay Ray Chuan
Hi, On Tue, Feb 23, 2010 at 11:42 AM, Junio C Hamano wrote: > FWIW, I only said "_at least_ you need consent from them", and it was not > meant to be an exhaustive list. ?"blame -C -C -C" may tell you more. Without substantial analysis, "blame" alone is not sufficient - it does not show which

[notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2010-02-23 Thread James Vasile
Added notmuch-enqueue-asynch to replace calls to notmuch-call-notmuch-process. Calls to notmuch are then queued and executed asynchronously. If the db is busy and we get an error saying it was locked, keep trying until the db is no longer busy. Errors go in a buffer as per usual. The only

[notmuch] [PATCH] Add ENVIRONMENT VARIABLES section to the man page

2010-02-23 Thread Carl Worth
to do that. -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100223/3b58abb8/attachment.pgp>

[notmuch] [PATCH] Rework saving of attachments.

2010-02-23 Thread Carl Worth
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100223/e96c3156/attachment.pgp>

[notmuch] [PATCH] test-lib.sh: Add explicit license detail, with change from GPLv2 to GPLv2+.

2010-02-23 Thread Carl Worth
crubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100223/1a256ae2/attachment.pgp>

[notmuch] [PATCH V3] notmuch.el: Make notmuch-show buffer name first subject, instead of thread-id (supersedes V1 and V2)

2010-02-23 Thread Jesse Rosenthal
Change the buffer name to a uniquified subject of the thread (i.e. the subject of the first message in the thread) instead of the thread-id. This is more meaningful to the user, and will make it easier to scroll through numerous open buffers. Note that this patch adds an optional `buffer-name'

[notmuch] [PATCH] test-lib.sh: Add explicit license detail, with change from GPLv2 to GPLv2+.

2010-02-23 Thread Johannes Schindelin
Hi, On Tue, 23 Feb 2010, Tay Ray Chuan wrote: > On Tue, Feb 23, 2010 at 11:42 AM, Junio C Hamano > wrote: > > FWIW, I only said "_at least_ you need consent from them", and it was > > not meant to be an exhaustive list. ?"blame -C -C -C" may tell you > > more. > > Without substantial

[notmuch] [PATCH] test-lib.sh: Add explicit license detail, with change from GPLv2 to GPLv2+.

2010-02-23 Thread Matthieu Moy
Junio C Hamano writes: >> http://thread.gmane.org/gmane.mail.notmuch.general/1389/focus=140156 [...] >> Meanwhile, a message ID lives forever and can be used in multiple >> contexts. > > Oh, I never said "do not use message ID". I said "message ID alone is not > good enough for most people".

[notmuch] [PATCH V3] notmuch.el: Make notmuch-show buffer name first subject, instead of thread-id (supersedes V1 and V2)

2010-02-23 Thread Jesse Rosenthal
Change the buffer name to a uniquified subject of the thread (i.e. the subject of the first message in the thread) instead of the thread-id. This is more meaningful to the user, and will make it easier to scroll through numerous open buffers. Note that this patch adds an optional `buffer-name'

[notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2010-02-23 Thread James Vasile
Added notmuch-enqueue-asynch to replace calls to notmuch-call-notmuch-process. Calls to notmuch are then queued and executed asynchronously. If the db is busy and we get an error saying it was locked, keep trying until the db is no longer busy. Errors go in a buffer as per usual. The only

Re: [notmuch] [PATCH] test-lib.sh: Add explicit license detail, with change from GPLv2 to GPLv2+.

2010-02-23 Thread Carl Worth
On Mon, 22 Feb 2010 19:42:30 -0800, Junio C Hamano gits...@pobox.com wrote: Please drop the above the next time. Oops. Yes, I missed that. FWIW, I only said _at least_ you need consent from them, and it was not meant to be an exhaustive list. blame -C -C -C may tell you more. Fair enough.

Re: [notmuch] [PATCH] test-lib.sh: Add explicit license detail, with change from GPLv2 to GPLv2+.

2010-02-23 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: http://thread.gmane.org/gmane.mail.notmuch.general/1389/focus=140156 [...] Meanwhile, a message ID lives forever and can be used in multiple contexts. Oh, I never said do not use message ID. I said message ID alone is not good enough for most

Re: [notmuch] [PATCH] Rework saving of attachments.

2010-02-23 Thread Carl Worth
On Mon, 14 Dec 2009 10:13:58 -0800, cama...@picnicpark.org wrote: From: Keith Amidon ke...@nicira.com Hi Keith, I apologize for the extraordinarly-late review, but here it is... I tried this patch out, wanted to like it, and almost pushed it out, but I decided against it in its current form.

Re: [notmuch] [PATCH] Add ENVIRONMENT VARIABLES section to the man page

2010-02-23 Thread Carl Worth
On Sat, 19 Dec 2009 13:12:15 +, James Westby jw+deb...@jameswestby.net wrote: Briefly describe the NOTMUCH_CONFIG variable there. Thanks, James! I've pushed this out now. I'm not sure how to phrase it to fit at the end of notmuch help, suggestions welcome. For now I added a

Re: [notmuch] [PATCH] Add an --format=(json|text) command-line option to both notmuch-search and notmuch-show.

2010-02-23 Thread Carl Worth
On Thu, 31 Dec 2009 11:17:40 -0400, da...@tethera.net wrote: This is an updated version of Scott Robinson's patch of id:1261114167-sup-8...@lisa. All of the hard work is Scott's. My changes to Scotts patch are - change option to --format from --output - make a couple of calls to function

[notmuch] JSON output as default [was: Re: [PATCH] Add an --output=(json|text|) command-line option...]

2010-02-23 Thread Jameson Rollins
Hey, Carl. I mentioned this is an email a while back (id:87eil4ygar@servo.finestructure.net), but I want to bring it up again now that you're looking at the JSON output stuff. I would like to make the case for JSON being the one and only output format. Here's the arguments: * JSON is a

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

2010-02-23 Thread Bart Massey
In message 20100223061542.gr17...@flamingspork.com you wrote: On Mon, Feb 22, 2010 at 12:07:31PM -0800, Bart Massey wrote: Typically, the filenames in a mail directory that actually contain mail obey some specific format. For example, in my MH email directory, all mail filenames consist

Re: [notmuch] JSON output as default [was: Re: [PATCH] Add an --output=(json|text|) command-line option...]

2010-02-23 Thread Carl Worth
On Tue, 23 Feb 2010 16:00:01 -0500, Jameson Rollins jroll...@finestructure.net wrote: Hey, Carl. I mentioned this is an email a while back (id:87eil4ygar@servo.finestructure.net), but I want to bring it up again now that you're looking at the JSON output stuff. I would like to make the

[notmuch] [PATCH 0/4] Allow separate database directory from mail store

2010-02-23 Thread David Benjamin
This patchset separates and makes configurable the database directory from the mail store. In the code, I have elected to call the former the 'notmuch_path' as, of the various of names in the source code ('path', 'db_path', etc.), that was the only one that consistently refers to the .notmuch

[notmuch] [PATCH 2/4] Pass separate notmuch_path when opening database

2010-02-23 Thread David Benjamin
Avoid hard-coding $MAILSTORE/.notmuch in the database layer. Signed-off-by: David Benjamin david...@mit.edu --- lib/database-private.h |1 + lib/database.cc| 28 ++-- lib/notmuch.h | 32 notmuch-client.h |

[notmuch] [PATCH 4/4] Prompt for database location in notmuch setup

2010-02-23 Thread David Benjamin
Signed-off-by: David Benjamin david...@mit.edu --- notmuch-setup.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/notmuch-setup.c b/notmuch-setup.c index 622bbaa..e3c8465 100644 --- a/notmuch-setup.c +++ b/notmuch-setup.c @@ -159,6 +159,15 @@