From: Tomi Ollila Date: Wed, 19 Mar 2014 19:11:29 +0000 (+0200) Subject: Re: [PATCH] emacs: add path: prefix to query completion X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=504b1cecd0090734f6d9ce44cd166828dba904e4;p=notmuch-archives.git Re: [PATCH] emacs: add path: prefix to query completion --- diff --git a/b2/592a0361cfd309540d42eb3790bc600593c225 b/b2/592a0361cfd309540d42eb3790bc600593c225 new file mode 100644 index 000000000..9d2aad64e --- /dev/null +++ b/b2/592a0361cfd309540d42eb3790bc600593c225 @@ -0,0 +1,80 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 70E30431FC0 + for ; Wed, 19 Mar 2014 12:11:48 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 3A5demuYklm6 for ; + Wed, 19 Mar 2014 12:11:39 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id A1C1A431FAF + for ; Wed, 19 Mar 2014 12:11:39 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 1504D10009D; + Wed, 19 Mar 2014 21:11:30 +0200 (EET) +From: Tomi Ollila +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: add path: prefix to query completion +In-Reply-To: <1395247986-21323-1-git-send-email-jani@nikula.org> +References: <1395247986-21323-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.17+155~g3416ef5 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 19 Mar 2014 19:11:48 -0000 + +On Wed, Mar 19 2014, Jani Nikula 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@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch