Let the user specify the config file on the command line.
---
notmuch.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/notmuch.c b/notmuch.c
index f4bfeaa..71cd0d6 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -258,6 +258,7 @@ main (int argc, char *argv[])
char *talloc_
This allows specifying config file as a top level argument to notmuch,
and generally makes it possible to override config file options in
main(), without having to touch the subcommands.
This also makes notmuch config the talloc context for subcommands.
---
notmuch-client.h | 30 +++---
This also allows the main notmuch command to have arguments (though
they are not used).
---
notmuch.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/notmuch.c b/notmuch.c
index c47b998..67d5772 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -34,7 +34,1
Clean up code.
---
notmuch.c | 68 +++--
1 file changed, 35 insertions(+), 33 deletions(-)
diff --git a/notmuch.c b/notmuch.c
index b413b53..c47b998 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -70,6 +70,18 @@ static command_t commands[] = {
Use the notmuch_config_is_new() function instead.
---
notmuch-client.h |2 +-
notmuch-config.c | 32 +++-
notmuch-count.c |2 +-
notmuch-dump.c |2 +-
notmuch-new.c|2 +-
notmuch-reply.c |2 +-
notmuch-restore.c|
Add notmuch_config_is_new() accessor function to check this.
---
notmuch-client.h |3 +++
notmuch-config.c | 11 +++
2 files changed, 14 insertions(+)
diff --git a/notmuch-client.h b/notmuch-client.h
index 5f28836..07367e0 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -256
Hi all, the goal here is to add support for --config=FILE option at the
notmuch top level (e.g. 'notmuch --config=FILE search foo'). In order to
achieve this neatly, I ended up moving config open/close to main() from
subcommands. This isn't a bad thing, because all notmuch commands opened
the confi
From: David Bremner
Another couple of build fixes.
---
NEWS | 14 ++
1 file changed, 14 insertions(+)
diff --git a/NEWS b/NEWS
index 97f2305..3ba5a50 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,17 @@
+Notmuch 0.15.2 (2013-01-29)
+===
+
+Build fixes
+---
From: David Bremner
Instead of checking immediately for the watched process, delay a
minute, or in the case that process-attributes returns nil, for two
minutes. This is intended to cope with the case that
process-attributes is unimplimented, and returns always returns nil.
In this case, the wat
I plan to do another quick bug fix release, with aidecoe's parallel
build fix and a patch originally from Tomi to make the Emacs tests not
commit suicide right away on certain OSes.
I didn't include the parallel building patch here since it's already
in master.
Jameson Graef Rollins writes:
>
> Not for this series, but it might be nice to document usage of the
> NOTMUCH_DEBUG_QUERY env var as well.
>
Not a bad idea. This should (also?) be documented in the library
documentation, since it is handled there, and also available e.g. to
bindings users.
d
On Wed, Jan 30 2013, da...@tethera.net wrote:
> I plan to do another quick bug fix release, with aidecoe's parallel
> build fix and a patch originally from Tomi to make the Emacs tests not
> commit suicide right away on certain OSes.
LGTM.
> I didn't include the parallel building patch here sinc
I plan to do another quick bug fix release, with aidecoe's parallel
build fix and a patch originally from Tomi to make the Emacs tests not
commit suicide right away on certain OSes.
I didn't include the parallel building patch here since it's already
in master.
___
From: David Bremner
Another couple of build fixes.
---
NEWS | 14 ++
1 file changed, 14 insertions(+)
diff --git a/NEWS b/NEWS
index 97f2305..3ba5a50 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,17 @@
+Notmuch 0.15.2 (2013-01-29)
+===
+
+Build fixes
+---
From: David Bremner
Instead of checking immediately for the watched process, delay a
minute, or in the case that process-attributes returns nil, for two
minutes. This is intended to cope with the case that
process-attributes is unimplimented, and returns always returns nil.
In this case, the wat
On Tue, Jan 29 2013, david at tethera.net wrote:
> These are the remaining unapplied patches from
>
> id:1358619958-21209-1-git-send-email-david at tethera.net
>
> They are rebased to omit the actual command line argument, as suggested by
>
> id:87d2wzwmd9.fsf at servo.finestructure.n
e: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20130129/3705c869/attachment.pgp>
sting thread-breaking? There wasn't the last time I
looked at the code closely, (but admittedly, that was a while ago).
-Carl
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
UR
This allows specifying config file as a top level argument to notmuch,
and generally makes it possible to override config file options in
main(), without having to touch the subcommands.
This also makes notmuch config the talloc context for subcommands.
---
notmuch-client.h | 30 +++---
Let the user specify the config file on the command line.
---
notmuch.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/notmuch.c b/notmuch.c
index f4bfeaa..71cd0d6 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -258,6 +258,7 @@ main (int argc, char *argv[])
char *talloc_
This also allows the main notmuch command to have arguments (though
they are not used).
---
notmuch.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/notmuch.c b/notmuch.c
index c47b998..67d5772 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -34,7 +34,1
Clean up code.
---
notmuch.c | 68 +++--
1 file changed, 35 insertions(+), 33 deletions(-)
diff --git a/notmuch.c b/notmuch.c
index b413b53..c47b998 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -70,6 +70,18 @@ static command_t commands[] = {
Use the notmuch_config_is_new() function instead.
---
notmuch-client.h |2 +-
notmuch-config.c | 32 +++-
notmuch-count.c |2 +-
notmuch-dump.c |2 +-
notmuch-new.c|2 +-
notmuch-reply.c |2 +-
notmuch-restore.c|
Add notmuch_config_is_new() accessor function to check this.
---
notmuch-client.h |3 +++
notmuch-config.c | 11 +++
2 files changed, 14 insertions(+)
diff --git a/notmuch-client.h b/notmuch-client.h
index 5f28836..07367e0 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -256
Hi all, the goal here is to add support for --config=FILE option at the
notmuch top level (e.g. 'notmuch --config=FILE search foo'). In order to
achieve this neatly, I ended up moving config open/close to main() from
subcommands. This isn't a bad thing, because all notmuch commands opened
the confi
Jameson Graef Rollins writes:
>
> Not for this series, but it might be nice to document usage of the
> NOTMUCH_DEBUG_QUERY env var as well.
>
Not a bad idea. This should (also?) be documented in the library
documentation, since it is handled there, and also available e.g. to
bindings users.
d
_
On Tue, Jan 29 2013, da...@tethera.net wrote:
> +.B NOTMUCH_TALLOC_REPORT
> +Location to write a talloc memory usage report. See
> +.B talloc_enable_leak_report_full
> +in \fBtalloc\fR(3)
> +for more information.
Not for this series, but it might be nice to document usage of the
NOTMUCH_DEBUG_QUER
nt usage of the
NOTMUCH_DEBUG_QUERY env var as well.
jamie.
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20130129/fdfd19b8/attachment.pgp>
From: David Bremner
This really should have been there before. I think it's better to do
the actual operation and then possibly fail writing the memory log,
but it would not be too hard to change it to abort earlier.
---
notmuch.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions
From: David Bremner
---
man/man1/notmuch.1 |8
1 file changed, 8 insertions(+)
diff --git a/man/man1/notmuch.1 b/man/man1/notmuch.1
index 0805be8..55e2d16 100644
--- a/man/man1/notmuch.1
+++ b/man/man1/notmuch.1
@@ -147,6 +147,14 @@ behavior of notmuch.
.B NOTMUCH_CONFIG
Specifie
These are the remaining unapplied patches from
id:1358619958-21209-1-git-send-email-david at tethera.net
They are rebased to omit the actual command line argument, as suggested by
id:87d2wzwmd9.fsf at servo.finestructure.net
On Tue, Jan 29 2013, da...@tethera.net wrote:
> These are the remaining unapplied patches from
>
> id:1358619958-21209-1-git-send-email-da...@tethera.net
>
> They are rebased to omit the actual command line argument, as suggested by
>
> id:87d2wzwmd9@servo.finestructure.net
LGTM
From: David Bremner
This really should have been there before. I think it's better to do
the actual operation and then possibly fail writing the memory log,
but it would not be too hard to change it to abort earlier.
---
notmuch.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions
From: David Bremner
---
man/man1/notmuch.1 |8
1 file changed, 8 insertions(+)
diff --git a/man/man1/notmuch.1 b/man/man1/notmuch.1
index 0805be8..55e2d16 100644
--- a/man/man1/notmuch.1
+++ b/man/man1/notmuch.1
@@ -147,6 +147,14 @@ behavior of notmuch.
.B NOTMUCH_CONFIG
Specifie
These are the remaining unapplied patches from
id:1358619958-21209-1-git-send-email-da...@tethera.net
They are rebased to omit the actual command line argument, as suggested by
id:87d2wzwmd9@servo.finestructure.net
___
notmuch mailing
35 matches
Mail list logo