Re: [PATCH 1/1] Store and search for canonical Unicode text [WIP]

2015-09-02 Thread David Bremner
Rob Browning writes: > > Before this change, notmuch would index two strings that differ only > with respect to canonicalization, like tóken and tóken, as separate > terms, even though they may be visually indistinguishable, and do (for > most purposes) represent the same

Re: [PATCH 1/1] Store and search for canonical Unicode text [WIP]

2015-09-02 Thread Rob Browning
David Bremner writes: > One way to break this up into more bite sized pieces would be to first > create one or more tests that fail with current notmuch, and mark those > as broken. Right - for the moment I just wanted to post what I had for consideration. I didn't want to

Re: muchsync files renames

2015-09-02 Thread Amadeusz Żołnowski
David Bremner writes: > If I understand the code correctly, this movement will only happen > when one of the maildir-flag-equivalent tags is changed. I haven't dug > ack through the archives, but I think mutt uses presence in new/ as > some kind of extra unseen state, so people

Re: muchsync files renames

2015-09-02 Thread David Bremner
Amadeusz Żołnowski writes: > When I have added 'unread' tag the file was still in new/. Only after > removing 'unread' afterwards the file has been moved to cur/. The unread tag corresponds to the *absence* of the ,S flag, so if you don't add unread at notmuch new, tagging

[PATCH 2/4] emacs: add function notmuch-address--message-insinuated

2015-09-02 Thread Tomi Ollila
This function is currently used in notmuch-address-message-insinuate (to not enable address completion if it is already enabled). In near future this will be called in other functions to know whether address completion can be used there, too. --- Since

[PATCH 4/4] emacs: bind notmuch-show-resend-message to 'b' in notmuch-show mode

2015-09-02 Thread Tomi Ollila
This binding is similar to mutt's, which is bind {mode} b "bounce-message"# remail a message to another user where {mode} is 'index', 'pager' or 'attach'. --- emacs/notmuch-show.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index

[PATCH 3/4] emacs: add function to resend message to new recipients

2015-09-02 Thread Tomi Ollila
The new function notmuch-show-message-resend re-sends message to new recipients using #'message-resend. Recipients are read from minibuffer as a comma-separated string (with some keyboard support including tab completion). Final confirmation before sending is asked. --- Since