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