Re: [WIP PATCH] emacs: add "--" to finish notmuch command line args before search terms

Subject: Re: [WIP PATCH] emacs: add "--" to finish notmuch command line args before search terms

Date: Mon, 19 Sep 2016 19:54:02 -0700

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: Matt Armstrong


Tomi Ollila <tomi.ollila@iki.fi> writes:

> I don't (yet) know how complete this is (Someone's "workflow" it may break)
> but tests pass...

[...]

> -(defun notmuch-query-get-threads (search-terms)
> +(defun notmuch-query-get-threads (cli-args search-terms)

I'm new here and still have a low reputation :-) but fwiw, I like this.
I especially the change to the notmuch-query-search-args function.
I think it cleans up the code a bit, and makes it more flexible.

Thread: