mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
6ae591911c
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. |
||
---|---|---|
.. | ||
test | ||
notmuch-pick.el | ||
README | ||
run-tests.sh | ||
TODO |
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.