From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/11054 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-glimpse.el -- search a newsgroup using glimpse Date: 25 May 1997 02:03:30 +0200 Message-ID: References: Reply-To: Kai Grossjohann NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150828 27998 80.91.224.250 (20 Oct 2002 21:53:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:53:48 +0000 (UTC) Return-Path: Original-Received: from sandy.calag.com (root@sandy [206.190.83.128]) by altair.xemacs.org (8.8.5/8.8.5) with ESMTP id UAA21858 for ; Sat, 24 May 1997 20:00:06 -0700 Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by sandy.calag.com (8.8.5/8.8.5) with ESMTP id TAA07524 for ; Sat, 24 May 1997 19:59:47 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id VAA28743 for ; Sat, 24 May 1997 21:59:06 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sun, 25 May 1997 02:03:40 +0200 Original-Received: (qmail 20642 invoked by uid 504); 25 May 1997 00:03:38 -0000 Original-Received: (qmail 20639 invoked from network); 25 May 1997 00:03:38 -0000 Original-Received: from waldorf.informatik.uni-dortmund.de (129.217.4.42) by claymore.vcinet.com with SMTP; 25 May 1997 00:03:38 -0000 Original-Received: from naunet.informatik.uni-dortmund.de (naunet.informatik.uni-dortmund.de [129.217.20.111]) by waldorf.informatik.uni-dortmund.de with SMTP id CAA10976 for ; Sun, 25 May 1997 02:03:36 +0200 (MES) Original-Received: by naunet.informatik.uni-dortmund.de id CAA09530; Sun, 25 May 1997 02:03:33 +0200 Original-To: ding@gnus.org In-Reply-To: Greg Stark's message of 23 May 1997 13:09:23 -0400 X-Mailer: Gnus v5.4.52/Emacs 19.34 Original-Lines: 36 Original-Xref: altair.xemacs.org dgnus-list:1443 Xref: main.gmane.org gmane.emacs.gnus.general:11054 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:11054 >>>>> Greg Stark writes: Greg> Interestingly i was just thinking the other day about how to Greg> implement searching through a group for text in an article in Greg> a way that would support protocol features to do it on the Greg> server side. It might be worth thinking of some abstraction to Greg> handle this though i'm not sure of exactly what it should look Greg> like. Hm. What would you all think if each backend would (optionally) provide an nnchoke-search function expecting a string as argument and returning a list of article numbers (maybe message-id's)? Gnus could then have some function that queried the user for a search string, would pass it to the nnchoke-search-function and display the articles. There could be different .el files for different search engines or methods (put a require in .gnus.el to select one), or maybe one would specify (setq nnml-search-type 'glimpse) which would lead Gnus to invoke nnml-search-with-glimpse. The problem of the different query string formats would still remain, of course. As a first approximation one would require the user to enter the right string format. In addition, it might also be nice if Gnus had a function that, given a list of ("groupname" . articlenumber) pairs (or something), would display these articles from the groups. But that can be done later. What do you think? kai -- Life is hard and then you die.