[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 58 / 89ac2841b5b0242b3a71b1f7347bd7a9f862db
1 Return-Path: <dme@dme.org>\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 E97FB431FC7\r
6         for <notmuch@notmuchmail.org>; Thu, 30 Oct 2014 01:23:22 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]\r
13         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 ADLRXvldc3b3 for <notmuch@notmuchmail.org>;\r
17         Thu, 30 Oct 2014 01:23:18 -0700 (PDT)\r
18 Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com\r
19         [209.85.212.173]) (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 07BF4431FB6\r
22         for <notmuch@notmuchmail.org>; Thu, 30 Oct 2014 01:23:17 -0700 (PDT)\r
23 Received: by mail-wi0-f173.google.com with SMTP id n3so3761429wiv.12\r
24         for <notmuch@notmuchmail.org>; Thu, 30 Oct 2014 01:23:16 -0700 (PDT)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=1e100.net; s=20130820;\r
27         h=x-gm-message-state:to:subject:in-reply-to:references:user-agent\r
28         :from:date:message-id:mime-version:content-type;\r
29         bh=iNmDl6cLX9FIfv1SFN7rx5HNlv3kNiS+Ssyy1kJz6GI=;\r
30         b=kG5aPWy2RmfZhWRnoXN9LUKbSuDzuMHAtTpi8BAfNx7w5+RcumoHVeVdvfedXQyC7U\r
31         WSsMLk2g02bptqKPbghsK9cegN0XMFMHCaIWMEGvcaKWG9a9lRPJwOPvjD7DHiY51I3b\r
32         iQLXYYhmr5UNjYMuKjWfR8VtY8FwmicqYS1FuUKrdmiM+l4RsGBP6FbJ/nOZFFDpmrTV\r
33         FTjjLc4v1iVPxkB0m6MR/QE7DsqIBIibO0wQvotu5UyTQEf4rFiHTywsfMBBdysyns8x\r
34         XIjktulab4tfUsoiKrpFDGqczMVcPYeyxpMop5og3iZJxN4tcC+4c2Np1Dmi367aZEU+\r
35         5q4Q==\r
36 X-Gm-Message-State:\r
37  ALoCoQk5uEUd+FGA4VcXU169OOM/QPdBktoprIRLrBNWAl8YWt1gDhPGb+sFHhYhG0RRO50R8GSR\r
38 X-Received: by 10.180.83.37 with SMTP id n5mr41945260wiy.7.1414657396648;\r
39         Thu, 30 Oct 2014 01:23:16 -0700 (PDT)\r
40 Received: from disaster-area.hh.sledj.net\r
41         ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
42         by mx.google.com with ESMTPSA id pc8sm7818513wjb.36.2014.10.30.01.23.15\r
43         for <multiple recipients>\r
44         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
45         Thu, 30 Oct 2014 01:23:15 -0700 (PDT)\r
46 Received: from localhost (30000@localhost [local]);\r
47         by localhost (OpenSMTPD) with ESMTPA id f494b3f8;\r
48         Thu, 30 Oct 2014 08:23:14 +0000 (UTC)\r
49 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
50 Subject: Re: [PATCH] emacs: add stash support for git send-email command line\r
51 In-Reply-To: <87y4ryzju6.fsf@nikula.org>\r
52 References: <1414525138-838-1-git-send-email-jani@nikula.org>\r
53         <m2h9yn6zf1.fsf@dme.org> <87y4ryzju6.fsf@nikula.org>\r
54 User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1\r
55         (x86_64-apple-darwin14.0.0)\r
56 From: David Edmondson <dme@dme.org>\r
57 Date: Thu, 30 Oct 2014 08:23:15 +0000\r
58 Message-ID: <m238a66k5o.fsf@dme.org>\r
59 MIME-Version: 1.0\r
60 Content-Type: text/plain\r
61 X-BeenThere: notmuch@notmuchmail.org\r
62 X-Mailman-Version: 2.1.13\r
63 Precedence: list\r
64 List-Id: "Use and development of the notmuch mail system."\r
65         <notmuch.notmuchmail.org>\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
69 List-Post: <mailto:notmuch@notmuchmail.org>\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
72         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
73 X-List-Received-Date: Thu, 30 Oct 2014 08:23:23 -0000\r
74 \r
75 On Wed, Oct 29 2014, Jani Nikula wrote:\r
76 >>> +(defun notmuch-show-stash-git-send-email ()\r
77 >>> +  "Copy From/To/Cc/Message-Id of current message to kill-ring in a form suitable for pasting to git send-email command line."\r
78 >>> +  (interactive)\r
79 >>> +  (notmuch-common-do-stash\r
80 >>> +   (concat\r
81 >>> +    (notmuch-show-stash-git-helper (message-tokenize-header (notmuch-show-get-from)) "--to=")\r
82 >>> +    (notmuch-show-stash-git-helper (message-tokenize-header (notmuch-show-get-to)) "--to=")\r
83 >>> +    (notmuch-show-stash-git-helper (message-tokenize-header (notmuch-show-get-cc)) "--cc=")\r
84 >>> +    (concat "--in-reply-to=\"" (notmuch-show-get-message-id t) "\""))))\r
85 >>\r
86 >> ...this would have to use something like:\r
87 >>\r
88 >>   (mapconcat 'identity (list\r
89 >>                      (notmuch-show-stash-git-helper (message-tokenize-header (notmuch-show-get-from)) "--to=")\r
90 >>                      (notmuch-show-stash-git-helper (message-tokenize-header (notmuch-show-get-to)) "--to=")\r
91 >>                      (notmuch-show-stash-git-helper (message-tokenize-header (notmuch-show-get-cc)) "--cc=")\r
92 >>                      (concat "--in-reply-to=\"" (notmuch-show-get-message-id t) "\""))\r
93 >>           "")\r
94 >>\r
95 >> to separate the chunks (untested).\r
96 >\r
97 > The last "" has to be " " to separate the elements,\r
98 \r
99 Of course.\r
100 \r
101 > but this brings another small wrinkle: if one of the headers is\r
102 > missing, typically Cc:, it will be nil in the list, and mapconcat adds\r
103 > spaces both sides of that, i.e. double space. Any ideas how to fix\r
104 > that?\r
105 \r
106 I suppose a collecting loop would do it.\r
107 \r
108 >> Do the leading and trailing spaces really matter?\r
109 >\r
110 > Does aesthetically displeasing count? Because message-tokenize-header\r
111 > splits using "," but headers typically have ", " between addresses, the\r
112 > end result will practically always have --to=" user@example.com" without\r
113 > the trimming.\r
114 \r
115 The trimming is fine, really.\r