Re: [PATCH v2] Omit User-Agent: header by default
[notmuch-archives.git] / 12 / aa39f7a24aa785a5edc09db29581b20871042b
1 Return-Path: <chrismgray@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1BBAC429E25\r
6         for <notmuch@notmuchmail.org>; Tue, 29 Nov 2011 09:58:32 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id qwzI+nYtVFcA for <notmuch@notmuchmail.org>;\r
17         Tue, 29 Nov 2011 09:58:31 -0800 (PST)\r
18 Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com\r
19         [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id A4FBD431FB6\r
22         for <notmuch@notmuchmail.org>; Tue, 29 Nov 2011 09:58:31 -0800 (PST)\r
23 Received: by qyc1 with SMTP id 1so5613577qyc.26\r
24         for <notmuch@notmuchmail.org>; Tue, 29 Nov 2011 09:58:31 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:subject:user-agent:date:message-id:mime-version\r
27         :content-type; bh=4o/GhxCYt4XA2Jtxs89cxCaLvUyx4XtCI/l2aXgv+SM=;\r
28         b=xsoxLW74Gc7Snnq1la3/TUS6lgEVKNuhOYTx01NNXZYNR00YR2BAMGpOgditXNYC6e\r
29         1UUeVOJ71nXd/aFmKbq775mxzZAKyTdOcj9SlwlCf/tfpyqjDr/qtldmZJ0yYnWe/0ws\r
30         dzeICpJU20BbGLrJNmv7XfX8QSkpXxdWAXgOE=\r
31 Received: by 10.229.251.74 with SMTP id mr10mr5614903qcb.159.1322589510892;\r
32         Tue, 29 Nov 2011 09:58:30 -0800 (PST)\r
33 Received: from driftwood (S0106001f333bc36d.cg.shawcable.net. [68.144.78.164])\r
34         by mx.google.com with ESMTPS id\r
35         o15sm38339291qaz.19.2011.11.29.09.58.28\r
36         (version=TLSv1/SSLv3 cipher=OTHER);\r
37         Tue, 29 Nov 2011 09:58:29 -0800 (PST)\r
38 From: Chris Gray <chrismgray@gmail.com>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH] emacs: Use notmuch-command variable in process-lines.\r
41 User-Agent: Notmuch/0.10+41~g5aeca81 (http://notmuchmail.org) Emacs/24.0.91.1\r
42         (i486-pc-linux-gnu)\r
43 Date: Tue, 29 Nov 2011 10:58:31 -0700\r
44 Message-ID: <87hb1m6cag.fsf@gmail.com>\r
45 MIME-Version: 1.0\r
46 Content-Type: text/plain\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Tue, 29 Nov 2011 17:58:32 -0000\r
60 \r
61 The process-lines function calls the notmuch binary.  The location of\r
62 the binary may have been customized by the user, so it is better to\r
63 use the customized location rather than allowing the process-lines\r
64 function to search the user's PATH for the binary.\r
65 ---\r
66  emacs/notmuch.el |    2 +-\r
67  1 files changed, 1 insertions(+), 1 deletions(-)\r
68 \r
69 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
70 index f15a75b..8936149 100644\r
71 --- a/emacs/notmuch.el\r
72 +++ b/emacs/notmuch.el\r
73 @@ -885,7 +885,7 @@ PROMPT is the string to prompt with."\r
74                       "subject:" "attachment:")\r
75                 (mapcar (lambda (tag)\r
76                           (concat "tag:" tag))\r
77 -                       (process-lines "notmuch" "search" "--output=tags" "*")))))\r
78 +                       (process-lines notmuch-command "search" "--output=tags" "*")))))\r
79      (let ((keymap (copy-keymap minibuffer-local-map))\r
80           (minibuffer-completion-table\r
81            (completion-table-dynamic\r
82 -- \r
83 1.7.7.3\r
84 \r
85 \r