PATCH: notmuch-mutt.rc macros (with correct commit msg)

2012-05-27 Thread Jason Ryan
Ref: id:"20120527004107.GA4869 at Centurion" Please find attached the patch with a descriptive commit message? /J -- http://jasonwryan.com/ [GnuPG Key: B1BD4E40] -- next part --

PATCH: notmuch-mutt macros

2012-05-27 Thread Jason Ryan
Two of the three macros shipped in notmuch-mutt.rc did not work; this patch fixes the issue for me. Cheers, /J -- http://jasonwryan.com/ [GnuPG Key: B1BD4E40] -- next part --

[PATCH] Small fix to two macros (reconstructing & tagging)

2012-05-27 Thread jasonwryan
ch-mutt -- tag -inbox" \ + "remove message from inbox with notmuch" -- 1.7.10.2 -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120527/e286b2cd/attachment.pgp>

[PATCH] Small fix to two macros in notmuch-mutt.rc

2012-05-27 Thread jasonwryan
ch-mutt -- tag -inbox" \ + "remove message from inbox with notmuch" -- 1.7.10.2 -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120527/eaf91951/attachment.pgp>

[PATCH v5 1/5] cli: command line parsing: allow default for keyword options

2012-05-27 Thread Peter Wang
On Sat, 26 May 2012 16:54:50 +0100, Mark Walters wrote: > This changes the parsing for "keyword" options so that if the option > is specified with no argument the first possible argument is > chosen. This make it easier to add options to existing boolean > arguments (the existing --option can

PATCH: notmuch-mutt macros

2012-05-27 Thread Jameson Graef Rollins
tachments/20120527/4e7c028a/attachment.pgp>

[PATCH v6 6/6] cli: notmuch-show.c fix whitespace error

2012-05-27 Thread Mark Walters
Fix an existing whitespace error since it is right next to the changes of this series. --- notmuch-show.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notmuch-show.c b/notmuch-show.c index 4e2965e..e19ffda 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@

[PATCH v6 5/6] emacs: make elide messages use notmuch-show for omitting messages.

2012-05-27 Thread Mark Walters
Previously the elide messages code got the entire-thread from notmuch-show.c and then threw away all non-matching messages. This version calls notmuch-show.c without the --entire-thread flag so it never receives the non-matching messages in the first place. This makes it substantially faster. ---

[PATCH v6 4/6] Update devel/schemata for --entire-thread=false

2012-05-27 Thread Mark Walters
Also remove the Json --entire-thread item from devel/TODO. --- devel/TODO |2 -- devel/schemata |2 +- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/devel/TODO b/devel/TODO index 7b750af..eb757af 100644 --- a/devel/TODO +++ b/devel/TODO @@ -92,8 +92,6 @@ and email

[PATCH v6 3/6] cli: make --entire-thread=false work for format=json.

2012-05-27 Thread Mark Walters
The --entire-thread option in notmuch-show.c defaults to true when format=json. Previously there was no way to turn this off. This patch makes it respect --entire-thread=false. To do this the patch moves the --entire-thread option to be a keyword option using the new command line parsing to allow

[PATCH v6 2/6] cli: Let json output "null" messages for non --entire-thread

2012-05-27 Thread Mark Walters
All formats except Json can output empty messages for non entire-thread, but in Json format we output "null" to keep the other elements (e.g. the replies to the omitted message) in the correct place. --- notmuch-client.h |1 + notmuch-show.c | 20 2 files changed, 17

[PATCH v6 1/6] cli: command line parsing: allow default for keyword options

2012-05-27 Thread Mark Walters
This changes the parsing for "keyword" options so that if the option is specified with no argument the argument is parsed as if it were passed an empty string. This make it easier to add options to existing boolean arguments (the existing --option can default to TRUE). ---

[PATCH v6 0/6] Allow JSON to use non-entire thread, and use for elide

2012-05-27 Thread Mark Walters
This is version 6 of this patch series: version 5 is at id:"1338047694-32548-1-git-send-email-markwalters1009 at gmail.com". The changes for this version: As suggest by Peter in id:"20120527123253.GA3049 at hili.localdomain" the command line handling for keywords is changed so that if the option

PATCH: notmuch-mutt macros

2012-05-27 Thread Jason Ryan
Two of the three macros shipped in notmuch-mutt.rc did not work; this patch fixes the issue for me. Cheers, /J -- http://jasonwryan.com/ [GnuPG Key: B1BD4E40] From 6557a3a5e622b479394c33e0b5699c8a7de86ffc Mon Sep 17 00:00:00 2001 From: jasonwryan jasonwr...@gmail.com Date: Sun, 27 May 2012

PATCH: notmuch-mutt.rc macros (with correct commit msg)

2012-05-27 Thread Jason Ryan
Ref: id:20120527004107.GA4869@Centurion Please find attached the patch with a descriptive commit messageā€¦ /J -- http://jasonwryan.com/ [GnuPG Key: B1BD4E40] From 9dd4db8dfeafb6464cccf81cb78038b7a252d080 Mon Sep 17 00:00:00 2001 From: jasonwryan jasonwr...@gmail.com Date: Sun, 27 May 2012

[PATCH v6 0/6] Allow JSON to use non-entire thread, and use for elide

2012-05-27 Thread Mark Walters
This is version 6 of this patch series: version 5 is at id:1338047694-32548-1-git-send-email-markwalters1...@gmail.com. The changes for this version: As suggest by Peter in id:20120527123253.GA3049@hili.localdomain the command line handling for keywords is changed so that if the option is

[PATCH v6 1/6] cli: command line parsing: allow default for keyword options

2012-05-27 Thread Mark Walters
This changes the parsing for keyword options so that if the option is specified with no argument the argument is parsed as if it were passed an empty string. This make it easier to add options to existing boolean arguments (the existing --option can default to TRUE). --- command-line-arguments.c

[PATCH v6 2/6] cli: Let json output null messages for non --entire-thread

2012-05-27 Thread Mark Walters
All formats except Json can output empty messages for non entire-thread, but in Json format we output null to keep the other elements (e.g. the replies to the omitted message) in the correct place. --- notmuch-client.h |1 + notmuch-show.c | 20 2 files changed, 17

[PATCH v6 3/6] cli: make --entire-thread=false work for format=json.

2012-05-27 Thread Mark Walters
The --entire-thread option in notmuch-show.c defaults to true when format=json. Previously there was no way to turn this off. This patch makes it respect --entire-thread=false. To do this the patch moves the --entire-thread option to be a keyword option using the new command line parsing to allow

[PATCH v6 4/6] Update devel/schemata for --entire-thread=false

2012-05-27 Thread Mark Walters
Also remove the Json --entire-thread item from devel/TODO. --- devel/TODO |2 -- devel/schemata |2 +- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/devel/TODO b/devel/TODO index 7b750af..eb757af 100644 --- a/devel/TODO +++ b/devel/TODO @@ -92,8 +92,6 @@ and email

[PATCH v6 5/6] emacs: make elide messages use notmuch-show for omitting messages.

2012-05-27 Thread Mark Walters
Previously the elide messages code got the entire-thread from notmuch-show.c and then threw away all non-matching messages. This version calls notmuch-show.c without the --entire-thread flag so it never receives the non-matching messages in the first place. This makes it substantially faster. ---

[PATCH v6 6/6] cli: notmuch-show.c fix whitespace error

2012-05-27 Thread Mark Walters
Fix an existing whitespace error since it is right next to the changes of this series. --- notmuch-show.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notmuch-show.c b/notmuch-show.c index 4e2965e..e19ffda 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@

Re: PATCH: notmuch-mutt macros

2012-05-27 Thread Jameson Graef Rollins
On Sat, May 26 2012, Jason Ryan m...@jasonwryan.com wrote: Two of the three macros shipped in notmuch-mutt.rc did not work; this patch fixes the issue for me. Hi, Jason. I don't use mutt so I unfortunately can't really review this, but for future reference just send the patch directly to the

Re: [PATCH v4 0/4] Allow JSON to use non-entire thread, and use for elide

2012-05-27 Thread Daniel Schoepe
On Tue, 24.04.2012 11:11, Mark Walters wrote: The first three patches implement the client side changes: one to allow null messages to be output in Json (without upsetting the parsing/structure), one to do the command line parsing for --entire-thread=false and one to update the schemata. The