<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch-lib.el, branch 0.13</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.13</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.13'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-05-06T11:48:11Z</updated>
<entry>
<title>emacs: Correctly quote non-text/plain parts in reply</title>
<updated>2012-05-06T11:48:11Z</updated>
<author>
<name>Adam Wolfe Gordon</name>
<email>awg+notmuch@xvx.ca</email>
</author>
<published>2012-05-05T19:30:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f6c170fabca8f39e74705e3813504137811bf162'/>
<id>urn:sha1:f6c170fabca8f39e74705e3813504137811bf162</id>
<content type='text'>
Quote non-text parts nicely by displaying them with mm-display-part
before calling message-cite-original to quote them. HTML-only emails
can now be quoted correctly. We re-use some code from notmuch-show
(notmuch-show-mm-display-part-inline), which has been moved to
notmuch-lib.el.

Mark the test for this feature as not broken.
</content>
</entry>
<entry>
<title>emacs: Fix two bugs in reply</title>
<updated>2012-04-02T20:45:27Z</updated>
<author>
<name>Adam Wolfe Gordon</name>
<email>awg+notmuch@xvx.ca</email>
</author>
<published>2012-04-01T15:24:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3737ca6e268e6f45353bfbcc4ac4b1d548c5908d'/>
<id>urn:sha1:3737ca6e268e6f45353bfbcc4ac4b1d548c5908d</id>
<content type='text'>
Bug 1: Replying from alternate addresses
----------------------------------------

The reply code was inconsistent in its use of symbols and strings for
header names being passed to message.el functions. This caused the
From header to be lookup up incorrectly, causing an additional From
header to be added with the user's primary address instead of the
correct alternate address.

This is fixed by using symbols everywhere, i.e. never using strings
for header names when interacting with message.el.

This change also removes our use of `mail-header`, since we don't use
it anywhere else, and using assq makes it clear how the header lists
are expected to work.

Bug 2: Duplicate headers in emacs 23.2
--------------------------------------

The message.el code in emacs 23.2 assumes that header names will
always be passed as symbols, so our use of strings caused
problems. The symptom was that on 23.2 (and presumably on earlier
versions) the reply message would end up with two of some headers.

Converting everything to symbols also fixes this issue.
</content>
</entry>
<entry>
<title>emacs: Fix mis-named argument to notmuch-get-bodypart-internal</title>
<updated>2012-03-31T11:27:15Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-03-27T01:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=839a80513a2dc961cab9348bd1442f30611b0fe4'/>
<id>urn:sha1:839a80513a2dc961cab9348bd1442f30611b0fe4</id>
<content type='text'>
Previously, this function took an argument called "message-id", even
though it was a general query, rather than a message ID.  This changes
it to "query".
</content>
</entry>
<entry>
<title>emacs: Escape all message ID queries</title>
<updated>2012-03-31T00:27:03Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-03-27T01:37:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ee1180018ee3c772d7ac769222ff9c6940f3c838'/>
<id>urn:sha1:ee1180018ee3c772d7ac769222ff9c6940f3c838</id>
<content type='text'>
This adds a lib function to turn a message ID into a properly escaped
message ID query and uses this function wherever we previously
hand-constructed ID queries.  Wherever this new function is used,
documentation has been clarified to refer to "id: queries" instead of
"message IDs".

This fixes the broken test introduced by the previous patch.
</content>
</entry>
<entry>
<title>emacs: content-type comparison should be case insensitive.</title>
<updated>2012-03-31T00:19:50Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2012-03-25T00:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f57ef643026540d6eb20179ccc92e54445a9d21a'/>
<id>urn:sha1:f57ef643026540d6eb20179ccc92e54445a9d21a</id>
<content type='text'>
The function notmuch-match-content-type was comparing content types
case sensitively. Fix it so it tests case insensitively.

This fixes a bug where emacs would not include any body when replying
to a message with content-type TEXT/PLAIN.
</content>
</entry>
<entry>
<title>emacs: Use the new JSON reply format and message-cite-original</title>
<updated>2012-03-20T01:03:23Z</updated>
<author>
<name>Adam Wolfe Gordon</name>
<email>awg+notmuch@xvx.ca</email>
</author>
<published>2012-03-18T16:32:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=650123510cfa64caf6b20f5239f43433fa6f2941'/>
<id>urn:sha1:650123510cfa64caf6b20f5239f43433fa6f2941</id>
<content type='text'>
Use the new JSON reply format to create replies in emacs. Quote HTML
parts nicely by using mm-display-part to turn them into displayable
text, then quoting them with message-cite-original. This is very
useful for users who regularly receive HTML-only email.

Use message-mode's message-cite-original function to create the
quoted body for reply messages. In order to make this act like the
existing notmuch defaults, you will need to set the following in
your emacs configuration:

message-citation-line-format "On %a, %d %b %Y, %f wrote:"
message-citation-line-function 'message-insert-formatted-citation-line

The tests have been updated to reflect the (ugly) emacs default.
</content>
</entry>
<entry>
<title>emacs: Factor out useful functions into notmuch-lib</title>
<updated>2012-03-20T00:59:24Z</updated>
<author>
<name>Adam Wolfe Gordon</name>
<email>awg+notmuch@xvx.ca</email>
</author>
<published>2012-03-18T16:32:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=950789f3c330d80e083c788777135494dd1bc6d4'/>
<id>urn:sha1:950789f3c330d80e083c788777135494dd1bc6d4</id>
<content type='text'>
Move a few functions related to handling multipart/alternative parts
into notmuch-lib.el, so they can be used by future reply code.
</content>
</entry>
<entry>
<title>emacs: Prefer '[No Subject]' to blank subjects.</title>
<updated>2012-02-04T01:20:15Z</updated>
<author>
<name>David Edmondson</name>
<email>dme@dme.org</email>
</author>
<published>2012-01-30T10:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6bd3d8af5431542f352f084b6366e88b98b019a1'/>
<id>urn:sha1:6bd3d8af5431542f352f084b6366e88b98b019a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>emacs: use a single history for all searches</title>
<updated>2012-01-25T12:33:39Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2012-01-25T01:10:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bc267b70b01c79f6bdda52641e9cd7574a151eff'/>
<id>urn:sha1:bc267b70b01c79f6bdda52641e9cd7574a151eff</id>
<content type='text'>
There are two ways to do search in Emacs UI: search widget in
notmuch-hello buffer and `notmuch-search' function bound to "s".
Before the change, these search mechanisms used different history
lists.  The patch makes notmuch-hello search use the same history list
as `notmuch-search' function.
</content>
</entry>
<entry>
<title>emacs/*.el: changed one-char comment prefix ';' to two; ';;'</title>
<updated>2012-01-21T18:06:17Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2012-01-21T14:44:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=37dec7d7b37afd281f23c0ec7ed9111c24965126'/>
<id>urn:sha1:37dec7d7b37afd281f23c0ec7ed9111c24965126</id>
<content type='text'>
In order for emacs (indent-region) to (re)indent emacs lisp
properly there needs to be at least 2 comment characters (;;).
</content>
</entry>
</feed>
