notmuch/contrib/notmuch-pick
Mark Walters 6ae591911c contrib: pick: allow recursive message field formats
Previously, the message format was fixed: each part had to be a
certain width and either left or right justified. This allows the user
to specify that two parts can be variable width but that combined they
should be some fixed width. We do this by allowing the user to set as
a "field" a list of the normal result-format form which is formatted
and then itself inserted according to the format string specified.

This means all existing formats work but allows more general things
too. This will be used in the next patch to allow the user to specify
where the tree box graphics are drawn but allow, e.g., the total width
of the tree box graphics and subject to be specified.
2013-09-15 08:58:03 -03:00
..
test contrib: pick: test: buffer movement 2013-09-04 06:33:41 -03:00
notmuch-pick.el contrib: pick: allow recursive message field formats 2013-09-15 08:58:03 -03:00
README contrib: notmuch-pick: add tests 2012-11-19 08:22:37 -04:00
run-tests.sh contrib: pick: remove sync tests 2013-08-27 08:01:32 -03:00
TODO contrib: add pick TODO file 2012-10-28 09:35:38 -03:00

NOTMUCH PICK

Notmuch pick is an experimental threaded message view for the emacs
interface. Each message is one line in the results and the thread
structure is shown using UTF-8 box drawing characters (similar to
Mutt's threaded view). It comes between search and show in terms of
amount of output and can be useful for viewing both single threads and
multiple threads.

INSTALL

Just copy the notmuch-pick.el file somewhere into emacs's load-path.

Then after the "(require 'notmuch)" line in your .emacs file add
the line "(require 'notmuch-pick nil t)". This will load notmuch-pick on
your next emacs start.

TEST

Just execute run-tests.sh and it should all work (it does require that
notmuch has already been built).

USING PICK

The main key entries to notmuch pick are

'z' enter a query to view using notmuch pick (works in hello, search,
    show and pick itself).
'Z' view the current query in pick (works from search and show)
'M-RET' view the selected thread in pick (works in search mode)

Once in pick mode, keybindings are mostly in line with the rest of
notmuch and are all viewable with '?' as usual.

CUSTOMISING PICK

Pick has several customisation variables. The most significant is the
first notmuch-pick-show-out which determines the behaviour when
selecting a message (with RET) in the pick view. By default pick uses
a split window showing the single message in the bottom pane. However,
if this option is set then it views the whole thread in the complete
window jumping to the selected message in the thread. In either case
M-RET selects the other option.