[PATCH] contrib/nmbug: convert to use batch tagging.

2013-02-13 Thread David Bremner
Tomi Ollila writes: > > The code LGTM. Is there any quoting differences between these 2 > tagging methods ? > That's a good point. I added quoting easily enough, but as soon as I did, I discovered the rest of nmbug has some issues with tags with spaces in them. I'll see how hard this is to

Search using email headers does not work

2013-02-13 Thread Alexey Feldgendler
On Wed, 13 Feb 2013 22:09:22 +0100, Jameson Graef Rollins wrote: >> I think I mentioned this on irc sometime ago: would indexing all the >> headers as a separate free text entry (under headers: for example) >> satisfy most of this. So then you could search for things like >> headers:"List-Id:

notmuch-mutt: Use of uninitialized value.

2013-02-13 Thread Profpatsch
Why is this email five sentences or less? A: http://five.sentenc.es -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130213/322273b2/attachment.pgp>

notmuch-mutt: Use of uninitialized value.

2013-02-13 Thread Stefano Zacchiroli
[ please keep the notmuch@ list in Cc:, so that others could help and/or benefit from the solution ... when we find one :-) ] On Tue, Feb 12, 2013 at 10:51:05PM +0100, Profpatsch wrote: > > I'm sorry, but I still don't get it. What do you mean with "no mail"? > > Haha, sorry, that was

[PATCH] contrib/nmbug: convert to use batch tagging.

2013-02-13 Thread Tomi Ollila
On Sat, Feb 09 2013, david at tethera.net wrote: > From: David Bremner > > In the case of large changes to the database from git, one of main > current bottlenecks is the large number of execs of notmuch tag. This > avoids that by using use the batch tagging facilities as of notmuch > 0.15. > >

[PATCH] bitmap:improve memory usage using CHAR_BITS and unsigned CHAR

2013-02-13 Thread Robert Mast
Using char instead of int allows for simpler definitions of the DOCIDSET macros so the code is easier to understand and consistent with respect to memory-usage. Estimated reduction of memory-usage for bitmap about 8 times. --- Re-submission for comment-reasons. --- --- lib/query.cc | 10

[english 100%] [PATCH] bitmap:improve memory usage using CHAR_BITS and unsigned CHAR

2013-02-13 Thread Robert Mast
Somehow my comments don't get through... I'll try it another way. -Oorspronkelijk bericht- Van: Robert Mast [mailto:beheerder at tekenbeetziekten.nl] Verzonden: woensdag 13 februari 2013 16:12 Aan: notmuch at notmuchmail.org CC: Robert Mast Onderwerp: [english 100%] [PATCH]

[PATCH] bitmap:improve memory usage using CHAR_BITS and unsigned CHAR

2013-02-13 Thread Robert Mast
diff --git a/lib/query.cc b/lib/query.cc index e9c1a2d..7381a54 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -39,12 +39,12 @@ typedef struct _notmuch_mset_messages { } notmuch_mset_messages_t; struct _notmuch_doc_id_set { -unsigned int *bitmap; +unsigned char *bitmap; unsigned

notmuch-mutt: Use of uninitialized value.

2013-02-13 Thread Kevin J. McCarthy
pgp-signature Size: 490 bytes Desc: Digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130213/49002523/attachment.pgp>

Search using email headers does not work

2013-02-13 Thread Jameson Graef Rollins
. 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/20130213/e291e6a3/attachment.pgp>

[PATCH] bitmap:improve memory usage using CHAR_BITS and unsigned CHAR

2013-02-13 Thread Carl Worth
ble Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130213/449919f3/attachment.pgp>

Search using email headers does not work

2013-02-13 Thread Mark Walters
I think I mentioned this on irc sometime ago: would indexing all the headers as a separate free text entry (under headers: for example) satisfy most of this. So then you could search for things like headers:"List-Id: blah" or similar. It is not as nice as individually indexed headers, but it

[PATCH 0/6] notmuch cli config changes

2013-02-13 Thread Mark Walters
> Jameson Graef Rollins writes: > >> But don't get me wrong, the CLI is one of the things that makes notmuch >> so incredibly awesome. It's an email swiss army knife that's there when >> you need it. But given that even I often need to look at the man page >> during my occasional CLI usage, I

Re: [PATCH] contrib/nmbug: convert to use batch tagging.

2013-02-13 Thread Tomi Ollila
On Sat, Feb 09 2013, da...@tethera.net wrote: From: David Bremner brem...@debian.org In the case of large changes to the database from git, one of main current bottlenecks is the large number of execs of notmuch tag. This avoids that by using use the batch tagging facilities as of notmuch

[PATCH] bitmap:improve memory usage using CHAR_BITS and unsigned CHAR

2013-02-13 Thread Robert Mast
diff --git a/lib/query.cc b/lib/query.cc index e9c1a2d..7381a54 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -39,12 +39,12 @@ typedef struct _notmuch_mset_messages { } notmuch_mset_messages_t; struct _notmuch_doc_id_set { -unsigned int *bitmap; +unsigned char *bitmap; unsigned

Re: Search using email headers does not work

2013-02-13 Thread Jameson Graef Rollins
On Tue, Feb 12 2013, Mark Walters markwalters1...@gmail.com wrote: I think I mentioned this on irc sometime ago: would indexing all the headers as a separate free text entry (under headers: for example) satisfy most of this. So then you could search for things like headers:List-Id: blah or

Re: Search using email headers does not work

2013-02-13 Thread Alexey Feldgendler
On Wed, 13 Feb 2013 22:09:22 +0100, Jameson Graef Rollins jroll...@finestructure.net wrote: I think I mentioned this on irc sometime ago: would indexing all the headers as a separate free text entry (under headers: for example) satisfy most of this. So then you could search for things like

Re: notmuch-mutt: Use of uninitialized value.

2013-02-13 Thread Kevin J. McCarthy
Profpatsch wrote: Since I don’t get your bug tracking system (d’oh ;), here is a bug I encountered with notmuch-mutt using this macro I guess was from the “official” tutorial: # Construct a thread ouf of the marked mail (or something like that, # doesn’t work atm (errors out)) macro

Re: [PATCH] contrib/nmbug: convert to use batch tagging.

2013-02-13 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: The code LGTM. Is there any quoting differences between these 2 tagging methods ? That's a good point. I added quoting easily enough, but as soon as I did, I discovered the rest of nmbug has some issues with tags with spaces in them. I'll see how hard

Re: notmuch-mutt: Use of uninitialized value.

2013-02-13 Thread Profpatsch
On 13-02-13 02:35pm, Kevin J. McCarthy wrote: A more likely idea is to check whether you have $pipe_decode set. If you have this set, you need to make sure you are not weeding out message-id with 'ignore'. In fact, I've just tried this, and I can replicate the problem and exact error