[PATCH] emacs: add check for encryption before saving.

2016-11-04 Thread David Bremner
This is intended to decrease the chance of people ending up with a bunch of plaintext drafts of encrypted messages without knowing it. The check is intentionally overcautious; I think the false positive of misplaced #secure tag is probably OK here. --- This is somewhat RFC. The regex needs to be

Re: [PATCH v2 1/2] emacs: tree: remove binding for pressing button in message pane

2016-11-04 Thread David Bremner
Mark Walters writes: > We want to use "e" for editting postponed messages in show, and in > tree view, so remove the binding for the function which does > This needs rebasing. I did the merge by hand and I think it works out, but other recent changes to notmuch-tree.el conflict. Also editing is

Re: rfc for notmuch remote access script

2016-11-04 Thread Jani Nikula
On Sun, 30 Oct 2016, David Bremner wrote: > I'm not using remote access, and I don't really have opinions about the > best way to do it. I do have 2 concerns about the overall idea > > 1. I worry about the maintenance burden of extra code ./configure > 2. I worry about promoting remote-notmuch for

Re: [Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`?

2016-11-04 Thread Jani Nikula
On Fri, 04 Nov 2016, David Bremner wrote: > I wonder if this some kind of race condition in `notmuch new` > processing. Do you have some other software modifying your mail store while you're running notmuch new? BR, Jani. ___ notmuch mailing list notmu

Re: Is there a separate git repo for the notmuch website?

2016-11-04 Thread Jani Nikula
On Fri, 04 Nov 2016, Matt Armstrong wrote: > I noticed that https://notmuchmail.org/emacstips/#index21h2 is stale > (the patch it mentions is now part of notmuch). Is there a git > repository for the website that I can suggest patches against? Please see https://notmuchmail.org/wikiwriteaccess/

Is there a separate git repo for the notmuch website?

2016-11-04 Thread Matt Armstrong
I noticed that https://notmuchmail.org/emacstips/#index21h2 is stale (the patch it mentions is now part of notmuch). Is there a git repository for the website that I can suggest patches against? ___ notmuch mailing list notmuch@notmuchmail.org https://no

[PATCH] emacs: mua: add a pre-send-check-hook

2016-11-04 Thread Mark Walters
This add a pre-send hook for any checks the user wants to run before sending the message. If any function in the hook returns nil then the send will abort. One use would be to check that the from address is appropriate for the recipients (i.e., test From: based on To: and Cc:), but many other uses

Re: [Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`?

2016-11-04 Thread David Bremner
Paul Wise wrote: > Last night I got this error from my `notmuch new --quiet` cron job. The > file that the error message complains about is now in the cur directory > of the maildir at the following path. > > /path/to/mail/cur/1478190211.H80553P18378.chianamo:2, > > I wonder if this some kind of

Re: [PATCH v4] emacs: add notmuch-address-post-completion-hook

2016-11-04 Thread David Bremner
David Bremner writes: > This hook can be used to update the message based on the results of > address completion. For example using message-templ or gnus-alias to set > the From address based on the To address just completed. > > The post-completion command is added to the notmuch-company backend

[Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`?

2016-11-04 Thread David Bremner
--- Begin Message --- Package: notmuch Version: 0.23.1-1 Severity: normal Last night I got this error from my `notmuch new --quiet` cron job. The file that the error message complains about is now in the cur directory of the maildir at the following path. /path/to/mail/cur/1478190211.H80553P18378