X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=6c36ad8a9e4045182cda6a92b76fae2c4db52055;hb=385413e0596b65bb759ec246ed03bc1bf7423cb0;hp=888672b5af3e210f7e3290b635735f4d790f10a2;hpb=297d091e1ca8f5b1e144d2be0a8e0a7c271634a8;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 888672b5..6c36ad8a 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -892,9 +892,10 @@ PROMPT is the string to prompt with." (process-lines notmuch-command "search" "--output=tags" "*"))) (completions (append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:" - "subject:" "attachment:" "mimetype:") + "subject:" "attachment:") (mapcar (lambda (tag) (concat "tag:" tag)) all-tags) - (mapcar (lambda (tag) (concat "is:" tag)) all-tags)))) + (mapcar (lambda (tag) (concat "is:" tag)) all-tags) + (mapcar (lambda (mimetype) (concat "mimetype:" mimetype)) (mailcap-mime-types))))) (let ((keymap (copy-keymap minibuffer-local-map)) (current-query (case major-mode (notmuch-search-mode (notmuch-search-get-query))