[WIP PATCH] emacs: postpone/resume support

2016-06-02 Thread Mark Walters
This provides preliminary support for postponing and resuming in the emacs frontend. On postponing it uses notmuch insert to put the message in the notmuch database; resume gets the raw file from notmuch and using the emacs function mime-to-mml reconstructs the message (including attachments). ---

crypto and draft messages [was: Re: Emacs: postponing messages]

2016-06-02 Thread Daniel Kahn Gillmor
On Thu 2016-06-02 14:21:44 -0400, Mark Walters wrote: > There was some discussion on irc yesterday about a better way of > postponing message when using the emacs frontend. I think getting a > moderately nice interface should be quite easy (see below) but there are > some corner cases on what

Re: Emacs: postponing messages

2016-06-02 Thread Daniel Kahn Gillmor
On Thu 2016-06-02 14:21:44 -0400, Mark Walters wrote: > My broad idea for postpone is to take the partial message, use notmuch > insert to put it in the database with a "postponed" tag, and then on > resume fetch the raw message and go into notmuch-message-mode, and also > either add a deleted tag

Emacs: postponing messages

2016-06-02 Thread Mark Walters
Dear All There was some discussion on irc yesterday about a better way of postponing message when using the emacs frontend. I think getting a moderately nice interface should be quite easy (see below) but there are some corner cases on what *should* happen that I would like to resolve before

Re: [RFC2 Patch 5/5] lib: iterator API for message properties

2016-06-02 Thread Daniel Kahn Gillmor
Hi Bremner-- thanks for the response! I didn't mean my post to be a wet-blanket, just wanted to think through the tradeoffs... On Wed 2016-06-01 19:29:59 -0400, David Bremner wrote: > I guess if you don't care about the possibility of iterating all pairs > with given key prefix (which I admit

[PATCH 5/5] Use https instead of http where possible

2016-06-02 Thread Daniel Kahn Gillmor
Many of the external links found in the notmuch source can be resolved using https instead of http. This changeset addresses as many as i could find, without touching the e-mail corpus or expected outputs found in tests. --- COPYING| 2 +- COPYING-GPL-3

[PATCH 2/5] completion: update the location of the bash-completion project

2016-06-02 Thread Daniel Kahn Gillmor
Alioth currently redirects to github, so point there instead. --- completion/README | 2 +- completion/notmuch-completion.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/completion/README b/completion/README index e200c18..89805c7 100644 ---

[PATCH 1/5] NEWS, python: update pointer to online documentation

2016-06-02 Thread Daniel Kahn Gillmor
Currently, http://packages.python.org/notmuch/ goes through a series of redirections and ends up pointing to readthedocs. Since we're using readthedocs directly anyway, just point to it directly. readthedocs are also now sensibly using a separate domain (readthedocs.io) for their hosted

[PATCH 4/5] nmbug: updated to modern URL for PEP 343

2016-06-02 Thread Daniel Kahn Gillmor
--- devel/nmbug/nmbug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/nmbug/nmbug b/devel/nmbug/nmbug index 0787b2b..e406395 100755 --- a/devel/nmbug/nmbug +++ b/devel/nmbug/nmbug @@ -80,7 +80,7 @@ except AttributeError: # Python < 3.2 See PEP 343 for details

[PATCH 3/5] update link to Chip Rosenthal article about reply-to munging

2016-06-02 Thread Daniel Kahn Gillmor
The original link is currently returning an internal server error :( --- notmuch-reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index a74194a..457e54a 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -324,7 +324,7 @@

[PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes

2016-06-02 Thread Daniel Kahn Gillmor
sphinx-build emits a minor warning: [...]doc/man7/notmuch-search-terms.rst:223: WARNING: Block quote ends without a blank line; unexpected unindent. And the tabular representation of boolean or probabilistic prefixes currently renders like this when i view it in man:

[PATCH 2/2] doc: include nomtuch-emacs-mua in documentation ToC

2016-06-02 Thread Daniel Kahn Gillmor
Without this patch, i'm seeing sphinx-build emit: [...]doc/man1/notmuch-emacs-mua.rst:: WARNING: document isn't included in any toctree --- doc/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/index.rst b/doc/index.rst index 3f0e6e6..344606d 100644 --- a/doc/index.rst +++