[notmuch] Show mode enhancements

2009-11-27 Thread cama...@picnicpark.org
I started using notmuch a few days ago and was astounded at how much more efficiently I could process email with it. For my usage I needed a bit more flexibility in replying/forwarding messages and the ability to conveniently save attachments. The set of patches that follow contain these two enhan

[notmuch] [PATCH 1/9] Explicitly require the message library

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon Functions provided by the message library were being used without ensuring it was loaded. --- notmuch.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.el index d7c973c..a1efa4f 100644 --- a/notmuch.el +++ b/notmuch.el @@ -49,6 +4

[notmuch] [PATCH 2/9] Adjust autoload comments

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon The previous location of autoload comments didn't seem to correspond with the functions most likely to be the entry points for using notmuch. This change adjusts them to match those likely entry points. --- notmuch.el |6 -- 1 files changed, 4 insertions(+), 2 deletio

[notmuch] [PATCH 3/9] Add key binding for notmuch-search in show-mode

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon It's not uncommon to want to start a search as a result of something read in a message so this is convenient. --- notmuch.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.el index 6400199..cd6609d 100644 --- a/notmuch.el +++ b/no

[notmuch] [PATCH 4/9] Factor out message buffer mgmt from notmuch-show-view-all-mime-parts

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon The ability to temporarily create a buffer containing only the contents of the currently selected message in notmuch show mode is generally useful. This commit factors the majority of the code required to do so out of notmuch-show-view-all-mime-parts into a macro called with-c

[notmuch] [PATCH 5/9] Forward individual messages using message-forward

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon Sometimes forwarding a message is preferable to replying and modifying the set of recipients. This commit provides that ability using the message-forward function. --- notmuch.el |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmu

[notmuch] [PATCH 6/9] Reply to individual messages using message library

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon As an alternative to creating a reply from the current thread, this commit provides functions to create replies directly in emacs using the message library. A future commit will provide keybindings so that they are easy to change if a different set is preferred. --- notmuch.e

[notmuch] [PATCH 7/9] Key bindings for message library based replies

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon --- notmuch.el |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.el index fe20b54..eaa5798 100644 --- a/notmuch.el +++ b/notmuch.el @@ -64,6 +64,9 @@ (define-key map "A" 'notmuch-show-mark-read-then-archive-thread) (defin

[notmuch] [PATCH 8/9] Provide ability to save attachments

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon Previously the only way to save an attachment was to attempt to view it and then save it from within the viewer program. --- notmuch.el | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.el ind

[notmuch] [PATCH 9/9] Key binding rearrangement for save attachments in show mode

2009-11-27 Thread cama...@picnicpark.org
From: Keith Amidon The most obvious bindings for save attachments are already taken. The existing 'w' binding was bound to view the raw message. This commit moves it to 'V' which still seems somewhat mnemonic and uses 'w' for save (write) attachments. --- notmuch.el |3 ++- 1 files changed

[notmuch] Rework of attachment saving

2009-12-14 Thread cama...@picnicpark.org
I think I've reworked the attachment savings to behave as we've been discussing. I don't know anything about the button handling so I haven't attempted to implement the direct manipulation approach of of saving using the buttons. That would certainly be nice to have however and I belive this chan

[notmuch] [PATCH] Rework saving of attachments.

2009-12-14 Thread cama...@picnicpark.org
From: Keith Amidon With this commit notmuch-show-mode supports saving a single attachment from a message (bound to 'w') and saving all attachments to the message (bound to 'W'). The new variable notmuch-default-save-dir allows the user to specify a directory within which attachments should be sa