Negating searches in notmuch running via emacs?
authorDavid Creelman <creelman.david@gmail.com>
Mon, 5 Jan 2015 21:46:33 +0000 (08:46 +1100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:16 +0000 (14:47 -0700)
7d/73f20de0ffebca2fb3dc0a5fae4f8188a0d5f3 [new file with mode: 0644]

diff --git a/7d/73f20de0ffebca2fb3dc0a5fae4f8188a0d5f3 b/7d/73f20de0ffebca2fb3dc0a5fae4f8188a0d5f3
new file mode 100644 (file)
index 0000000..3ab63a8
--- /dev/null
@@ -0,0 +1,88 @@
+Return-Path: <creelman.david@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E5683431FC4\r
+       for <notmuch@notmuchmail.org>; Tue,  6 Jan 2015 07:22:01 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.005\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.005 tagged_above=-999 required=5\r
+       tests=[DATE_IN_PAST_12_24=0.804, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+       DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id l1aoh4vr4dFJ for <notmuch@notmuchmail.org>;\r
+       Tue,  6 Jan 2015 07:21:58 -0800 (PST)\r
+Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com\r
+       [209.85.220.50]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 979F5431FB6\r
+       for <notmuch@notmuchmail.org>; Tue,  6 Jan 2015 07:21:58 -0800 (PST)\r
+Received: by mail-pa0-f50.google.com with SMTP id bj1so31336677pad.9\r
+       for <notmuch@notmuchmail.org>; Tue, 06 Jan 2015 07:21:56 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=date:from:to:subject:message-id:reply-to:mime-version:content-type\r
+       :content-disposition:user-agent;\r
+       bh=FGh5E4MBd2Jd85UMaOgw7h/zu2GOXYgOt4yILzwia3o=;\r
+       b=FaM7KFt9hDZj2GjAN2Qsl3etAXl0g+0FiZNaJZhMqCLmOIutE+Sal6Y7fMqMV5UhFd\r
+       ZY5D/gjLlaIsJ79LkpNn/5THUbD2Ogqox04d5Ixl7v18kyIut8LfpGp1HsAMqdfxS4BG\r
+       VdjS2gv9+lDxspkaznhhoRxbepdXirsinVuQ/i91RHAZqnMJxATjXvWx3D5kwekodEo5\r
+       1muAjgRNjC8Too+N1/HKwMB+eMMxir/cMRNgQujHCSKmd+5s2JcEP4Ja4Yqna1KU8JD0\r
+       d1OKkDhpx54+cu6ufFhm+A0PiAxs7e3hnoN/d4JOJGYI9zv0t6H8yBJQHhOkMQ4+R2we\r
+       Eajw==\r
+X-Received: by 10.70.56.72 with SMTP id y8mr155955026pdp.45.1420557716842;\r
+       Tue, 06 Jan 2015 07:21:56 -0800 (PST)\r
+Received: from laplace (c122-106-164-126.carlnfd1.nsw.optusnet.com.au.\r
+       [122.106.164.126]) by mx.google.com with ESMTPSA id\r
+       ka5sm40819391pbc.27.2015.01.06.07.21.55 for <notmuch@notmuchmail.org>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Tue, 06 Jan 2015 07:21:56 -0800 (PST)\r
+Received: from davidc by laplace with local (Exim 4.84)\r
+       (envelope-from <davidc@laplace>) id 1Y8FTt-00053R-74\r
+       for notmuch@notmuchmail.org; Tue, 06 Jan 2015 08:46:33 +1100\r
+Date: Tue, 6 Jan 2015 08:46:33 +1100\r
+From: David Creelman <creelman.david@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Negating searches in notmuch running via emacs?\r
+Message-ID: <20150105214633.GA19398@laplace>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.23 (2014-03-12)\r
+X-Mailman-Approved-At: Tue, 06 Jan 2015 11:30:21 -0800\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: creelman.david@gmail.com\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 06 Jan 2015 15:22:02 -0000\r
+\r
+Hi Carl (et al),\r
+Thanks for notmuch. It's making my email setup a bit more efficient. I used to be a filter to differnt\r
+mbox kind of person, but I'm a changed man now !!\r
+\r
+Just wondered, is it possible to negate a search in notmuch for emacs?\r
+\r
+I have a bunch of stuff that is in my inbox that I don't want to see and have tried doing things like\r
+\r
+       -googlealerts-noreply\r
+       -from:googlealerts-noreply\r
+\r
+But it looks like the '-' is ignored....\r
+\r
+Is there a way of getting filtering? It looks like it's possible from the command line application (with -\r
+and + on search terms).\r
+\r
+Regards,\r
+David\r