[PATCH] NEWS: discuss contrib and nmbug

2011-11-15 Thread David Bremner
From: David Bremner I mention the possibility of a seperate license here because currently notmuch-deliver is licensed GPL v2 only. --- NEWS | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index 7bd9987..98e07eb 100644 --- a/NEWS +++ b/NEWS @@ -

Winter is coming [upcoming release 0.10]

2011-11-15 Thread David Bremner
notmuch-{show,search} -- 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/2015/b01c2bc8/attachment-0001.pgp>

[PATCH v7 6/6] test: add tests for notmuch search --offset and --limit

2011-11-15 Thread Jani Nikula
Signed-off-by: Jani Nikula --- test/notmuch-test|1 + test/search-limiting | 71 ++ 2 files changed, 72 insertions(+), 0 deletions(-) create mode 100755 test/search-limiting diff --git a/test/notmuch-test b/test/notmuch-test index 29de30

[PATCH v7 5/6] test: add tests for notmuch count

2011-11-15 Thread Jani Nikula
Signed-off-by: Jani Nikula --- test/count| 40 test/notmuch-test |1 + 2 files changed, 41 insertions(+), 0 deletions(-) create mode 100755 test/count diff --git a/test/count b/test/count new file mode 100755 index 000..300b171 --- /dev

[PATCH v7 4/6] cli: add support for --output parameter in notmuch count

2011-11-15 Thread Jani Nikula
Add support for --output=messages (which remains the default) and --output=threads to notmuch count. Signed-off-by: Jani Nikula --- NEWS|5 + notmuch-count.c | 18 -- notmuch.1 | 29 + notmuch.c | 20 ++

[PATCH v7 3/6] cli: drop unused code from notmuch count

2011-11-15 Thread Jani Nikula
Remove unused code within #if 0 blocks from notmuch count. Signed-off-by: Jani Nikula --- notmuch-count.c | 32 1 files changed, 0 insertions(+), 32 deletions(-) diff --git a/notmuch-count.c b/notmuch-count.c index 0d700a9..a35be40 100644 --- a/notmuch-count.c

[PATCH v7 2/6] cli: add options --offset and --limit to notmuch search

2011-11-15 Thread Jani Nikula
Add options --offset=[-]N and --limit=M to notmuch search to determine the first result and maximum number of results to display. Option --limit=M limits the maximum number of results to display to M. Option --offset=[-]N skips the first N results; with the leading '-' skip until the Nth result f

[PATCH v7 1/6] lib: add function to get the number of threads matching a search

2011-11-15 Thread Jani Nikula
Add function notmuch_query_count_threads() to get the number of threads matching a search. This is done by performing a search and figuring out the number of unique thread IDs in the matching messages, a significantly heavier operation than notmuch_query_count_messages(). Signed-off-by: Jani Nikul

[PATCH v7 0/6] lib/cli: limit number of messages in search results

2011-11-15 Thread Jani Nikula
v7, s/--first/--offset/ and s/--maxitems/--limit/ and rebased against master since since id:"cover.1321217854.git.jani at nikula.org" BR, Jani. Jani Nikula (6): lib: add function to get the number of threads matching a search cli: add options --offset and --limit to notmuch search cli: dro

[PATCH v7 0/6] lib/cli: limit number of messages in search results

2011-11-15 Thread David Bremner
On Tue, 15 Nov 2011 22:08:47 +0200, Jani Nikula wrote: > v7, s/--first/--offset/ and s/--maxitems/--limit/ and rebased against master > since since id:"cover.1321217854.git.jani at nikula.org" > Pushed, and thanks for referring back to the other thread. d

[RFC PATCH] nmbug help w/o perldoc

2011-11-15 Thread Tomi Ollila
--- notmuch help runs pod2usage with -verbose => 2, which by default tries to run perldoc. Adding -noperldoc => 1 disables this use but there is no pre-verifying interface (or so) available. In one of my systems there was no 'perldoc' script, which basically contains: use Pod::PerlDoc; exit( Po

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-15 Thread Pieter Praet
On Fri, 11 Nov 2011 10:09:17 +0200, Tomi Ollila wrote: > On Fri, 11 Nov 2011 01:17:37 +0100, Pieter Praet wrote: > > On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins > finestructure.net> wrote: > > > From: Tomi Ollila > > > > > > dtach is lighter than screen and is not setuid/setgid p

[PATCH] emacs: Use a single buffer invisibility spec to fix quadratic search cost.

2011-11-15 Thread Pieter Praet
On Fri, 11 Nov 2011 00:27:16 -0500, Austin Clements wrote: > Quoth myself on Nov 10 at 11:53 pm: > > Quoth Pieter Praet on Nov 11 at 4:04 am: > > > I've tried getting some hard numbers using > > > > > > #+begin_src sh > > > time emacs --eval '(progn > > > (notmuch) > > > (n

[PATCH] emacs: Use a single buffer invisibility spec to fix quadratic search cost.

2011-11-15 Thread Pieter Praet
On Thu, 10 Nov 2011 23:53:41 -0500, Austin Clements wrote: > Quoth Pieter Praet on Nov 11 at 4:04 am: > > On Thu, 10 Nov 2011 14:22:30 -0500, servilio wrote: > > > On 10 November 2011 08:33, Sebastian Spaeth > > > wrote: > > > > On Tue, ?8 Nov 2011 21:55:28 -0500, Austin Clements > > > MIT.ED

[PATCH 2/2] notmuch.el:notmuch-search-process-filter: Rewritten. Cope with incomplete lines.

2011-11-15 Thread Thomas Schwinge
Hi! On Thu, 10 Mar 2011 18:02:09 -0800, Carl Worth wrote: > On Thu, 3 Feb 2011 00:56:39 +0100, Thomas Schwinge > wrote: > > This issue has been lying in ambush as of 2009-11-24's commit > > 93af7b574598637c2766dd1f8ef343962c9a8efb. > > Thanks very much for tracking down this bug, Thomas. What

[PATCH] emacs: Use a single buffer invisibility spec to fix quadratic search cost.

2011-11-15 Thread servilio
Hi, Given that this change is about display of search results, I have the suspicion that the following two factors might be more relevant: - size of the Emacs frame: bigger would mean more threads to show - composition of the search results, specially length of the threads displayed, as the long

the present and future of patch tracking for notmuch.

2011-11-15 Thread David Bremner
On Sun, 13 Nov 2011 10:53:40 -0400, David Bremner wrote: > > As some of you probably know, I have been using "nmbug" [1], now in git > master, to help track the state of notmuch patches. At this point I > think I am about ready to declare the experimental deployment of nmbug a > success and make

Having trouble displaying some html emails

2011-11-15 Thread Bart Bunting
Hi everyone, I am having an issue with html emails displaying correctly. For some reason the first time I view a html email it displays correctly. All subsequent attempts to view html emails result in the following error: mm-shr: Wrong type argument: bufferp, "*Summary*" The message opens but

[PATCH] restore: Be more liberal in which data to accept.

2011-11-15 Thread David Bremner
On Sat, 29 Oct 2011 12:40:07 +0200, Thomas Schwinge wrote: > From: Thomas Schwinge > > There are ``Message-ID''s out in the wild that contain spaces. > > --- > Carl, the main question for you is: does this break sup-import > operability? Any other sup users care to comment?

Having trouble displaying some html emails

2011-11-15 Thread Tomi Ollila
On Tue, 15 Nov 2011 10:37:42 +1100, Bart Bunting wrote: > Hi everyone, > > I am having an issue with html emails displaying correctly. > > For some reason the first time I view a html email it displays > correctly. All subsequent attempts to view html emails result in the > following error: >

Re: [PATCH] restore: Be more liberal in which data to accept.

2011-11-15 Thread David Bremner
On Sat, 29 Oct 2011 12:40:07 +0200, Thomas Schwinge wrote: > From: Thomas Schwinge > > There are ``Message-ID''s out in the wild that contain spaces. > > --- > Carl, the main question for you is: does this break sup-import > operability? Any other sup users care to comment? ___

Re: [PATCH 2/2] notmuch.el:notmuch-search-process-filter: Rewritten. Cope with incomplete lines.

2011-11-15 Thread Thomas Schwinge
Hi! On Thu, 10 Mar 2011 18:02:09 -0800, Carl Worth wrote: > On Thu, 3 Feb 2011 00:56:39 +0100, Thomas Schwinge > wrote: > > This issue has been lying in ambush as of 2009-11-24's commit > > 93af7b574598637c2766dd1f8ef343962c9a8efb. > > Thanks very much for tracking down this bug, Thomas. What