From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13898 Path: news.gmane.org!not-for-mail From: Mark Triggs Newsgroups: gmane.emacs.gnus.user Subject: A small patch for nnir.el Date: Thu, 18 Mar 2010 14:04:26 +1100 Message-ID: <87eijitjnp.fsf@dishevelled.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1273109155 4002 80.91.229.12 (6 May 2010 01:25:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 01:25:55 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu May 06 03:25:51 2010 connect(): No such file or directory Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9pqZ-0005du-Ao for gegu-info-gnus-english@m.gmane.org; Thu, 06 May 2010 03:25:51 +0200 Original-Received: from localhost ([127.0.0.1]:44563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9pdi-00031N-P7 for gegu-info-gnus-english@m.gmane.org; Wed, 05 May 2010 21:12:34 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 17 Mar 2010 22:04:30 -0500 Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus v5.13 Cancel-Lock: sha1:6yd6PUxnJ59qDZZ86d/M4Qw6PzI= Original-Lines: 30 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-qLONPPGoiPO4m35XOjzfDLjxZof+GMoLs6lCnQSGRirsbQnf7TijKlZiDirRVvyHEIid3ML5f1s8HfR!VZM+7mDwt1h5AltFCIYGLB7FIpg1mUSDR18dj5yLY1xnE816SU6VivrFlQ== Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84140 X-Mailman-Approved-At: Wed, 05 May 2010 21:10:53 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13898 Archived-At: Hi all, I've written my own little Lucene-based mail indexer to index my Gnus mail, and have hooked this into nnir.el. It's been working well for a while, but I've always been a little disappointed that 90% of the time my search results take to come back is Gnus hitting the disk to grab mail headers--especially when I've got those headers available in my search indexes anyway. To get around this, I modified nnir.el to add a hook that gets called at the point of fetching NOV header data. If this hook is non-nil, it is called for each search result hit and is expected to return the necessary headers in NOV format. This allowed me to use the headers returned by my indexing engine, and makes rendering the results summary very fast, even for thousands of results. I'm writing here because I'm a bit unsure who I should offer my (tiny) nnir.el patch to. The ding list seems to have fallen to the spammers, and Kai Großjohann said that, although my patch looked sensible, he's no longer the primary maintainer of nnir.el. Can anyone point me in the right direction? Thanks! Mark -- Mark Triggs