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 m

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

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: b

notmuch-mutt: Use of uninitialized value.

2013-02-13 Thread Profpatsch
n Archlinux. Q: 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>

Re: [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 fix

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 misleadin

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

[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] bitmap:improve

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

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)) > ma

notmuch-mutt: Use of uninitialized value.

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

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

Re: Search using email headers does not work

2013-02-13 Thread Jameson Graef Rollins
On Tue, Feb 12 2013, Mark Walters 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 similar. > > It is not

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>

Re: notmuch-mutt: Use of uninitialized value.

2013-02-13 Thread Profpatsch
On 13-02-13 05:26pm, Stefano Zacchiroli wrote: > OK, I understand the problem now. Although I don't understand how it's > possible. Can you please do the following test: > > - go on a mail, try on it to ensure it exhibit the bad behavior > you've reported It does. > - find out the Message-Id

Re: 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 misleadin

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

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

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

2013-02-13 Thread Carl Worth
Robert Mast writes: > Re-submission for comment-reasons. Very nicely done, Robert. Thanks. -Carl (who's not quite merging patches again yet, but likely will be soon) -- carl.d.wo...@intel.com pgphLI1N74MEo.pgp Description: PGP signature ___ notmuch

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 does

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

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

RE: [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:beheer...@tekenbeetziekten.nl] Verzonden: woensdag 13 februari 2013 16:12 Aan: notmuch@notmuchmail.org CC: Robert Mast Onderwerp: [english 100%] [PATCH] bitmap:improve memor

[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 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 > > 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. > > We u