<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs, branch 0.16</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.16</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.16'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-07-31T20:46:09Z</updated>
<entry>
<title>emacs: bugfix attachment content-type as mime-type handling</title>
<updated>2013-07-31T20:46:09Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-07-31T18:39:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=15f5fc513d45cb6173c1a319e3c58b724c3da4db'/>
<id>urn:sha1:15f5fc513d45cb6173c1a319e3c58b724c3da4db</id>
<content type='text'>
Notmuch puts attachments in as declared content-type except when the
content-type is application/octet-stream it tries to guess the type
from the filename/extension. This means that viewing a pdf (for
example) which is sent as application/octet-strem invokes the pdf
viewer rather than just offering to save the part.

Recent changes to the attachment handling (commit 1546387d) changed
(broke) this. This patch stores the calculated mime-type with the part
and changes the attachment part handlers can use it instead.
</content>
</entry>
<entry>
<title>emacs: hello: make --batch error gracefully</title>
<updated>2013-07-27T21:22:37Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-07-04T22:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e395f4507d473c190a649094eaee05bceac17af0'/>
<id>urn:sha1:e395f4507d473c190a649094eaee05bceac17af0</id>
<content type='text'>
Recently notmuch-hello was converted to use batch count. However, it
seems that several people run different versions of notmuch-emacs and
notmuch-cli so this batch makes emacs fail with an error message if
--batch is not available in the CLI.

Amended by: db
</content>
</entry>
<entry>
<title>emacs: dropped rest of now-unused JSON functionality</title>
<updated>2013-07-20T12:13:48Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-07-06T12:49:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2bd374c91efd6ed0c42fb6ff5b4b969ec0e16cee'/>
<id>urn:sha1:2bd374c91efd6ed0c42fb6ff5b4b969ec0e16cee</id>
<content type='text'>
Notmuch cli provides all structured data previously provided
in json format now in s-expression format, rendering all current
json functionality obsolete.
</content>
</entry>
<entry>
<title>emacs: Remove `notmuch-call-notmuch-json'</title>
<updated>2013-06-25T05:57:28Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-06-23T23:43:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8222af3ecc7e0c33efc834acbae82df1356abe8d'/>
<id>urn:sha1:8222af3ecc7e0c33efc834acbae82df1356abe8d</id>
<content type='text'>
This function is no longer used.
</content>
</entry>
<entry>
<title>emacs: Use S-exp format everywhere</title>
<updated>2013-06-25T05:57:13Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-06-23T23:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=43251ab653a20c0f7cca709d36da895c3558e125'/>
<id>urn:sha1:43251ab653a20c0f7cca709d36da895c3558e125</id>
<content type='text'>
This switches `notmuch-mua-reply' and `notmuch-query-get-threads' to
the S-exp format.  These were the last two uses of the JSON format in
the Emacs frontend.
</content>
</entry>
<entry>
<title>emacs: Introduce `notmuch-call-notmuch-sexp'</title>
<updated>2013-06-25T05:57:02Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-06-23T23:43:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2626d815733b5ee04080bc81c75311d812b7c6f5'/>
<id>urn:sha1:2626d815733b5ee04080bc81c75311d812b7c6f5</id>
<content type='text'>
This is just like `notmuch-call-notmuch-json', but parses S-expression
output.  Note that, also like `notmuch-call-notmuch-json', this
doesn't consider trailing data to be an error, which may or may not be
what we want in the long run.
</content>
</entry>
<entry>
<title>emacs: Remove v command</title>
<updated>2013-06-25T05:52:10Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-06-03T15:54:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eb7d096edce8443f3db49376ee485cf357523d3b'/>
<id>urn:sha1:eb7d096edce8443f3db49376ee485cf357523d3b</id>
<content type='text'>
This removes the v command, since we now have much nicer part commands,
and deprecates the underlying notmuch-show-view-all-mime-parts.  This
also means that people who try using the old unprefixed 'v' command on
a part button will no longer be greeted by ALL of their parts popping
up.
</content>
</entry>
<entry>
<title>emacs: update search sort order help to match code</title>
<updated>2013-06-25T05:51:37Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-06-03T17:56:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c1a42652a173a4bb70ab72388e6ad150d19a2b06'/>
<id>urn:sha1:c1a42652a173a4bb70ab72388e6ad150d19a2b06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>emacs: show: change emacs interactive pipe message.</title>
<updated>2013-06-25T05:49:33Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-06-09T08:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7bc404f0a409a3ddae4178245445ffa922c4c544'/>
<id>urn:sha1:7bc404f0a409a3ddae4178245445ffa922c4c544</id>
<content type='text'>
Previously the query string for piping a message to a command was
"Pipe message to command: " regardless of whether the function was
called with a prefix argument (which pipes all open messages to the
command). This patch modifies the `interactive' command to reflect
this.
</content>
</entry>
<entry>
<title>emacs: show: implement lazy hidden part handling</title>
<updated>2013-06-12T15:07:19Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-06-10T04:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d0bd88f06db6a7a83f6fb5477f293f7d80db14c7'/>
<id>urn:sha1:d0bd88f06db6a7a83f6fb5477f293f7d80db14c7</id>
<content type='text'>
This adds the actual code to do the lazy insertion of hidden parts.

We use a memory inefficient but simple method: when we come to insert
the part if it is hidden we just store all of the arguments to the
part insertion function as a button property. This means when we want
to show the part we can just resume where we left off.

One thing is that we can't tell if a lazy part will produce text until
we try to render it so when unhiding a part we check to see if it
rendered; if not we invoke the default part handler (e.g. an external
viewer).

Also, we would like to insert the lazy part at the start of the line
after the part button. But if this line has some text properties
(e.g. the colours for a following message header) then the lazy part
gets these properties. Thus we start at the end of the part button
line, insert a newline, insert the lazy part, and then delete the
extra newline at the end of the part.
</content>
</entry>
</feed>
