[PATCH] Don't involve the shell in notmuch searches

2010-06-03 Thread David Benjamin
The shell isn't needed to interpret any of the arguments, so don't bother using it at all. Signed-off-by: David Benjamin --- emacs/notmuch.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 57e1140..874ccb9 100644 -

[PATCH] Don't involve the shell in notmuch searches

2010-06-03 Thread David Benjamin
The shell isn't needed to interpret any of the arguments, so don't bother using it at all. Signed-off-by: David Benjamin --- emacs/notmuch.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 57e1140..874ccb9 100644 -

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

2010-02-26 Thread David Benjamin
Signed-off-by: David Benjamin --- Apparently I never ran the last-minute tweak I did to notmuch_config_set_database_path. Oops. Oh well, here's the trivially fixed version. notmuch-client.h |7 ++ notmuch-config.c |

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

2010-02-26 Thread David Benjamin
Signed-off-by: David Benjamin --- Apparently I never ran the last-minute tweak I did to notmuch_config_set_database_path. Oops. Oh well, here's the trivially fixed version. notmuch-client.h |7 ++ notmuch-config.c |

[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

[notmuch] [PATCH 1/4] lib/database.cc: Fix function name in comment

2010-02-23 Thread David Benjamin
notmuch_message_add_filename has a leading underscore in the name. Signed-off-by: David Benjamin --- lib/database.cc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index 2b5b64d..1bb24ec 100644 --- a/lib/database.cc +++ b/lib

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

2010-02-23 Thread David Benjamin
stently refers to the .notmuch directory. If notmuch_path is not configured, the usual location of $MAILSTORE/.notmuch is used. The first of the four is an irrelevant little documentation fix that I didn't think was worth making a new thread for. David Benjamin (4): lib/database.cc: Fix funct

[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 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 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

[notmuch] [PATCH 1/4] lib/database.cc: Fix function name in comment

2010-02-23 Thread David Benjamin
notmuch_message_add_filename has a leading underscore in the name. Signed-off-by: David Benjamin --- lib/database.cc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index 2b5b64d..1bb24ec 100644 --- a/lib/database.cc +++ b/lib

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

2010-02-23 Thread David Benjamin
stently refers to the .notmuch directory. If notmuch_path is not configured, the usual location of $MAILSTORE/.notmuch is used. The first of the four is an irrelevant little documentation fix that I didn't think was worth making a new thread for. David Benjamin (4): lib/database.cc: Fix funct