Jani Nikula writes:
> Add a prefix argument to notmuch-show-stash-message-id to stash thread
> id instead of message id.
LGTM +1
Mark
> ---
> emacs/notmuch-show.el | 14 ++
> 1 file changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/emacs/notmuch-show.el b/emacs/notmuc
On Tue, Dec 04 2012, Austin Clements wrote:
> test_expect_equal_json uses json.tool from the system Python. While
> Python 2 wasn't picky about the encoding of stdin, Python 3 decodes
> stdin strictly according to the environment. Since we set LC_ALL=C
> for the tests, Python 3's json.tool was
Add a prefix argument to notmuch-show-stash-message-id to stash thread
id instead of message id.
---
emacs/notmuch-show.el | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 4d6c014..2245b4f 100644
--- a/emacs/not
On Thu, 06 Dec 2012, Jani Nikula wrote:
> Add a prefix argument to notmuch-show-stash-message-id to stash thread
> id instead of message id.
> ---
> emacs/notmuch-show.el | 13 +
> 1 file changed, 9 insertions(+), 4 deletions(-)
>
> diff --git a/emacs/notmuch-show.el b/emacs/notmuc
On Thu, 06 Dec 2012, Peter Feigl wrote:
> This patch series adds a new output format "sexp" to notmuch-reply,
> notmuch-show and notmuch-search. These are useful for the Android mobile
> client, Emacs and perhaps other Lisp programs as well.
> After the switch to a generic structured output print
Add sections about the new S-Expression output format (--format=sexp) to
the notmuch-search, notmuch-reply and notmuch-show man pages.
---
man/man1/notmuch-reply.1 | 14 ++
man/man1/notmuch-search.1 | 15 ---
man/man1/notmuch-show.1 | 36 -
Add basic tests, the same as for json, for the S-Expression output
format.
---
test/notmuch-test | 1 +
test/sexp | 48
2 files changed, 49 insertions(+)
create mode 100755 test/sexp
diff --git a/test/notmuch-test b/test/notmuch-test
inde
This patch uses the new S-Expression printer in the notmuch CLI (show,
search and reply). You can now use --format=sexp for any of them.
---
devel/schemata | 8 +++-
notmuch-reply.c | 5 +
notmuch-search.c | 6 +-
notmuch-show.c | 36
4 file
All the structured output functions in notmuch-reply and notmuch-show
are renamed to a generic name (as they do not contain any json-specific
code anyway). This patch is a preparation to actually using the new
S-Expression sprinter in notmuch-reply and notmuch-show.
---
devel/schemata | 16 +
This commit adds a structured output printer for Lisp
S-Expressions. Later commits will use this printer in notmuch search,
show and reply.
The structure is the same as json, but:
- arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
- maps are written as p-lists: (:key "value" :other-key "oth
This patch series adds a new output format "sexp" to notmuch-reply,
notmuch-show and notmuch-search. These are useful for the Android mobile
client, Emacs and perhaps other Lisp programs as well.
After the switch to a generic structured output printer, which was
committed some months ago, these pat
From: David Bremner
The idea is not to bother with restore operations if they don't change
the set of tags. This is actually a relatively common case.
In order to avoid fancy datastructures, this method is quadratic in
the number of tags; at least on my mail database this doesn't seem to
be a bi
From: David Bremner
More or less arbitrarily, notmuch-dump.1 gets the more detailed
description of the format.
---
man/man1/notmuch-dump.1| 59
man/man1/notmuch-restore.1 | 59 +++-
2 files changed, 112
From: David Bremner
These one need the completed functionality in notmuch-restore. Fairly
exotic tags are tested, but no weird message id's.
We test each possible input to autodetection, both explicit (with
--format=auto) and implicit (without --format).
---
test/dump-restore | 83 +++
From: David Bremner
Now we can actually round trip these crazy tags and and message ids.
hex-xcode is no longer needed as it's built in.
---
test/dump-restore | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/test/dump-restore b/test/dump-restore
index b4c80
From: David Bremner
This can be enabled with the new --format=batch-tag command line
option to "notmuch restore". The input must consist of lines of the
format:
+|- [...] [--] id:
Each line is interpreted similarly to "notmuch tag" command line
arguments. The delimiter is one or more spaces
From: David Bremner
These are meant to be shared between notmuch-tag and notmuch-restore.
The bulk of the routines implement a "tag operation list" abstract
data type act as a structured representation of a set of tag
operations (typically coming from a single tag command or line of
input).
---
From: David Bremner
This is to give a home to strtok_len. It's a bit silly to add a header
for one routine, but it needs to be shared between several compilation
units (or at least that's the most natural design).
---
util/Makefile.local |3 ++-
util/string-util.c | 34 +++
From: David Bremner
It's important this does not rely on restore, since it hasn't been
written yet.
---
test/dump-restore | 13 +
1 file changed, 13 insertions(+)
diff --git a/test/dump-restore b/test/dump-restore
index bf31266..b4c807f 100755
--- a/test/dump-restore
+++ b/test/du
From: David Bremner
sup is the old format, and remains the default, at least until
restore is converted to parse this format.
Each line of the batch-tag format is modelled on the syntax of notmuch tag:
- "notmuch tag" is omitted from the front of the line
- The dump format only uses query string
Here is a second piece of the tagging/dump/restore series.
it obsoletes 8 of the patches in the series
id:1353792017-31459-1-git-send-email-david at tethera.net
[Patch v3b 1/9] notmuch-dump: add --format=(batch-tag|sup)
[Patch v3b 3/9] util: add string-util.[ch]
[Patch v3b 4/9] tag-util.[
"Jason A. Donenfeld" writes:
> Hi folks,
>
> I wrote a script that imports emails and tags from gmail. It's
> resumable and appears to be working reasonably well. I could use some
> experienced eyes looking at it, as my first exposure to notmuch was
> just a few hours ago.
>
> http://git.zx2c4.co
On Thu, Dec 06 2012, Peter Feigl wrote:
> -/* Any changes to the JSON format should be reflected in the file
> - * devel/schemata. */
> +/* Any changes to the JSON or S-Expression format should be
> + * reflected in the file devel/schemata. */
Can we just make these comments more
rg/pipermail/notmuch/attachments/20121206/476f6f1d/attachment.pgp>
Hi, Peter. For future reference, I think we prefer to have new versions
of patch series in new threads. I think it makes things much easier to
keep track of.
jamie.
On Wed, Dec 05 2012, Peter Feigl wrote:
> This patch series adds a new output format "sexp" to notmuch-reply,
> notmuch-show and
__
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
-- 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/20121206/04a19c82/attachment.pgp>
On Thu, Dec 06 2012, Jani Nikula wrote:
> ---
> devel/TODO |9 -
> 1 file changed, 9 deletions(-)
>
> diff --git a/devel/TODO b/devel/TODO
> index eb757af..277a997 100644
> --- a/devel/TODO
> +++ b/devel/TODO
> @@ -163,15 +163,6 @@ vs. tag-when-all-files-flagged (* above)).
> Add an
or are they documented if they do.
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/20121206/a1e9ae58/attachment.pgp>
From: David Bremner
The idea is not to bother with restore operations if they don't change
the set of tags. This is actually a relatively common case.
In order to avoid fancy datastructures, this method is quadratic in
the number of tags; at least on my mail database this doesn't seem to
be a bi
From: David Bremner
These one need the completed functionality in notmuch-restore. Fairly
exotic tags are tested, but no weird message id's.
We test each possible input to autodetection, both explicit (with
--format=auto) and implicit (without --format).
---
test/dump-restore | 83 +++
From: David Bremner
This can be enabled with the new --format=batch-tag command line
option to "notmuch restore". The input must consist of lines of the
format:
+|- [...] [--] id:
Each line is interpreted similarly to "notmuch tag" command line
arguments. The delimiter is one or more spaces
From: David Bremner
More or less arbitrarily, notmuch-dump.1 gets the more detailed
description of the format.
---
man/man1/notmuch-dump.1| 59
man/man1/notmuch-restore.1 | 59 +++-
2 files changed, 112
From: David Bremner
These are meant to be shared between notmuch-tag and notmuch-restore.
The bulk of the routines implement a "tag operation list" abstract
data type act as a structured representation of a set of tag
operations (typically coming from a single tag command or line of
input).
---
From: David Bremner
Now we can actually round trip these crazy tags and and message ids.
hex-xcode is no longer needed as it's built in.
---
test/dump-restore | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/test/dump-restore b/test/dump-restore
index b4c80
From: David Bremner
This is to give a home to strtok_len. It's a bit silly to add a header
for one routine, but it needs to be shared between several compilation
units (or at least that's the most natural design).
---
util/Makefile.local |3 ++-
util/string-util.c | 34 +++
From: David Bremner
sup is the old format, and remains the default, at least until
restore is converted to parse this format.
Each line of the batch-tag format is modelled on the syntax of notmuch tag:
- "notmuch tag" is omitted from the front of the line
- The dump format only uses query string
From: David Bremner
It's important this does not rely on restore, since it hasn't been
written yet.
---
test/dump-restore | 13 +
1 file changed, 13 insertions(+)
diff --git a/test/dump-restore b/test/dump-restore
index bf31266..b4c807f 100755
--- a/test/dump-restore
+++ b/test/du
Here is a second piece of the tagging/dump/restore series.
it obsoletes 8 of the patches in the series
id:1353792017-31459-1-git-send-email-da...@tethera.net
[Patch v3b 1/9] notmuch-dump: add --format=(batch-tag|sup)
[Patch v3b 3/9] util: add string-util.[ch]
[Patch v3b 4/9] tag-util.[ch]
Mark Walters writes:
> Currently an attempt to stash a non-existent field (eg cc when not
> present) throws an error. Catch this case and give the user a warning
> message.
pushed,
d
Mark Walters writes:
> Previously refreshing the notmuch show buffer did not remove overlays
> which meant that if the user refreshed a message with images the
> images would remain and then the new text was added after.
pushed,
d
Jani Nikula writes:
> ---
> NEWS | 10 ++
> 1 file changed, 10 insertions(+)
Pushed,
d
Peter Feigl writes:
> test/parse-time is a binary that is generated when running make
> test. It should be ignored by git.
pushed,
d
Peter Feigl writes:
> /usr/bin/ld: note: '_ZNSs4_Rep10_M_destroyERKSaIcE@@GLIBCXX_3.4' is defined
> in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line
pushed,
d
On Thu, Dec 06 2012, Peter Feigl wrote:
> This patch uses the new S-Expression printer in the notmuch CLI (show,
> search and reply). You can now use --format=sexp for any of them.
> ---
> devel/schemata | 8 +++-
> notmuch-reply.c | 5 +
> notmuch-search.c | 6 +-
> notmuch-sh
On Thu, Dec 06 2012, Peter Feigl wrote:
> All the structured output functions in notmuch-reply and notmuch-show
> are renamed to a generic name (as they do not contain any json-specific
> code anyway). This patch is a preparation to actually using the new
> S-Expression sprinter in notmuch-reply
On Thu, Dec 06 2012, Peter Feigl wrote:
> This commit adds a structured output printer for Lisp
> S-Expressions. Later commits will use this printer in notmuch search,
> show and reply.
>
> The structure is the same as json, but:
> - arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
> - map
Hi folks,
I wrote a script that imports emails and tags from gmail. It's
resumable and appears to be working reasonably well. I could use some
experienced eyes looking at it, as my first exposure to notmuch was
just a few hours ago.
http://git.zx2c4.com/gmail-notmuch/tree/gmail-notmuch.py
Thanks
Add a prefix argument to notmuch-show-stash-message-id to stash thread
id instead of message id.
---
emacs/notmuch-show.el | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 4d6c014..658a2be 100644
--- a/emacs/n
ext 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/20121206/ccce459f/attachment.pgp>
On Thu, 06 Dec 2012, Jani Nikula wrote:
> Add a prefix argument to notmuch-show-stash-message-id to stash thread
> id instead of message id.
> ---
> emacs/notmuch-show.el | 13 +
> 1 file changed, 9 insertions(+), 4 deletions(-)
>
> diff --git a/emacs/notmuch-show.el b/emacs/notmuc
---
devel/TODO |9 -
1 file changed, 9 deletions(-)
diff --git a/devel/TODO b/devel/TODO
index eb757af..277a997 100644
--- a/devel/TODO
+++ b/devel/TODO
@@ -163,15 +163,6 @@ vs. tag-when-all-files-flagged (* above)).
Add an interface to accept a "key" and a byte stream, rather than a
Add new format text0, which is otherwise the same as text, but use the
null character as separator instead of the newline character. This is
similar to find(1) -print0 option, and works together with the
xargs(1) -0 option.
---
notmuch-search.c | 11 +--
1 file changed, 9 insertions(+),
Same as the text formatter, but with each field separated by a null
character rather than a newline character.
---
sprinter-text.c | 22 ++
sprinter.h |6 ++
2 files changed, 28 insertions(+)
diff --git a/sprinter-text.c b/sprinter-text.c
index 10343be..7779488
On Thu, 06 Dec 2012, Peter Feigl wrote:
> This patch series adds a new output format "sexp" to notmuch-reply,
> notmuch-show and notmuch-search. These are useful for the Android mobile
> client, Emacs and perhaps other Lisp programs as well.
> After the switch to a generic structured output print
Mark Walters writes:
> Currently an attempt to stash a non-existent field (eg cc when not
> present) throws an error. Catch this case and give the user a warning
> message.
pushed,
d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.
Mark Walters writes:
> Previously refreshing the notmuch show buffer did not remove overlays
> which meant that if the user refreshed a message with images the
> images would remain and then the new text was added after.
pushed,
d
___
notmuch mailing
Jani Nikula writes:
> ---
> NEWS | 10 ++
> 1 file changed, 10 insertions(+)
Pushed,
d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch
Peter Feigl writes:
> test/parse-time is a binary that is generated when running make
> test. It should be ignored by git.
pushed,
d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch
Peter Feigl writes:
> /usr/bin/ld: note: '_ZNSs4_Rep10_M_destroyERKSaIcE@@GLIBCXX_3.4' is defined
> in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line
pushed,
d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchma
On Tue, Dec 04 2012, Austin Clements wrote:
> test_expect_equal_json uses json.tool from the system Python. While
> Python 2 wasn't picky about the encoding of stdin, Python 3 decodes
> stdin strictly according to the environment. Since we set LC_ALL=C
> for the tests, Python 3's json.tool was
All the structured output functions in notmuch-reply and notmuch-show
are renamed to a generic name (as they do not contain any json-specific
code anyway). This patch is a preparation to actually using the new
S-Expression sprinter in notmuch-reply and notmuch-show.
---
devel/schemata | 16 +
This commit adds a structured output printer for Lisp
S-Expressions. Later commits will use this printer in notmuch search,
show and reply.
The structure is the same as json, but:
- arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
- maps are written as p-lists: (:key "value" :other-key "oth
Add basic tests, the same as for json, for the S-Expression output
format.
---
test/notmuch-test | 1 +
test/sexp | 48
2 files changed, 49 insertions(+)
create mode 100755 test/sexp
diff --git a/test/notmuch-test b/test/notmuch-test
inde
This patch uses the new S-Expression printer in the notmuch CLI (show,
search and reply). You can now use --format=sexp for any of them.
---
devel/schemata | 8 +++-
notmuch-reply.c | 5 +
notmuch-search.c | 6 +-
notmuch-show.c | 36
4 file
Add sections about the new S-Expression output format (--format=sexp) to
the notmuch-search, notmuch-reply and notmuch-show man pages.
---
man/man1/notmuch-reply.1 | 14 ++
man/man1/notmuch-search.1 | 15 ---
man/man1/notmuch-show.1 | 36 -
This patch series adds a new output format "sexp" to notmuch-reply,
notmuch-show and notmuch-search. These are useful for the Android mobile
client, Emacs and perhaps other Lisp programs as well.
After the switch to a generic structured output printer, which was
committed some months ago, these pat
Add a prefix argument to notmuch-show-stash-message-id to stash thread
id instead of message id.
---
emacs/notmuch-show.el | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 4d6c014..2245b4f 100644
--- a/emacs/not
Add sections about the new S-Expression output format (--format=sexp) to
the notmuch-search, notmuch-reply and notmuch-show man pages.
---
man/man1/notmuch-reply.1 | 14 ++
man/man1/notmuch-search.1 | 15 ---
man/man1/notmuch-show.1 | 36 -
Add basic tests, the same as for json, for the S-Expression output
format.
---
test/notmuch-test | 1 +
test/sexp | 48
2 files changed, 49 insertions(+)
create mode 100755 test/sexp
diff --git a/test/notmuch-test b/test/notmuch-test
inde
This patch uses the new S-Expression printer in the notmuch CLI (show,
search and reply). You can now use --format=sexp for any of them.
---
devel/schemata | 8 +++-
notmuch-reply.c | 5 +
notmuch-search.c | 6 +-
notmuch-show.c | 35 +++
4 files
All the structured output functions in notmuch-reply and notmuch-show
are renamed to a generic name (as they do not contain any json-specific
code anyway). This patch is a preparation to actually using the new
S-Expression sprinter in notmuch-reply and notmuch-show.
---
notmuch-client.h | 8 -
This commit adds a structured output printer for Lisp
S-Expressions. Later commits will use this printer in notmuch search,
show and reply.
The structure is the same as json, but:
- arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
- maps are written as p-lists: (:key "value" :other-key "oth
This patch series adds a new output format "sexp" to notmuch-reply,
notmuch-show and notmuch-search. These are useful for the Android mobile
client, Emacs and perhaps other Lisp programs as well.
After the switch to a generic structured output printer, which was
committed some months ago, these pat
Just a nit: It would be nice to also replace _json with _sprinter in
devel/schemata (those cross-references are always out of date anyway,
but might as well try).
On Thu, 06 Dec 2012, Peter Feigl wrote:
> All the structured output functions in notmuch-reply and notmuch-show
> are renamed to a gen
On Thu, 06 Dec 2012, Peter Feigl wrote:
> This commit adds a structured output printer for Lisp
> S-Expressions. Later commits will use this printer in notmuch search,
> show and reply.
>
> The structure is the same as json, but:
> - arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
> - maps
Add sections about the new S-Expression output format (--format=sexp) to
the notmuch-search, notmuch-reply and notmuch-show man pages.
---
man/man1/notmuch-reply.1 | 14 ++
man/man1/notmuch-search.1 | 15 ---
man/man1/notmuch-show.1 | 36 -
Add basic tests, the same as for json, for the S-Expression output
format.
---
test/notmuch-test | 1 +
test/sexp | 48
2 files changed, 49 insertions(+)
create mode 100755 test/sexp
diff --git a/test/notmuch-test b/test/notmuch-test
inde
This patch uses the new S-Expression printer in the notmuch CLI (show,
search and reply). You can now use --format=sexp for any of them.
---
devel/schemata | 8 +++-
notmuch-reply.c | 5 +
notmuch-search.c | 6 +-
notmuch-show.c | 35 +++
4 files
All the structured output functions in notmuch-reply and notmuch-show
are renamed to a generic name (as they do not contain any json-specific
code anyway). This patch is a preparation to actually using the new
S-Expression sprinter in notmuch-reply and notmuch-show.
---
notmuch-client.h | 8 -
This commit adds a structured output printer for Lisp
S-Expressions. Later commits will use this printer in notmuch search,
show and reply.
The structure is the same as json, but:
- arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
- maps are written as p-lists: (:key "value" :other-key "oth
This patch series adds a new output format "sexp" to notmuch-reply,
notmuch-show and notmuch-search. These are useful for the Android mobile
client and perhaps other Lisp programs as well.
After the switch to a generic structured output printer, which was
committed some months ago, these patches ju
On Thu, 06 Dec 2012, Peter Feigl wrote:
> This patch series adds a new output format "sexp" to notmuch-reply,
> notmuch-show and notmuch-search. These are useful for the Android mobile
> client and perhaps other Lisp programs as well.
> After the switch to a generic structured output printer, whi
On Thu, 06 Dec 2012, Peter Feigl wrote:
> Add sections about the new S-Expression output format (--format=sexp) to
> the notmuch-search, notmuch-reply and notmuch-show man pages.
> ---
> man/man1/notmuch-reply.1 | 14 ++
> man/man1/notmuch-search.1 | 15 ---
> man/man1/no
On Thu, 06 Dec 2012, Peter Feigl wrote:
> Add basic tests, the same as for json, for the S-Expression output
> format.
> ---
> test/notmuch-test | 1 +
> test/sexp | 48
> 2 files changed, 49 insertions(+)
> create mode 100755 test/sexp
>
Just a nit: It would be nice to also replace _json with _sprinter in
devel/schemata (those cross-references are always out of date anyway,
but might as well try).
On Thu, 06 Dec 2012, Peter Feigl wrote:
> All the structured output functions in notmuch-reply and notmuch-show
> are renamed to a gen
On Thu, 06 Dec 2012, Peter Feigl wrote:
> This commit adds a structured output printer for Lisp
> S-Expressions. Later commits will use this printer in notmuch search,
> show and reply.
>
> The structure is the same as json, but:
> - arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
> - maps
On Thu, Dec 06 2012, Peter Feigl wrote:
> This patch uses the new S-Expression printer in the notmuch CLI (show,
> search and reply). You can now use --format=sexp for any of them.
> ---
> devel/schemata | 8 +++-
> notmuch-reply.c | 5 +
> notmuch-search.c | 6 +-
> notmuch-sh
On Thu, Dec 06 2012, Peter Feigl wrote:
> All the structured output functions in notmuch-reply and notmuch-show
> are renamed to a generic name (as they do not contain any json-specific
> code anyway). This patch is a preparation to actually using the new
> S-Expression sprinter in notmuch-reply
On Thu, Dec 06 2012, Peter Feigl wrote:
> This commit adds a structured output printer for Lisp
> S-Expressions. Later commits will use this printer in notmuch search,
> show and reply.
>
> The structure is the same as json, but:
> - arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
> - map
On Wed, Dec 05 2012, Jani Nikula wrote:
> diff --git a/test/count b/test/count
> index 300b171..ecae40e 100755
> --- a/test/count
> +++ b/test/count
> @@ -6,6 +6,11 @@ add_email_corpus
>
> SEARCH="\"*\""
>
> +test_begin_subtest "check the query"
> +test_expect_equal \
> +"`notmuch count $
All the structured output functions in notmuch-reply and notmuch-show
are renamed to a generic name (as they do not contain any json-specific
code anyway). This patch is a preparation to actually using the new
S-Expression sprinter in notmuch-reply and notmuch-show.
---
notmuch-client.h | 8 -
Add basic tests, the same as for json, for the S-Expression output
format.
---
test/notmuch-test | 1 +
test/sexp | 48
2 files changed, 49 insertions(+)
create mode 100755 test/sexp
diff --git a/test/notmuch-test b/test/notmuch-test
inde
Add sections about the new S-Expression output format (--format=sexp) to
the notmuch-search, notmuch-reply and notmuch-show man pages.
---
man/man1/notmuch-reply.1 | 14 ++
man/man1/notmuch-search.1 | 15 ---
man/man1/notmuch-show.1 | 36 -
This commit adds a structured output printer for Lisp
S-Expressions. Later commits will use this printer in notmuch search,
show and reply.
The structure is the same as json, but:
- arrays are written as lists: ("foo" "bar" "baaz" 1 2 3)
- maps are written as p-lists: (:key "value" :other-key "oth
This patch uses the new S-Expression printer in the notmuch CLI (show,
search and reply). You can now use --format=sexp for any of them.
---
devel/schemata | 8 +++-
notmuch-reply.c | 5 +
notmuch-search.c | 6 +-
notmuch-show.c | 35 +++
4 files
This patch series adds a new output format "sexp" to notmuch-reply,
notmuch-show and notmuch-search. These are useful for the Android mobile
client, Emacs and perhaps other Lisp programs as well.
After the switch to a generic structured output printer, which was
committed some months ago, these pat
On Thu, 06 Dec 2012, Peter Feigl wrote:
> This patch series adds a new output format "sexp" to notmuch-reply,
> notmuch-show and notmuch-search. These are useful for the Android mobile
> client and perhaps other Lisp programs as well.
> After the switch to a generic structured output printer, whi
On Thu, 06 Dec 2012, Peter Feigl wrote:
> Add sections about the new S-Expression output format (--format=sexp) to
> the notmuch-search, notmuch-reply and notmuch-show man pages.
> ---
> man/man1/notmuch-reply.1 | 14 ++
> man/man1/notmuch-search.1 | 15 ---
> man/man1/no
On Thu, 06 Dec 2012, Peter Feigl wrote:
> Add basic tests, the same as for json, for the S-Expression output
> format.
> ---
> test/notmuch-test | 1 +
> test/sexp | 48
> 2 files changed, 49 insertions(+)
> create mode 100755 test/sexp
>
99 matches
Mail list logo