<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/emacs, branch 0.15.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.15.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.15.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-01-07T02:47:35Z</updated>
<entry>
<title>emacs: Use the minibuffer for CLI error reporting</title>
<updated>2013-01-07T02:47:35Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-01-03T21:47:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=401dbebd4803477563eff03d719605ed37a8e44d'/>
<id>urn:sha1:401dbebd4803477563eff03d719605ed37a8e44d</id>
<content type='text'>
We recently switched to popping up a buffer to report CLI errors, but
this was too intrusive, especially for transient errors and especially
since we made fewer things ignore errors.  This patch changes this to
display a basic error message in the minibuffer (using Emacs' usual
error handling path) and, if there are additional details, to log
these to a separate error buffer and reference the error buffer from
the minibuffer message.  This is more in line with how Emacs typically
handles errors, but makes the details available to the user without
flooding them with the details.

Given this split, we pare down the basic message and make it more
user-friendly, and also make the verbose message even more detailed
(and more debugging-oriented).
</content>
</entry>
<entry>
<title>emacs: Use --format-version for search, show, and reply</title>
<updated>2012-12-16T21:22:26Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-12-16T03:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2cdb3f54f71e5e415a930aaa36452ffe1db04d06'/>
<id>urn:sha1:2cdb3f54f71e5e415a930aaa36452ffe1db04d06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: Test search's handling of subprocess errors</title>
<updated>2012-12-16T21:17:58Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-12-15T20:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1e12b91b3cf823d21f7edf8c0f1c687df56fec14'/>
<id>urn:sha1:1e12b91b3cf823d21f7edf8c0f1c687df56fec14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: emacs: new tests "notmuch-show: {add,remove} multiple tags {to,from} single message"</title>
<updated>2012-12-11T14:01:40Z</updated>
<author>
<name>Pieter Praet</name>
<email>pieter@praet.org</email>
</author>
<published>2012-02-24T22:30:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e7bd40aa4cdc54322297c20d9010f77e6be4fe43'/>
<id>urn:sha1:e7bd40aa4cdc54322297c20d9010f77e6be4fe43</id>
<content type='text'>
* test/emacs:

  - Rename subtests "{Add,Remove} tag from notmuch-show view" to
    "notmuch-show: {add,remove} single tag {to,from} single message"
    to be consistent with the following tests.

  - New subtest "notmuch-show: add multiple tags to single message":
    `notmuch-show-add-tag' ("+") can add multiple tags to a message.

  - New subtest "notmuch-show: remove multiple tags from single message":
    `notmuch-show-remove-tag' ("-") can remove multiple tags from a message.
</content>
</entry>
<entry>
<title>emacs: less guessing of character set in messages</title>
<updated>2012-11-27T02:06:41Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2012-11-18T20:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=59c994e770581acb8effde7057d09823e1194830'/>
<id>urn:sha1:59c994e770581acb8effde7057d09823e1194830</id>
<content type='text'>
The macro with-current-notmuch-show-message executes command
`notmuch show --format=raw id:...` which just outputs the contents
of the mail file verbatim (into temporary buffer). In case e.g. utf-8
locale is used the temporary buffer has buffer-file-coding-system as
utf-8. In this case Emacs converts the data to multibyte format, guessing
that input is in utf-8.
However, the "raw" (MIME) message may contain octet data in any other
8bit format, and as no (MIME-)content spesific handling to the message
is done at this point, conversion to other formats may lose information.
By setting coding-system-for-read 'no-conversion drops the conversion part
and makes this handle input as notmuch-get-bodypart-internal() does.
This marks the broken test in previous change fixed.
</content>
</entry>
<entry>
<title>test/emacs: test saving of attachment containing 8bit octets</title>
<updated>2012-11-27T01:58:15Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2012-11-18T20:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0c4dea4e48c4b8c7f9e7a4a19e983b3c0ca81be3'/>
<id>urn:sha1:0c4dea4e48c4b8c7f9e7a4a19e983b3c0ca81be3</id>
<content type='text'>
This test catches the case 8bit octets in an attachment gets converted
or lost when saving attachment to the file.
This test is marked known broken.
</content>
</entry>
<entry>
<title>test: always source test-lib.sh as ./test-lib.sh</title>
<updated>2012-11-25T02:07:46Z</updated>
<author>
<name>Tomi Ollila</name>
<email>too@iki.fi</email>
</author>
<published>2012-11-21T15:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3bd8494da0dfef973c1328b16cd848f144e3ac27'/>
<id>urn:sha1:3bd8494da0dfef973c1328b16cd848f144e3ac27</id>
<content type='text'>
There are currently 45 TESTS scripts. 36 of those load
test-lib.sh using '. ./test-lib.sh' and 9 '. test-lib.sh'.

In latter case test-lib.sh is first searched from directories
in PATH (posix) and then from current directory (bash feature).

Changed the 9 files to execute '. ./test-lib.sh'. The test-lib.sh
should never be loaded from directory in PATH.
</content>
</entry>
<entry>
<title>test: Produce useful output when the HTML with images test fails</title>
<updated>2012-11-21T22:52:23Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-20T15:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=73a9fcf89bd7411d7d69f133a8c8dee313d93a58'/>
<id>urn:sha1:73a9fcf89bd7411d7d69f133a8c8dee313d93a58</id>
<content type='text'>
Previously, this would simply indicate that the grep failed without
any indication of the Emacs output it failed on.  Now we take
advantage of the test framework's handling of stdout to display the
incorrect Emacs output if the test fails.
</content>
</entry>
<entry>
<title>test: Fix HTML rendering test</title>
<updated>2012-11-15T22:15:10Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-12T01:12:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3ac76816c51b6d989470ba470ba868fa2eb93b23'/>
<id>urn:sha1:3ac76816c51b6d989470ba470ba868fa2eb93b23</id>
<content type='text'>
The test designed to exercise Emacs' rendering of HTML emails
containing images inadvertently assumed w3m was available under Emacs
23.  The real point of this test was to check that Emacs 24's shr
renderer didn't crash when given img tags, so use shr if it's
available, html2text otherwise (which is built in), and do only a
simple sanity check of the result.
</content>
</entry>
<entry>
<title>emacs: Introduce generic boolean term escaping function</title>
<updated>2012-10-27T12:33:55Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-10-26T20:18:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1a4cb8fd29c52445fc3de70e92de377f00cdc4a7'/>
<id>urn:sha1:1a4cb8fd29c52445fc3de70e92de377f00cdc4a7</id>
<content type='text'>
Currently, we only properly escape stashed id queries, but there are
other places where the Emacs UI constructs queries for boolean terms.
Since this escaping function is meant to be used in other places, it
avoids escaping strings that don't need escaping.
</content>
</entry>
</feed>
