Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / d3 / 450b4cae5476e2546de6ea1da0ff35bd763bb9
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 arlo.cworth.org (Postfix) with ESMTP id 289BF6DE0361\r
6  for <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 23:52:08 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.182\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.182 tagged_above=-999 required=5\r
12  tests=[AWL=-0.115, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
14  RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001]\r
15  autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id vurnOEf-djhe for <notmuch@notmuchmail.org>;\r
19  Fri, 29 Apr 2016 23:52:00 -0700 (PDT)\r
20 Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com\r
21  [74.125.82.41]) by arlo.cworth.org (Postfix) with ESMTPS id 794356DE0352 for\r
22  <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 23:51:54 -0700 (PDT)\r
23 Received: by mail-wm0-f41.google.com with SMTP id v200so13615112wmv.1\r
24  for <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 23:51:54 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26  d=dme-org.20150623.gappssmtp.com; s=20150623;\r
27  h=from:to:subject:date:message-id:in-reply-to:references;\r
28  bh=fXnPH/khxsmjkRaxJh05LGDp16abDT56qjnyQfUn/dE=;\r
29  b=0v+l5b59AL4hETp02pdg2SqAWOMPFh29G1YMTXrKiScTsdY1CrVVr4hT/As23fH3Oq\r
30  M6PAu9GBsuVXKIkI5FwBCFg1v/6mgHwXTDuQAezm/OXQ8xwERMHnLcECQxJ8jewRENYi\r
31  MF9dFGAoYHLDhDrQlV6IAMCq1FCRy3ZIw3vwZ9acQHA/y+nXiQIlD8mlnub8Zy7N/6th\r
32  mxiFZTXSCsN0lwVboMvNbjxHXAHC7Z1ZMEBEs9lnPA1s4AP6dqoGHdiUc58u8wfEgqXM\r
33  /zr6yHNuQW3zPT2wcs1ZncOSHz6wVVRug/5dhrcECGkdhAjPNhxmSHVLqKA/5MdRO3Ia\r
34  m7xw==\r
35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
36  d=1e100.net; s=20130820;\r
37  h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\r
38  :references;\r
39  bh=fXnPH/khxsmjkRaxJh05LGDp16abDT56qjnyQfUn/dE=;\r
40  b=jAn+q2Zk0z1TawRK+027qJVwb/jsZuUc/QxHdkVISVd1nC6mLaFtiJTd9RcBJHGIFc\r
41  XQgDAuUKuj/mN37pA5hph4PmGUJb0LCob8yM9egJTg7NBy0je1YaFLmy6RKabB3jo8EZ\r
42  QObeVTZDngm57pyUWW+oZfqFOPyzGXaK7xvIrHfH1pbOq6s9vy50sxC4eLgzhCIOjMD1\r
43  9HYGIMYS2sXnZGYT5S5dXtgbOhFNmVdEYI0ODwECiMattWPEbSYodJoOCXQRxW+wGrWi\r
44  kdpGU7RUlA7uNEyHrEoNjsLtboCF7+59VmvLTcQRg1oX8Dr2scWwJl+wiJ1p0nWqxfCo\r
45  kt0w==\r
46 X-Gm-Message-State:\r
47  AOPr4FU4GCeYLA4pD4cxC1CXfppftNd7bU0f+WHdMGTc3VcwVvitBiHQI9gcCuBZcRJWSQ==\r
48 X-Received: by 10.194.203.105 with SMTP id kp9mr158541wjc.70.1461999113181;\r
49  Fri, 29 Apr 2016 23:51:53 -0700 (PDT)\r
50 Received: from disaster-area.hh.sledj.net\r
51  ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
52  by smtp.gmail.com with ESMTPSA id kj9sm18311685wjb.14.2016.04.29.23.51.51\r
53  for <notmuch@notmuchmail.org>\r
54  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
55  Fri, 29 Apr 2016 23:51:52 -0700 (PDT)\r
56 Received: from localhost (disaster-area.hh.sledj.net [local])\r
57  by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 55e1416d\r
58  for <notmuch@notmuchmail.org>; Sat, 30 Apr 2016 06:51:48 +0000 (UTC)\r
59 From: David Edmondson <dme@dme.org>\r
60 To: notmuch@notmuchmail.org\r
61 Subject: [PATCH v1 2/2] emacs: Tell `message-mode' that outgoing messages are\r
62  email.\r
63 Date: Sat, 30 Apr 2016 07:51:48 +0100\r
64 Message-Id: <1461999108-68582-3-git-send-email-dme@dme.org>\r
65 X-Mailer: git-send-email 2.7.1\r
66 In-Reply-To: <1461999108-68582-1-git-send-email-dme@dme.org>\r
67 References: <1461999108-68582-1-git-send-email-dme@dme.org>\r
68 X-BeenThere: notmuch@notmuchmail.org\r
69 X-Mailman-Version: 2.1.20\r
70 Precedence: list\r
71 List-Id: "Use and development of the notmuch mail system."\r
72  <notmuch.notmuchmail.org>\r
73 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
74  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
75 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
76 List-Post: <mailto:notmuch@notmuchmail.org>\r
77 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
78 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
79  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
80 X-List-Received-Date: Sat, 30 Apr 2016 06:52:08 -0000\r
81 \r
82 When composing messages (including replies, etc.), indicate to\r
83 `message-mode' definitively that the message is email (as opposed to\r
84 Usenet news) rather than having it attempt to determine this for itself.\r
85 \r
86 This causes `message-mode' to observe such variables as\r
87 `message-default-mail-headers', which previously happened haphazardly.\r
88 ---\r
89  emacs/notmuch-mua.el | 5 ++++-\r
90  1 file changed, 4 insertions(+), 1 deletion(-)\r
91 \r
92 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el\r
93 index 0445975..399e138 100644\r
94 --- a/emacs/notmuch-mua.el\r
95 +++ b/emacs/notmuch-mua.el\r
96 @@ -338,7 +338,10 @@ modified. This function is notmuch addaptation of\r
97           ;; We need to convert any string input, eg from rmail-start-mail.\r
98           (dolist (h other-headers other-headers)\r
99             (if (stringp (car h)) (setcar h (intern (capitalize (car h))))))))\r
100 -       (args (list yank-action send-actions)))\r
101 +       (args (list yank-action send-actions))\r
102 +       ;; Cause `message-setup-1' to do things relevant for mail,\r
103 +       ;; such as observe `message-default-mail-headers'.\r
104 +       (message-this-is-mail t))\r
105      ;; message-setup-1 in Emacs 23 does not accept return-action\r
106      ;; argument. Pass it only if it is supplied by the caller. This\r
107      ;; will never be the case when we're called by `compose-mail' in\r
108 -- \r
109 2.7.1\r
110 \r