On Sun, 04 Dec 2011 13:21:40 +0530, "Aneesh Kumar K.V" wrote:
> On Thu, 17 Nov 2011 22:07:38 +0200, Jani Nikula wrote:
> > Add support for limiting the maximum number of results initially displayed
> > in search results. When enabled, the search results will contain push
> > buttons to double
On Sun, 4 Dec 2011 11:47:52 -0400, David Bremner wrote:
> + case NOTMUCH_OPT_INT:
> + if (try->output_var)
> + *((int *)try->output_var) =
> + atol (arg + strlen (try->name) + 1);
Looking at patch 4 and the existing handling of int
On Sun, 4 Dec 2011 11:47:54 -0400, David Bremner wrote:
> From: David Bremner
>
> The new argument handling is a bit more concise, and bit more
> flexible. It allows the input file name to go before the --accumulate
> option.
> ---
> notmuch-restore.c | 38
On Sun, 4 Dec 2011 11:47:53 -0400, David Bremner wrote:
> From: David Bremner
>
> The output file is handled via positional arguments. There are
> currently no "normal" options.
> ---
> notmuch-dump.c | 32
> 1 files changed, 20 insertions(+), 12
On Sun, 4 Dec 2011 11:47:52 -0400, David Bremner wrote:
> From: David Bremner
>
> As we noticed when Jani kindly converted things to getopt_long, much
> of the work in argument parsing in notmuch is due to the the key-value
> style arguments like --format=(raw|json|text).
Hi David -
On Tue, 06 Dec 2011 18:47:01 -0800, Jameson Graef Rollins wrote:
> Also, what if we make it so that the post-new hook script only runs if
> notmuch new processes new messages? All of my post-new functions don't
> need to be run at all if there is no new mail.
Or would it make sense to pass this
Since 2b0116119160f2dc83, Message.__str__ doesn't
construct a hash containing the thread data before
constructing the formatstring. This changes the formatstring
to accept positional parameters instead of a hash.
---
bindings/python/notmuch/message.py |2 +-
1 files changed, 1 insertions(+),
Hi,
A friend of mine just complained about an issue he had with upstream notmuch
python
that is due to my recent reformating of Message.__str__.
This patch fixes it.
Sorry for the inconveniences,
/p
://notmuchmail.org
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/6009fe79/attachment.pgp>
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/5219bbdd/attachment.pgp>
/pgp-signature
Size: 835 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/31bc3e3e/attachment.pgp>
Hi Tomi,
I made the changes for case insensitivity and I much prefer that.
Perhaps it could be an option if you like it the other way around.
Kind regards
Bart
On Tue, 6 Dec 2011 15:22:37 +0200, Jani Nikula wrote:
> +if (!WIFEXITED (status) || WEXITSTATUS (status)) {
> + if (WEXITSTATUS (status)) {
Grrh, the above should be "if (WIFEXITED (status))". Please review
otherwise.
Jani.
> + fprintf (stderr, "Error: %s hook failed with
Run notmuch new pre and post hooks, named "pre-new" and "post-new", if
present in the notmuch hooks directory. The hooks will be run before and
after incorporating new messages to the database.
Typical use cases for pre-new and post-new hooks are fetching or delivering
new mail to the maildir,
Add mechanism for running user defined hooks. Hooks are executables or
symlinks to executables stored under the new notmuch hooks directory,
/.notmuch/hooks.
No hooks are introduced here, but adding support for a hook is now a simple
matter of calling the new notmuch_run_hook() function at an
Hi all, this is v3 of the notmuch hooks patches. I think this is nearing
completion apart from final review and, most notably, tests.
Changes in v3:
* Incorporate Austin's review comments (id:"20111204034210.GA16405 at mit.edu"
and
id:"20111204040047.GB16405 at mit.edu"), the biggest change
: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/58df338e/attachment.pgp>
---
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/08dbb04d/attachment.pgp>
ause of that?
Sebastian
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/9f0ffc2b/attachment.pgp>
otmuch/attachments/20111206/06ebc245/attachment.pgp>
occur before this
patch.
Sebastian
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/23b3e233/attachment.pgp>
tiontest.py
Type: text/x-python
Size: 181 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20111206/9fc1327c/attachment-0001.py>
Now that types are checked correctly, we also need to make sure that all the
arguments actually are instances of these types. Otherwise the function calls
will fail and raise an exception similar to this one:
ctypes.ArgumentError: argument 3: : expected
LP_LP_NotmuchMessageS instance instead
This commit breaks raising XapianErrors for me.
If I lock the index with some `notmuch tag +test '*'`
and try to write to it in alot, i get a segfault and
the following on stderr:
Xapian exception occurred opening database: Unable to get write lock on
/home/pazz/mail/.notmuch/xapian: already
On Mon, 05 Dec 2011 13:39:32 +0200, Tomi Ollila wrote:
> The tar file of particular package (notmuch in this case) is named
> as $(PACKAGE)-$(VERSION).tar.gz. Therefore the best way to remove
> previous link to LATEST is to remove all files beginning with
> LATEST-$(PACKAGE)- and not relying how
On Sun, 4 Dec 2011 11:58:49 -0400, David Bremner wrote:
> From: David Bremner
>
> The goal here is to have a simple way of making sure all of the
> binaries needed to run tests are available.
Pushed to master
d
Hi,
I agree with Jamie on this one.
The case sensitivity appears to get in the way of searching. I also
think that enabling the regular expressionsearching is a good idea.
All in all though this is great.
The only other idea I have, which is only half formed, is that it would
be nice to
Now that types are checked correctly, we also need to make sure that all the
arguments actually are instances of these types. Otherwise the function calls
will fail and raise an exception similar to this one:
ctypes.ArgumentError: argument 3: type 'exceptions.TypeError': expected
This commit breaks raising XapianErrors for me.
If I lock the index with some `notmuch tag +test '*'`
and try to write to it in alot, i get a segfault and
the following on stderr:
Xapian exception occurred opening database: Unable to get write lock on
/home/pazz/mail/.notmuch/xapian: already
On Tue, 06 Dec 2011 10:46:31 +, Patrick Totzke
patricktot...@googlemail.com wrote:
This commit breaks raising XapianErrors for me.
If I lock the index with some `notmuch tag +test '*'`
and try to write to it in alot, i get a segfault and
the following on stderr:
Xapian exception
On Sun, 4 Dec 2011 15:35:14 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
This seems to fix the segfault for me. Any other comments/experiences?
+/* Initialize the GLib type system and threads */
+g_type_init ();
+
Thanks the patch looks
yes, i can. here's how to reproduce it on master:
fire a `notmuch tag +TEST1 '*'`, which should block the db for a while.
Then use the attached script to write to the index (this could make a nice
second testcase for the bindings in case the test body is large enough).
On master, the script
On Tue, 06 Dec 2011 10:46:31 +, Patrick Totzke
patricktot...@googlemail.com wrote:
This commit breaks raising XapianErrors for me.
If I lock the index with some `notmuch tag +test '*'`
and try to write to it in alot, i get a segfault and
the following on stderr:
Xapian exception
On Mon, 05 Dec 2011 22:36:06 +, Patrick Totzke wrote:
These are the things I noticed when going through the code today:
1) in filenames.py, __str__ of Filenames: should the return value be
'\n'.join(self._files)? alternatively, define __iter__ to make this object
behave as iterator.
Just for reference, all three patches went in.
Perhaps this warrants a NEWS entry such as:
* python: using more unicode throughout and robustify against unicode
errors (credits to Patrick Totzke)
pgpFR77WcaGxT.pgp
Description: PGP signature
___
On Tue, 6 Dec 2011 11:03:22 +0100, Thomas Jost schno...@schnouki.net wrote:
Now that types are checked correctly, we also need to make sure that all the
arguments actually are instances of these types. Otherwise the function calls
will fail and raise an exception similar to this one:
Add mechanism for running user defined hooks. Hooks are executables or
symlinks to executables stored under the new notmuch hooks directory,
database-path/.notmuch/hooks.
No hooks are introduced here, but adding support for a hook is now a simple
matter of calling the new notmuch_run_hook()
On Tue, 6 Dec 2011 15:22:37 +0200, Jani Nikula j...@nikula.org wrote:
+if (!WIFEXITED (status) || WEXITSTATUS (status)) {
+ if (WEXITSTATUS (status)) {
Grrh, the above should be if (WIFEXITED (status)). Please review
otherwise.
Jani.
+ fprintf (stderr, Error: %s hook failed
On Sun, 4 Dec 2011 11:58:49 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
The goal here is to have a simple way of making sure all of the
binaries needed to run tests are available.
Pushed to master
d
___
On Mon, 05 Dec 2011 13:39:32 +0200, Tomi Ollila tomi.oll...@iki.fi wrote:
The tar file of particular package (notmuch in this case) is named
as $(PACKAGE)-$(VERSION).tar.gz. Therefore the best way to remove
previous link to LATEST is to remove all files beginning with
LATEST-$(PACKAGE)- and
Hi,
A friend of mine just complained about an issue he had with upstream notmuch
python
that is due to my recent reformating of Message.__str__.
This patch fixes it.
Sorry for the inconveniences,
/p
___
notmuch mailing list
notmuch@notmuchmail.org
On Sun, 4 Dec 2011 11:47:52 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
As we noticed when Jani kindly converted things to getopt_long, much
of the work in argument parsing in notmuch is due to the the key-value
style arguments like
On Sun, 4 Dec 2011 11:47:53 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
The output file is handled via positional arguments. There are
currently no normal options.
---
notmuch-dump.c | 32
1 files changed, 20
On Sun, 4 Dec 2011 11:47:54 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
The new argument handling is a bit more concise, and bit more
flexible. It allows the input file name to go before the --accumulate
option.
---
notmuch-restore.c | 38
On Sun, 4 Dec 2011 11:47:52 -0400, David Bremner da...@tethera.net wrote:
+ case NOTMUCH_OPT_INT:
+ if (try-output_var)
+ *((int *)try-output_var) =
+ atol (arg + strlen (try-name) + 1);
Looking at patch 4 and the existing handling of
On Sun, 04 Dec 2011 13:21:40 +0530, Aneesh Kumar K.V
aneesh.ku...@linux.vnet.ibm.com wrote:
On Thu, 17 Nov 2011 22:07:38 +0200, Jani Nikula j...@nikula.org wrote:
Add support for limiting the maximum number of results initially displayed
in search results. When enabled, the search results
On Tue, 06 Dec 2011 08:45:49 +1100, Bart Bunting b...@ursys.com.au wrote:
Hi,
I agree with Jamie on this one.
The case sensitivity appears to get in the way of searching. I also
think that enabling the regular expressionsearching is a good idea.
All in all though this is great.
I
Where to obtain notmuch 0.10.2
===
http://notmuchmail.org/releases/notmuch-0.10.2.tar.gz
Which can be verified with:
http://notmuchmail.org/releases/notmuch-0.10.2.tar.gz.sha1
3064c1722d30c71f287e1ab63ac13a5847e20c14 notmuch-0.10.2.tar.gz
On Tue, 06 Dec 2011 18:47:01 -0800, Jameson Graef Rollins
jroll...@finestructure.net wrote:
Also, what if we make it so that the post-new hook script only runs if
notmuch new processes new messages? All of my post-new functions don't
need to be run at all if there is no new mail.
Or would it
49 matches
Mail list logo