[PATCH] test: use (format "%S") to print nil in emacs test.

2012-08-31 Thread Tomi Ollila
On Fri, Aug 31 2012, Tomi Ollila wrote: > On Fri, Aug 31 2012, Austin Clements wrote: > >> LGTM. Alternatively, the test could be >> (null (notmuch-wash)) >> with the correct answer being 't'. That would avoid the awkward >> detour through a string, but either way is good as long as

[PATCH] test: use (format "%S") to print nil in emacs test.

2012-08-31 Thread Tomi Ollila
On Fri, Aug 31 2012, Austin Clements wrote: > LGTM. Alternatively, the test could be > (null (notmuch-wash)) > with the correct answer being 't'. That would avoid the awkward > detour through a string, but either way is good as long as this test > passes. I was going to vote this (null

[PATCH] test: use (format "%S") to print nil in emacs test.

2012-08-31 Thread David Bremner
david at tethera.net writes: > From: David Bremner > > The behaviour of "emacsclient --eval nil" changed from emacs23 to > emacs24, and in emacs24 it prints 'nil' rather than an empty string. pushed, d

[PATCH] test: use (format "%S") to print nil in emacs test.

2012-08-31 Thread Austin Clements
LGTM. Alternatively, the test could be (null (notmuch-wash)) with the correct answer being 't'. That would avoid the awkward detour through a string, but either way is good as long as this test passes. Quoth david at tethera.net on Aug 30 at 10:09 pm: > From: David Bremner > > The

Re: [PATCH] test: use (format %S) to print nil in emacs test.

2012-08-31 Thread David Bremner
da...@tethera.net writes: From: David Bremner brem...@debian.org The behaviour of emacsclient --eval nil changed from emacs23 to emacs24, and in emacs24 it prints 'nil' rather than an empty string. pushed, d ___ notmuch mailing list

[PATCH] test: use (format "%S") to print nil in emacs test.

2012-08-30 Thread da...@tethera.net
From: David Bremner The behaviour of "emacsclient --eval nil" changed from emacs23 to emacs24, and in emacs24 it prints 'nil' rather than an empty string. (format "%S" foo) produces a sexpr form of foo, and is consistent between the two versions. --- This fixes another test

[PATCH] test: use (format %S) to print nil in emacs test.

2012-08-30 Thread david
From: David Bremner brem...@debian.org The behaviour of emacsclient --eval nil changed from emacs23 to emacs24, and in emacs24 it prints 'nil' rather than an empty string. (format %S foo) produces a sexpr form of foo, and is consistent between the two versions. --- This fixes another test