[alot] announcing v0.3.2

2012-07-22 Thread Patrick Totzke
st.py -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120722/f6baa31e/attachment.pgp>

[PATCH v4 0/8] emacs: JSON-based search cleanups

2012-07-22 Thread Mark Walters
This version looks good to me +1 Best wishes Mark On Sat, 21 Jul 2012, Austin Clements wrote: > This version fixes several bugs found in the previous version. I > replaced the insert-before-markers trick in > notmuch-search-update-result with direct point manipulation. This > fixes the

[PATCH 4/4] man: update man page for --include-text-option

2012-07-22 Thread Mark Walters
--- man/man1/notmuch-show.1 | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/man/man1/notmuch-show.1 b/man/man1/notmuch-show.1 index b51a54c..0226d3b 100644 --- a/man/man1/notmuch-show.1 +++ b/man/man1/notmuch-show.1 @@ -152,6 +152,18 @@ The default is .RE

[PATCH 3/4] test: add some tests for --include-text-content option

2012-07-22 Thread Mark Walters
--- test/json |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/test/json b/test/json index 6439788..53cb039 100755 --- a/test/json +++ b/test/json @@ -7,6 +7,15 @@ add_message "[subject]=\"json-show-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:0 output=$(notmuch

[PATCH 2/4] cli: show: implement --include-text-content for --format=text

2012-07-22 Thread Mark Walters
--- notmuch-show.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/notmuch-show.c b/notmuch-show.c index 35e3f22..6261b6d 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -537,11 +537,15 @@ format_part_text (const void *ctx, mime_node_t *node, if

[PATCH 1/4] cli: show: add --include-text-content=true|false option

2012-07-22 Thread Mark Walters
Normally notmuch show includes any text/* parts (except text/html) in the output. This option allows the caller to suppress this behaviour. This is used by notmuch-pick.el (although not needed) because it gives a speed-up of at least a factor of a two; moreover it reduces the memory usage in

[PATCH 0/4] Add a --include-text-content option to notmuch-show.c

2012-07-22 Thread Mark Walters
Currently notmuch show includes text/* parts (except text/html) in the JSON and text outputs. This patch adds a new option --include-text-content=true|false which allows the caller to disable this behaviour. This is similar to the --headers-only option proposed in

[PATCH] man: show: update man page for entire-thread and json.

2012-07-22 Thread Austin Clements
Quoth Mark Walters on Jul 21 at 7:34 am: > Previously in notmuch show --format=json implied --entire-thread. This > is still the default but it is now possible to disable this. Update > the manpage to reflect this. > --- > > I didn't update the manpage in the recent patch series. This corrects >

notmuch-reply: Structured Formatters

2012-07-22 Thread Austin Clements
LGTM! This is a great cleanup and I'm looking forward to S-expression support. Quoth craven at gmx.net on Jul 20 at 8:36 am: > Currently there is no easy way to add support for different structured > formatters (like JSON). For example, adding support for S-Expressions > would result in code

[PATCH v7 2/3] Add structured output formatter for JSON and plain text (but don't use them yet).

2012-07-22 Thread Austin Clements
Quoth craven at gmx.net on Jul 20 at 8:36 am: > From: > > Using the new structured printer support in sprinter.h, implement > sprinter_json_create, which returns a new JSON structured output > formatter. The formatter prints output similar to the existing JSON, but > with differences in

[PATCH v4 0/8] emacs: JSON-based search cleanups

2012-07-22 Thread Jameson Graef Rollins
ilable Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120722/0cef4b5e/attachment.pgp>

[PATCH v2 4/8] man: clarify search --exclude documentation

2012-07-22 Thread Peter Wang
Highlight "excluded messages" as a term with a meaning that may not be obvious. Be explicit about the effects of search --exclude=true and --exclude=false. --- man/man1/notmuch-search.1 | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git

notmuch-emacs and bbdb

2012-07-22 Thread Daniel Reusche
On 12.07.2012 15:47, Daniel Bergey wrote: > I hacked together the attached elisp yesterday. It provides bindings to > put sender or recipients into bbdb. Awesome, thats just what I was looking for. Also on topic: I was working on a script (more a really long regex), to import all the mail

[PATCH 0/4] Add a --include-text-content option to notmuch-show.c

2012-07-22 Thread Mark Walters
Currently notmuch show includes text/* parts (except text/html) in the JSON and text outputs. This patch adds a new option --include-text-content=true|false which allows the caller to disable this behaviour. This is similar to the --headers-only option proposed in

[PATCH 1/4] cli: show: add --include-text-content=true|false option

2012-07-22 Thread Mark Walters
Normally notmuch show includes any text/* parts (except text/html) in the output. This option allows the caller to suppress this behaviour. This is used by notmuch-pick.el (although not needed) because it gives a speed-up of at least a factor of a two; moreover it reduces the memory usage in

[PATCH 2/4] cli: show: implement --include-text-content for --format=text

2012-07-22 Thread Mark Walters
--- notmuch-show.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/notmuch-show.c b/notmuch-show.c index 35e3f22..6261b6d 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -537,11 +537,15 @@ format_part_text (const void *ctx, mime_node_t *node, if

[PATCH 4/4] man: update man page for --include-text-option

2012-07-22 Thread Mark Walters
--- man/man1/notmuch-show.1 | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/man/man1/notmuch-show.1 b/man/man1/notmuch-show.1 index b51a54c..0226d3b 100644 --- a/man/man1/notmuch-show.1 +++ b/man/man1/notmuch-show.1 @@ -152,6 +152,18 @@ The default is .RE

[PATCH 3/4] test: add some tests for --include-text-content option

2012-07-22 Thread Mark Walters
--- test/json |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/test/json b/test/json index 6439788..53cb039 100755 --- a/test/json +++ b/test/json @@ -7,6 +7,15 @@ add_message [subject]=\json-show-subject\ [date]=\Sat, 01 Jan 2000 12:00:0 output=$(notmuch show

Re: [PATCH v4 0/8] emacs: JSON-based search cleanups

2012-07-22 Thread Mark Walters
This version looks good to me +1 Best wishes Mark On Sat, 21 Jul 2012, Austin Clements amdra...@mit.edu wrote: This version fixes several bugs found in the previous version. I replaced the insert-before-markers trick in notmuch-search-update-result with direct point manipulation. This

Re: [PATCH v7 2/3] Add structured output formatter for JSON and plain text (but don't use them yet).

2012-07-22 Thread Austin Clements
Quoth cra...@gmx.net on Jul 20 at 8:36 am: From: cra...@gmx.net Using the new structured printer support in sprinter.h, implement sprinter_json_create, which returns a new JSON structured output formatter. The formatter prints output similar to the existing JSON, but with differences in

Re: notmuch-reply: Structured Formatters

2012-07-22 Thread Austin Clements
LGTM! This is a great cleanup and I'm looking forward to S-expression support. Quoth cra...@gmx.net on Jul 20 at 8:36 am: Currently there is no easy way to add support for different structured formatters (like JSON). For example, adding support for S-Expressions would result in code

Re: [PATCH] man: show: update man page for entire-thread and json.

2012-07-22 Thread Austin Clements
Quoth Mark Walters on Jul 21 at 7:34 am: Previously in notmuch show --format=json implied --entire-thread. This is still the default but it is now possible to disable this. Update the manpage to reflect this. --- I didn't update the manpage in the recent patch series. This corrects that

Re: [PATCH v4 0/8] emacs: JSON-based search cleanups

2012-07-22 Thread Jameson Graef Rollins
On Sat, Jul 21 2012, Austin Clements amdra...@mit.edu wrote: This version fixes several bugs found in the previous version. I replaced the insert-before-markers trick in notmuch-search-update-result with direct point manipulation. This fixes the problem with authors getting unhidden when a

[alot] announcing v0.3.2

2012-07-22 Thread Patrick Totzke
Hi everyone! I have just tagged alot v0.3.2; You can get a tarball here [0]. This version comes with redesigned theming features and supports highlighting/retheming of thread lines in search mode based on notmuch queries or thread tags. I had to change the syntax of theme-files and custom