<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch-lib.el, branch 0.17</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.17</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.17'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-11-14T01:46:50Z</updated>
<entry>
<title>emacs: help: add a special function to deal with remaps</title>
<updated>2013-11-14T01:46:50Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-11-12T20:10:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b5f93cc0dbcd4ce37a190a0bdde2c3871a7b2709'/>
<id>urn:sha1:b5f93cc0dbcd4ce37a190a0bdde2c3871a7b2709</id>
<content type='text'>
remaps are a rather unusual keymap consisting of "first key" 'remap
and then "second-key" the remapped-function. Thus we do the
documentation for it separately.
</content>
</entry>
<entry>
<title>emacs: help: add base-keymap</title>
<updated>2013-11-14T01:46:39Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-11-12T20:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8141555d2540633c9b741993b92d6b9b3030fd83'/>
<id>urn:sha1:8141555d2540633c9b741993b92d6b9b3030fd83</id>
<content type='text'>
To support key remapping in emacs help we need to know the base keymap
when looking at the remapping. keep track of this while we recurse
down the sub-keymaps in help.
</content>
</entry>
<entry>
<title>emacs: help: split out notmuch-describe-key as a function</title>
<updated>2013-11-14T01:46:32Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-11-12T20:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=141f3813d81bd1de9218007c77e0be1f75fcee27'/>
<id>urn:sha1:141f3813d81bd1de9218007c77e0be1f75fcee27</id>
<content type='text'>
The actual documentation function notmuch-describe-keymap was getting
rather complicated so split out the code for a single key into its own
function notmuch-describe-key.
</content>
</entry>
<entry>
<title>emacs: help: remove duplicate bindings</title>
<updated>2013-11-14T01:33:28Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-11-12T20:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9d0174b11c11ca227b5666e4ce80229220b9f9e2'/>
<id>urn:sha1:9d0174b11c11ca227b5666e4ce80229220b9f9e2</id>
<content type='text'>
If the user (or a mode) overrides a keybinding from the common keymap
in one of the modes then both help lines appear in the help screen
even though only one of them is applicable.

Fix this by checking if we already have that key binding. We do this
by constructing an list of (key . docstring) pairs so it is easy to
check if we have already had that binding. Then the actual print help
routine changes these pairs into strings "key \t docstring"
</content>
</entry>
<entry>
<title>emacs: help: save-match-data</title>
<updated>2013-11-14T01:33:14Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-11-12T20:10:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6f616bd733eaa010eb68dd588d56d5d909f1631d'/>
<id>urn:sha1:6f616bd733eaa010eb68dd588d56d5d909f1631d</id>
<content type='text'>
The routines that construct the help page in notmuch-lib rely on
match-data being preserved across some fairly complicated code. This
is currently valid but will not be when this series is finished. Thus
place everything between the string-match and replace-match inside a
save-match-data.
</content>
</entry>
<entry>
<title>emacs: help: check for nil key binding</title>
<updated>2013-11-14T01:33:05Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2013-11-12T20:10:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a5ecdf390e4dca6a314cee1594ab3236ea62ca85'/>
<id>urn:sha1:a5ecdf390e4dca6a314cee1594ab3236ea62ca85</id>
<content type='text'>
A standard way to unset a key binding is local-unset-key which is equivalent to
  (define-key (current-local-map) key nil)

Currently notmuch-help gives an error and fails if a user has done this.

To fix this we only add a help line if the binding is non-nil.
</content>
</entry>
<entry>
<title>emacs: Correct documentation of `notmuch-poll-script'</title>
<updated>2013-11-14T01:27:51Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-11-13T03:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ecfc1c42664f7ffe68fc5f13d7011c40becaab0'/>
<id>urn:sha1:9ecfc1c42664f7ffe68fc5f13d7011c40becaab0</id>
<content type='text'>
The functions referred to in the documentation for this variable were
replaced by the unified `notmuch-poll-and-refresh-this-buffer' in
21474f0e.  Update the documentation to reflect the new function.
</content>
</entry>
<entry>
<title>emacs: Use notmuch tag --batch for large tag queries</title>
<updated>2013-11-09T00:35:13Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-10-24T15:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=730b8f61e0cf4b2e8c0f123c0914d472d6df38fc'/>
<id>urn:sha1:730b8f61e0cf4b2e8c0f123c0914d472d6df38fc</id>
<content type='text'>
(Unfortunately, it's difficult to first demonstrate this problem with
a known-broken test because modern Linux kernels have argument length
limits in the megabytes, which makes Emacs really slow!)
</content>
</entry>
<entry>
<title>emacs: Support passing input via `notmuch-call-notmuch-*'</title>
<updated>2013-11-09T00:28:44Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-10-24T15:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=662e097984780165e57c7fa1f0ddf450dfeab83d'/>
<id>urn:sha1:662e097984780165e57c7fa1f0ddf450dfeab83d</id>
<content type='text'>
This adds support for passing a string to write to notmuch's stdin to
`notmuch-call-notmuch-process' and `notmuch-call-notmuch-sexp'.  Since
this makes both interfaces a little more complicated, it also unifies
their documentation better.
</content>
</entry>
<entry>
<title>emacs: Move `notmuch-call-notmuch-process' to notmuch-lib</title>
<updated>2013-11-09T00:23:03Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-10-24T15:19:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ddc44ae0d02c7f92640b5e560fca5fddbd7b6c98'/>
<id>urn:sha1:ddc44ae0d02c7f92640b5e560fca5fddbd7b6c98</id>
<content type='text'>
Previously, this was in notmuch.el, but all of the other notmuch call
wrappers were in notmuch-lib.el.  Move `notmuch-call-notmuch-process'
to live with its friends.  This happens to fix a missing dependency
from notmuch-tag.el, which required notmuch-lib, but not notmuch.
</content>
</entry>
</feed>
