Re: [PATCH] emacs: with prefix argument, notmuch-show-stash-date stashes timestamp

2017-05-30 Thread David Bremner
Tomi Ollila  writes:

> Using timestamp of a message is useful in many Xapian queries.
> ---

pushed to master

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: [Patch v3 06/11] test/thread-naming: remove excess escaping from sender address.

2017-05-30 Thread David Bremner
Tomi Ollila  writes:

> On Sat, May 27 2017, David Bremner wrote:
>
>> This is another case where the behaviour of gmime-2.6 and gmime-3.0
>> seems to differ. It may be that we prefer the more lax parsing of the
>> previous version, but that should be tested seperately.
>
> This series lgtm (afaiu) so far, but s/seper/separ/ above. In 04/11 `shuf`
> adds to coreutils dependencies, but that is in perf test...

pushed first 6 to master, with spelliƱ fiks

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Semi-ready saved search

2017-05-30 Thread David Bremner
Tomas Nordin  writes:

> Hello Notmuchers
>
> What is a good way (with emacs) to hook into the search to modify only a
> part of a search term. I find myself often doing this:
>
> date:2d.. not is:rfile
>
> rfile is my tag for mails that i archive locally. I am looking for a way
> to query myself only for the number of days in the minibuffer. I use
> this search to filter off all mailing list stuff from a search. So, in
> the above example I would only have to answer 2 .

One approach would be to define a function like this

(defun last-days-search(arg)
  (interactive "p")
  (notmuch-search (format "date:%dd.. and tag:inbox" arg)))

Then you can pass a numeric argument in the usual emacs way, e.g. if
that function is bound to C-c d, ESC 2 C-c d will give you two days.

___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch