Re: [PATCH] Return maximum of 150 results
authorJames Vasile <james@hackervisions.org>
Fri, 19 Aug 2011 16:30:52 +0000 (12:30 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:16 +0000 (09:39 -0800)
56/3ced8fdbaadaad8840d900cbf7b5d88d4bdaf4 [new file with mode: 0644]

diff --git a/56/3ced8fdbaadaad8840d900cbf7b5d88d4bdaf4 b/56/3ced8fdbaadaad8840d900cbf7b5d88d4bdaf4
new file mode 100644 (file)
index 0000000..23831a6
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <james.vasile@opensourcematters.org>\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 758AE429E25\r
+       for <notmuch@notmuchmail.org>; Fri, 19 Aug 2011 09:31:00 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.363\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.363 tagged_above=-999 required=5\r
+       tests=[RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1] 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 M1ei0my1s+Mv for <notmuch@notmuchmail.org>;\r
+       Fri, 19 Aug 2011 09:30:59 -0700 (PDT)\r
+Received: from hackervisions.org (67-207-143-141.slicehost.net\r
+       [67.207.143.141]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id BC971431FD0\r
+       for <notmuch@notmuchmail.org>; Fri, 19 Aug 2011 09:30:59 -0700 (PDT)\r
+Received: from ool-4572d87b.dyn.optonline.net ([69.114.216.123]\r
+ helo=localhost)       by hackervisions.org with esmtpsa\r
+ (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)  (Exim 4.72) (envelope-from\r
+ <james.vasile@opensourcematters.org>) id 1QuRzA-0007cF-Nq; Fri, 19 Aug 2011\r
+ 12:31:56 -0400\r
+From: James Vasile <james@hackervisions.org>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Return maximum of 150 results\r
+In-Reply-To: <877h69o0gr.fsf@steelpick.2x.cz>\r
+References: <87zkj6um50.fsf@opensourcematters.org>\r
+       <87mxf5v43c.fsf@steelpick.2x.cz>\r
+       <87r54hv2ct.fsf@opensourcematters.org>\r
+       <877h69o0gr.fsf@steelpick.2x.cz>\r
+User-Agent: Notmuch/0.6.1-213-ge89ce87 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 19 Aug 2011 12:30:52 -0400\r
+Message-ID: <87obzluzwj.fsf@opensourcematters.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\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: Fri, 19 Aug 2011 16:31:00 -0000\r
+\r
+On Fri, 19 Aug 2011 18:00:36 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> > On my system, I routinely do searches that return 15000+ messages\r
+> > when I'm only interested in the first several.  When I hit Q, Emacs\r
+> > annoyingly asks me for permission to kill the buffer because it has\r
+> > a running process.  And emacs lags as it processes all that data.\r
+> \r
+> Ahh, I almost forget about this. I use this patch to disable this.\r
+\r
+Nice.  That's a good solution.\r
+\r
+> \r
+> -Michal\r
+> \r
+> --8<---------------cut here---------------start------------->8---\r
+> >From 0e0ae662026f4a17b882bb33140e0bb62e8da995 Mon Sep 17 00:00:00 2001\r
+> From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+> Date: Fri, 19 Aug 2011 17:58:40 +0200\r
+> Subject: [PATCH] Do not query on notmuch-search exit\r
+> \r
+> Emacs 23.2 queries by default about killing existing processes. Disable\r
+> this behavior for notmuch. I'm not sure whether this works with earlier\r
+> versions.\r
+> ---\r
+>  emacs/notmuch.el |    4 +++-\r
+>  1 files changed, 3 insertions(+), 1 deletions(-)\r
+> \r
+> diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+> index 3d82f0d..8858f3e 100644\r
+> --- a/emacs/notmuch.el\r
+> +++ b/emacs/notmuch.el\r
+> @@ -858,7 +858,9 @@ The optional parameters are used as follows:\r
+>                     "--sort=newest-first")\r
+>                   query)))\r
+>        (set-process-sentinel proc 'notmuch-search-process-sentinel)\r
+> -      (set-process-filter proc 'notmuch-search-process-filter))))\r
+> +      (set-process-filter proc 'notmuch-search-process-filter)\r
+> +      (set-process-query-on-exit-flag proc nil)))\r
+> +      )\r
+>      (run-hooks 'notmuch-search-hook)))\r
+>  \r
+>  (defun notmuch-search-refresh-view ()\r
+> -- \r
+> 1.7.5.4\r
+> \r
+> --8<---------------cut here---------------end--------------->8---\r