aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/notmuch-pick
Commit message (Collapse)AuthorAge
* contrib: pick: Link in stash map straight from notmuch-showGravatar Mark Walters2013-08-24
| | | | | | | These functions all now work straight from their notmuch-show implementation so link them in. Stash functionality was one of the key missing things in notmuch-pick.
* contrib: pick: Link in attachment functions straight from notmuch-showGravatar Mark Walters2013-08-24
| | | | | | We can use the attachment functions straight from notmuch-show. notmuch-show-view-all-mime-parts might be deprecated so we either want to undeprecate it or not have this binding.
* contrib: pick: Link in notmuch-show-pipe-messageGravatar Mark Walters2013-08-24
| | | | Since we can now use show functions directly in pick we can drop pick-pipe-message.
* contrib: pick: override notmuch-show-get-propGravatar Mark Walters2013-08-24
| | | | | | | We override notmuch-show-get-prop so that many of the show functions can be used in notmuch-pick without modification. The main use is that it means notmuch-show-get-message-id `works' in pick. Thus we get all the stash functions and several other `for free' in pick.
* contrib: pick: use notmuch-start-notmuchGravatar Mark Walters2013-07-20
| | | | | This uses the new notmuch-start-notmuch function which should give better handling of stderr and errors generally.
* contrib: pick: document several of the tree/forest insertion functions.Gravatar Mark Walters2013-07-04
|
* pick: contrib: document notmuch-pick-message-window-kill-hookGravatar Mark Walters2013-07-04
|
* pick: contrib: document notmuch-pick-refresh-resultGravatar Mark Walters2013-07-04
|
* pick: contrib: document notmuch-pick-show-outGravatar Mark Walters2013-07-04
|
* contrib: pick: remove unused functionGravatar Mark Walters2013-07-04
| | | | | The function notmuch-pick-show-error was used before Austin's improved error handling. It is now redundant so remove.
* contrib: pick: remove unused variableGravatar Mark Walters2013-07-04
| | | | | This variable was needed at one point for the async parser but is not needed anymore.
* contrib: pick: bugfix: make the right variable buffer-localGravatar Mark Walters2013-07-04
| | | | | | The variable notmuch-pick-message-buffer should be buffer local but instead notmuch-pick-message-buffer-name (a non-existent variable) was made buffer local.
* contrib: pick: add docstrings to all defvarsGravatar Mark Walters2013-07-04
|
* contrib: pick: add a docstring for the main notmuch-pick functionGravatar Mark Walters2013-07-04
|
* contrib: pick: fix refresh resultGravatar Mark Walters2013-07-04
| | | | | | | | | | | The function notmuch-pick-refresh-result (used to update tag changes) was not quite correct: sometimes it got the choice between the subject and " ..." wrong. This was always true but the new code often calls this (when opening a message in the message pane to remove the unread tag) while the async pick process is still running and this caused mistakes which made the tests fail. Thus we store the previous subject with the message.
* contrib: pick: remove hack notmuch-pick-show-match-message-with-waitGravatar Mark Walters2013-07-04
| | | | | | This function was a horrible hack (sleeping while waiting for the correct message). The new target code can just open the message in the message window when it arrives.
* contrib: pick: if no target specified go to first matching messageGravatar Mark Walters2013-07-04
|
* contrib: pick: remove reference to inbox in docstringGravatar Mark Walters2013-06-25
| | | | | Copy the recent changes in show to use just notmuch-archive-tags (as a link) rather than saying '(defaults to "inbox")'.
* contrib: pick: remove unnecessary funcallGravatar Mark Walters2013-06-04
| | | | | Remove unnecessary funcall. This keeps the pick function inline with the recently tweaked show function.
* contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unreadGravatar Mark Walters2013-06-02
| | | | | | | | Previously pick removed the unread tag from its tag display: since the tag change is now customisable use the customised variable. This only affected the tags displayed, not the tags in the database as notmuch-show (in the view pane) did the actual tag changes.
* contrib: pick: bugfix. use notmuch-show-only-matching-messages rather than ↵Gravatar Mark Walters2013-06-02
| | | | | | | | | | prefix Previously pick set a prefix argument prior to calling show in the message pane to tell show to only show matching messages. This sets notmuch-show-only-matching-messages instead which is much cleaner and will work even if the user has configured show to default to showing only matching messages.
* contrib: pick: use the sexp parserGravatar Mark Walters2013-06-02
| | | | This just converts notmuch-pick to use the sexp parser.
* contrib: pick: add a target message for pickGravatar Mark Walters2013-05-20
| | | | | | | | This adds a target message for pick which it will jump to when (if) it appears. It adds the target to notmuch-pick-from-show-current-query so that pick goes straight to the message that was current in the show view and it adds target to notmuch-pick-refresh-view so that the current message is preserved.
* contrib: pick: move save-excursion closer to message insertionGravatar Mark Walters2013-05-20
| | | | | | | | | | | | | Pick keeps point roughly at the top of the buffer while inserting messages at the end as they come in (from the async parser). Previously the save-excursion to do this was done once for each thread inserted: now it is done for each individual message. The advantage is that the message insertion code can decide where to leave point. In the next patch point will be left on the target message. Note notmuch-pick-insert-msg is unchanged as that is used by the tag display update code.
* contrib: pick: close message pane when quitting from show in the message paneGravatar Mark Walters2012-12-25
| | | | | | | We add a hook to the show buffer in the message window to close the message window when that buffer quits. It checks that the message-window is still displaying the show-message buffer and then closes it.
* contrib: pick: slightly tweak running search and pick from pick bufferGravatar Mark Walters2012-12-24
| | | | | | | | | Previously running search or pick from the pick buffer did not close the message pane (if open). This meant that then new search ends up in a very small window. Fix this so that the message pane is shut. However, make it so that the pane is shut after the search string is entered in case the user is basing the search on something in the current message.
* contrib: pick: Do not indent messages in the message paneGravatar Mark Walters2012-12-18
| | | | | | | Currently pick just uses notmuch-show to display messages in the message pane: this means that they get indented just as show would. However, since pick is only displaying one message at a time there is no need to indent so override the indentation.
* contrib: pick: archive message updatedGravatar Mark Walters2012-12-15
| | | | | | | Update pick's archive message to respect notmuch-archive-tags. Also split archive message into an archiving part and a separate "then-next" part, to move more inline with show. Update the keybinding so default behaviour is unchanged.
* contrib: pick: bugfix for pick splitting the window excessivelyGravatar Mark Walters2012-12-11
| | | | | | | | | | Previously if you carried on past the last message in a pick view pick would get confused and `forget' about the split pane and would try and re-split when moving up again. This was due to faulty logic in notmuch-pick-show-message: something that should have been in the (when message) clause was not. Thanks to jrollins for the bug report.
* contrib: pick: use notmuch-clean-addressGravatar Mark Walters2012-12-03
| | | | | Now notmuch-clean-address is split out in show pick can use that (with a small wrapper).
* contrib: pick: use async parser from libGravatar Mark Walters2012-12-01
| | | | | This moves notmuch-pick to use the newly split out async json parser from notmuch-lib.el.
* contrib: pick: remove some debug timing messagesGravatar markwalters10092012-12-01
| | | | | When I submitted notmuch-pick I deleted most of the debug messages but I missed two cases. Remove them now.
* contrib: notmuch-pick: add testsGravatar Mark Walters2012-11-19
| | | | | | The test should be run using the wrapper run-tests.sh. This links the tests into the normal notmuch TEST_DIRECTORY and runs them from there. After the test is complete then the links are removed.
* contrib: pick: bugfix when trying to show a non-messageGravatar Mark Walters2012-11-16
| | | | | | | | If the user pressed return on the end result status line it gave a blank message. Modify the function notmuch-pick-get-message-id to return nil rather than an empty message-id in this case to fix this. This also fixes a bug in the (lack of) quoting of the id string.
* contrib: add pick TODO fileGravatar Mark Walters2012-10-28
|
* contrib: add pick README.Gravatar Mark Walters2012-10-28
|
* contrib: add notmuch-pick.el file itselfGravatar Mark Walters2012-10-28
This adds the main notmuch-pick.el file.