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 2F70E429E25 for ; Tue, 29 Nov 2011 11:15:19 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 cN6wi49wY89A for ; Tue, 29 Nov 2011 11:15:18 -0800 (PST) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 785AD431FB6 for ; Tue, 29 Nov 2011 11:15:18 -0800 (PST) Received: by bkaq10 with SMTP id q10so11433953bka.26 for ; Tue, 29 Nov 2011 11:15:17 -0800 (PST) Received: by 10.204.39.142 with SMTP id g14mr3856454bke.14.1322594117003; Tue, 29 Nov 2011 11:15:17 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi. [80.220.92.23]) by mx.google.com with ESMTPS id z7sm39044625bka.1.2011.11.29.11.15.14 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 11:15:15 -0800 (PST) From: Jani Nikula To: Chris Gray , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Use notmuch-command variable in process-lines. In-Reply-To: <87hb1m6cag.fsf@gmail.com> References: <87hb1m6cag.fsf@gmail.com> User-Agent: Notmuch/0.10+51~gef3ae74 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Tue, 29 Nov 2011 21:15:13 +0200 Message-ID: <87zkfesptq.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Tue, 29 Nov 2011 19:15:19 -0000 Good catch, looks good to me. BR, Jani. On Tue, 29 Nov 2011 10:58:31 -0700, Chris Gray wrote: > The process-lines function calls the notmuch binary. The location of > the binary may have been customized by the user, so it is better to > use the customized location rather than allowing the process-lines > function to search the user's PATH for the binary. > --- > emacs/notmuch.el | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/emacs/notmuch.el b/emacs/notmuch.el > index f15a75b..8936149 100644 > --- a/emacs/notmuch.el > +++ b/emacs/notmuch.el > @@ -885,7 +885,7 @@ PROMPT is the string to prompt with." > "subject:" "attachment:") > (mapcar (lambda (tag) > (concat "tag:" tag)) > - (process-lines "notmuch" "search" "--output=tags" "*"))))) > + (process-lines notmuch-command "search" "--output=tags" "*"))))) > (let ((keymap (copy-keymap minibuffer-local-map)) > (minibuffer-completion-table > (completion-table-dynamic > -- > 1.7.7.3 > > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch