<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs, branch 0.10</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.10</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.10'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-11-13T19:22:16Z</updated>
<entry>
<title>emacs: add notmuch-show-worker function for specifying crypto processing directly</title>
<updated>2011-11-13T19:22:16Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-11-13T19:15:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=edd2f3f0a83a76f00b628c3c7b1fca4f6a081304'/>
<id>urn:sha1:edd2f3f0a83a76f00b628c3c7b1fca4f6a081304</id>
<content type='text'>
The main reason to introduce this new unexposed function is to allow
the buffer redisplay crypto switch to behaving in a more expected way.
The prefix to notmuch-show-redisplay buffer now switches the crypto
processing of the current show buffer, as opposed to switching the
logic of the notmuch-crypto-process-mime customization variable.  This
behavior is more intuitive.
</content>
</entry>
<entry>
<title>emacs: add documentation for notmuch-show crypto-switch option</title>
<updated>2011-11-13T19:21:58Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-11-13T19:15:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b00e27bd9906be861ca45417848d09e1bdbb9364'/>
<id>urn:sha1:b00e27bd9906be861ca45417848d09e1bdbb9364</id>
<content type='text'>
</content>
</entry>
<entry>
<title>emacs: update notmuch-crypto-process-mime config variable documentation.</title>
<updated>2011-11-13T00:50:22Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-31T17:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9207f90f525cde1e3f5c4695eb5b59c53b4a01ca'/>
<id>urn:sha1:9207f90f525cde1e3f5c4695eb5b59c53b4a01ca</id>
<content type='text'>
This mentions the fact that prefix arguments are now used to enable to
crypto switch.
</content>
</entry>
<entry>
<title>emacs: Unbind M-RET as display of thread with crypto switch.</title>
<updated>2011-11-13T00:42:25Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-29T00:09:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=07022714ebd7e54aaa276d1c6f395fb8347a0710'/>
<id>urn:sha1:07022714ebd7e54aaa276d1c6f395fb8347a0710</id>
<content type='text'>
Use prefix argument instead to set switch.
</content>
</entry>
<entry>
<title>emacs: add keybind and function to stash Message-ID without prefix</title>
<updated>2011-11-13T00:29:04Z</updated>
<author>
<name>Pieter Praet</name>
<email>pieter@praet.org</email>
</author>
<published>2011-06-30T08:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f9764bfacc97457d1154c2d2a6001a6564f13ec3'/>
<id>urn:sha1:f9764bfacc97457d1154c2d2a6001a6564f13ec3</id>
<content type='text'>
Add function `notmuch-show-stash-message-id-stripped'
which stashes a Message-ID after ripping off the prefix and quotes,
add bind it to "I" key in `notmuch-show-stash-map'.

Simplifying `notmuch-show-get-message-id' instead might seem better,
but that would require concat'ing in 9 places instead of 1.

Signed-off-by: Pieter Praet &lt;pieter@praet.org&gt;
</content>
</entry>
<entry>
<title>emacs: add invisible space after the search widget field in notmuch-hello</title>
<updated>2011-11-12T15:34:53Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-07-04T06:47:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e972d752c038b015b0af92de4ce1e00aa2557b71'/>
<id>urn:sha1:e972d752c038b015b0af92de4ce1e00aa2557b71</id>
<content type='text'>
It is very convenient when C-e (bound to `widget-end-of-line') ignores
trailing spaces inside the search widget.  But it only does so if a
widget is not followed by a newline (that is why it works in the saved
search widgets).  The patch just adds an invisible space after the
search widget to get the desirable behavior of `widget-end-of-line'.
The extra space is also added to expected results of emacs tests.
</content>
</entry>
<entry>
<title>emacs: Use a single buffer invisibility spec to fix quadratic search cost.</title>
<updated>2011-11-12T14:21:03Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2011-11-09T02:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a2d78fba200d0342d90cf27f2ac3eb9091911275'/>
<id>urn:sha1:a2d78fba200d0342d90cf27f2ac3eb9091911275</id>
<content type='text'>
Buffer redisplay requires traversing the buffer's invisibility spec
for every part of the display that has an 'invisible text or overlay
property.  Previously, the search buffer's invisibility spec list
contained roughly one entry for each search result.  As a result,
redisplay took O(NM) time where N is the number of visible lines and M
is the total number of results.  On a slow computer, this is enough to
make even buffer motion noticeably slow.  Worse, during a search
operation, redisplay is triggered for each search result (even if
there are no visible buffer changes), so search was quadratic
(O(NM^2)) in the number of search results.

This change switches to using a single element buffer invisibility
spec.  To un-hide authors, instead of removing an entry from the
invisibility spec, it simply removes the invisibility overlay from
those authors.

I tested using a query with 6633 results on a 9 year old machine.
Before this patch, Emacs took 70 seconds to fill the search buffer;
toward the end of the search, Emacs consumed 10-20x as much CPU as
notmuch; and moving point in the buffer took about a second.  With
this patch, the same query takes 40 seconds, Emacs consumes ~3x the
CPU of notmuch by the end, and there's no noticeable lag to moving
point.  (There's still some source of non-linearity, because Emacs and
notmuch consume roughly the same amount of CPU early in the search.)
</content>
</entry>
<entry>
<title>Do not query on notmuch-search exit</title>
<updated>2011-11-08T18:25:07Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2011-08-27T12:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0234a16b56e9fa126cf07b9f3634f5b47e3fcfa7'/>
<id>urn:sha1:0234a16b56e9fa126cf07b9f3634f5b47e3fcfa7</id>
<content type='text'>
Emacs 23.2 queries by default about killing existing processes. This
is annoying when one wants to interrupt long search with 'q' key.
Disable this behavior for notmuch.
</content>
</entry>
<entry>
<title>emacs: remove unused `point-invisible-p' function</title>
<updated>2011-11-08T00:38:37Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-11-06T09:04:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=34aa8e8a9c60e7b7003860ca33d27197a0763d63'/>
<id>urn:sha1:34aa8e8a9c60e7b7003860ca33d27197a0763d63</id>
<content type='text'>
`point-invisible-p' does not work correctly when `invisible'
property is a list.  There are standard `invisible-p' and related
functions that should be used instead.
</content>
</entry>
<entry>
<title>emacs: remove no longer used functions from notmuch-show.el</title>
<updated>2011-11-08T00:38:37Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-11-06T09:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8809e09dcc4b2d24dce760c172411e80432d8a05'/>
<id>urn:sha1:8809e09dcc4b2d24dce760c172411e80432d8a05</id>
<content type='text'>
Remove `notmuch-show-move-past-invisible-backward' and
`notmuch-show-move-past-invisible-forward' functions which are
unused.
</content>
</entry>
</feed>
