[PATCH] emacs: add path: prefix to query completion

Tomi Ollila tomi.ollila at iki.fi
Wed Mar 19 12:11:29 PDT 2014


On Wed, Mar 19 2014, Jani Nikula <jani at nikula.org> wrote:

> Complete to the new path: prefix.
> ---

LGTM.

>  emacs/notmuch.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 047175001c77..65baa0cb8886 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -829,7 +829,7 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
>  PROMPT is the string to prompt with."
>    (lexical-let
>        ((completions
> -	(append (list "folder:" "thread:" "id:" "date:" "from:" "to:"
> +	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
>  		      "subject:" "attachment:")
>  		(mapcar (lambda (tag)
>  			  (concat "tag:" (notmuch-escape-boolean-term tag)))
> -- 
> 1.9.0
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list