<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch.el, branch 0.3</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.3</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.3'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-04-27T06:00:20Z</updated>
<entry>
<title>emacs: Tweak search-buffer naming to search list in reverse order</title>
<updated>2010-04-27T06:00:20Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-27T06:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0d8e26d0e3324e28424329dd79d4c44b849b27ce'/>
<id>urn:sha1:0d8e26d0e3324e28424329dd79d4c44b849b27ce</id>
<content type='text'>
The complete-string matching of commit
f2ebe3ac446afda9ced6507dc391865464ccdcaa
defeats the substitution of partial search
strings when the user manually types a
long search string that just happens to
partially match a saved search.

For example, typing "tag:inbox and not tag:foo"
should result in "[inbox] and not tag:foo" but
this has been broken since that commit.

As a compromise between this feature and what the
commit was trying to achieve, we now reverse the
saved-searches list before looking for a match.
This happens to work for me, but won't necessarily
work in general.

What we really want is the longest match, but rassoc-if
just gives us the first match. All of this is just about
creating slightly nice search-buffer names. So if anyone
really cares about making the names *even* nicer, then
they could improve this further.
</content>
</entry>
<entry>
<title>emacs: Rename search buffers with "saved-search" not "folder"</title>
<updated>2010-04-27T05:58:46Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-27T05:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6731ab1037aecb022ed593e6ae306a042b58dbb8'/>
<id>urn:sha1:6731ab1037aecb022ed593e6ae306a042b58dbb8</id>
<content type='text'>
Since we recently renamed everything from notmuch-folders to
notmuch-saved-searches, fix up the generated names in the search
buffers to match.
</content>
</entry>
<entry>
<title>emacs: Match entire saved-search when computing search-view buffer name</title>
<updated>2010-04-27T05:49:45Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-27T05:49:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f2ebe3ac446afda9ced6507dc391865464ccdcaa'/>
<id>urn:sha1:f2ebe3ac446afda9ced6507dc391865464ccdcaa</id>
<content type='text'>
I happen to have a lot of saved searches that are variants of the
tag:inbox search, (such as "tag:inbox and tag:notmuch"). The logic for
these was always matching inbox first, resulting in "[ inbox ] and
tag:notmuch" rather than "notmuch" as desired.

Anchor the regular expression on both ends to make it look harder for
the better match.
</content>
</entry>
<entry>
<title>emacs: Rip out all of the notmuch-folder code.</title>
<updated>2010-04-27T05:42:07Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-27T05:42:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a4669217600e4536dc0c49f0255af5e2d9bc183f'/>
<id>urn:sha1:a4669217600e4536dc0c49f0255af5e2d9bc183f</id>
<content type='text'>
We are asserting that the new notmuch-hello implementation, (available
by just calling `notmuch') is just as easy to use as the old
notmuch-folder. So let's remove what's now a largely redundant
implementation.

To make this transition easier, we are still supporting the
notmuch-folders variable name, and we still provide `notmuch-folder'
as an alias which can be invoked to get the new notmuch-hello
functionality.
</content>
</entry>
<entry>
<title>emacs: Add a notmuch-saved-searches function.</title>
<updated>2010-04-27T05:37:11Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-27T05:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f1f7e71e0347672e0658362c513e49c05b0f4161'/>
<id>urn:sha1:f1f7e71e0347672e0658362c513e49c05b0f4161</id>
<content type='text'>
We use this function to abstract away the common 3-step process for
looking for a value for the saved-searches variable:

	1. Look at the notmuch-saved-searches variable itself
	2. Look at the notmuch-folders vaiable
	3. Use a default value

We were already using this logic (open-coded) in notmuch-hello, but
notmuch.el was accessing notmuch-folders directly for the clever name
selection of search buffers.
</content>
</entry>
<entry>
<title>Integrate notmuch-maildir-fcc into notmuch</title>
<updated>2010-04-26T18:58:34Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2010-04-26T08:23:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=36245db69d24df8995615fd48e5dca8728e5042e'/>
<id>urn:sha1:36245db69d24df8995615fd48e5dca8728e5042e</id>
<content type='text'>
Require notmuch-maildir-fcc and also install it.
Rename all jkr/* functions to notmuch-maildir-fcc-*

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>emacs: Remove duplicate declaration of `notmuch-folders'</title>
<updated>2010-04-26T17:45:05Z</updated>
<author>
<name>David Edmondson</name>
<email>dme@dme.org</email>
</author>
<published>2010-04-26T15:09:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=975307c945575bc660b451d13291956271e92e93'/>
<id>urn:sha1:975307c945575bc660b451d13291956271e92e93</id>
<content type='text'>
Reviewed-by: Carl Worth &lt;cworth@cworth.org&gt;

This variable was moved from notmuch.el to notmuch-lib.el some time
ago, but the declaration in notmuch.el was left around. Clean that up.
</content>
</entry>
<entry>
<title>emacs: `notmuch' should display the `notmuch-hello' interface</title>
<updated>2010-04-26T17:37:35Z</updated>
<author>
<name>David Edmondson</name>
<email>dme@dme.org</email>
</author>
<published>2010-04-26T15:07:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=98cf886120066c20d0f6a69c6dcfc50741badca5'/>
<id>urn:sha1:98cf886120066c20d0f6a69c6dcfc50741badca5</id>
<content type='text'>
Reviewed-by: Carl Worth &lt;cworth@cworth.org&gt;

The notmuch-hello functionality is now sufficiently useful that we
want to make it the default view of notmuch for new users. This also
effectively hides the "hello" name from the user, so we'll be free to
change that in the implementation if necessary.

This change also shuffles the requires between notmuch.el and
notmuch-hello.el. This fixes things so that our documented (require
'notmuch) is sufficient for getting the notmuch-hello functionality.

Finally, the shuffling caused the notmuch-search-oldest-first variable
from one file to the other. While doing that, give this variable the
defcustom treatment for easier customization.
</content>
</entry>
<entry>
<title>emacs: Fix `notmuch-search-insert-field'</title>
<updated>2010-04-26T15:23:48Z</updated>
<author>
<name>David Edmondson</name>
<email>dme@dme.org</email>
</author>
<published>2010-04-26T12:16:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6afa0b16a3bcf2a2bfd176e0f14ca0fcced649b5'/>
<id>urn:sha1:6afa0b16a3bcf2a2bfd176e0f14ca0fcced649b5</id>
<content type='text'>
Compare the formatted version of the authors with the formatted sample
string rather than the un-formatted authors with the formatted sample
string.
</content>
</entry>
<entry>
<title>emacs: Re-arrange message sending code</title>
<updated>2010-04-23T22:41:33Z</updated>
<author>
<name>David Edmondson</name>
<email>dme@dme.org</email>
</author>
<published>2010-04-22T09:03:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=45ad21fba18730cdf76725b8a132fc52ba4190a7'/>
<id>urn:sha1:45ad21fba18730cdf76725b8a132fc52ba4190a7</id>
<content type='text'>
Define a new `mail-user-agent' (`notmuch-user-agent') and use it by
default. Re-arrange various routines that send mail to use this
(compose, reply, forward). Insert a `User-Agent:' header by default.

This is the real commit for this functionality this time. The
previous attempt to merge this code:

	commit 57926bc7b0f784cbacb620fda0ee5157e2e0ff27

was botched (by Carl Worth, not David) to include only the Makefile
change. So the build was broken until this commit that actually adds
the new file.
</content>
</entry>
</feed>
