unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jani Nikula <jani@nikula.org>
To: Chris Gray <chrismgray@gmail.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: Use notmuch-command variable in process-lines.
Date: Tue, 29 Nov 2011 21:15:13 +0200	[thread overview]
Message-ID: <87zkfesptq.fsf@nikula.org> (raw)
In-Reply-To: <87hb1m6cag.fsf@gmail.com>


Good catch, looks good to me.

BR,
Jani.

On Tue, 29 Nov 2011 10:58:31 -0700, Chris Gray <chrismgray@gmail.com> 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

  reply	other threads:[~2011-11-29 19:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 17:58 [PATCH] emacs: Use notmuch-command variable in process-lines Chris Gray
2011-11-29 19:15 ` Jani Nikula [this message]
2011-11-29 21:20 ` Dmitry Kurochkin
2011-11-30  8:10 ` Tomi Ollila
2011-12-01  1:34 ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkfesptq.fsf@nikula.org \
    --to=jani@nikula.org \
    --cc=chrismgray@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).