From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53937 Path: main.gmane.org!not-for-mail From: TSUCHIYA Masatoshi Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-namazu.el Date: Thu, 11 Sep 2003 10:31:14 +0900 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <841xvbb03m.fsf@slowfox.is.informatik.uni-duisburg.de> <874qzlcqpy.fsf@pine.kuee.kyoto-u.ac.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1063243903 17729 80.91.224.253 (11 Sep 2003 01:31:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2003 01:31:43 +0000 (UTC) Original-X-From: ding-owner+M2477@lists.math.uh.edu Thu Sep 11 03:31:41 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xGJB-0003wi-00 for ; Thu, 11 Sep 2003 03:31:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19xGIw-0001Wd-00; Wed, 10 Sep 2003 20:31:27 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19xGIp-0001WX-00 for ding@lists.math.uh.edu; Wed, 10 Sep 2003 20:31:19 -0500 Original-Received: (qmail 54893 invoked by alias); 11 Sep 2003 01:31:19 -0000 Original-Received: (qmail 54875 invoked from network); 11 Sep 2003 01:31:18 -0000 Original-Received: from pine.kuee.kyoto-u.ac.jp (130.54.208.130) by sclp3.sclp.com with SMTP; 11 Sep 2003 01:31:18 -0000 Original-Received: (qmail 20512 invoked from network); 11 Sep 2003 01:31:14 -0000 Original-Received: from unknown (HELO moss.lang-private.kuee.kyoto-u.ac.jp) (10.228.147.182) by pine.lang-private.kuee.kyoto-u.ac.jp with SMTP; 11 Sep 2003 01:31:14 -0000 Original-To: ding@gnus.org X-cite: xcite 1.48 Mail-Followup-To: ding@gnus.org In-Reply-To: (Niels Olof Bouvin's message of "Wed, 10 Sep 2003 13:57:13 +0200") User-Agent: T-gnus/6.16.2 (based on Gnus v5.10.2) (revision 02) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53937 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53937 >> On Wed, 10 Sep 2003 13:57:13 +0200 >> bouvin@daimi.au.dk (Niels Olof Bouvin) said as follows: >> Could you evaluate the following expression? >> >> (gnus-namazu/search nil "Shannara") >(gnus-namazu/search nil "Shannara") >(("nnml:mail.archive.2003-08" . 77) ("dk.kultur.sciencefiction" . 9537)) Well, it looks fine. >> When gnus-namazu works correctly, it will return pairs of groups and >> articles, as follows: >> >> (("dk.kultur.sciencefiction" . 9537)) >The first hit is my original mail to you. When I search for >'Shannara' now (in Gnus), I get only this mail - not the d.k.sf one. >However, I am a bit suspicious about the lack of prefixes to the >d.k.sf hit - how does gnus-namazu know that this is a cached article? If I know what you mean, d.k.sf is not correct as a newsgroup name, and lacks a prefix such as `nntp:', right? In this case, there is a bug in gnus-namazu/make-directory-table() that creates a table of all possible cache directories from `gnus-newsrc-hashtb'. Gnus-namazu decides whether articles found by Namazu are cached or not based on the table. symbol-name() is used to get a group name from a symbol interned in `gnus-newsrc-hashtb', as follows: (mapatoms (lambda (group) (unless (gnus-ephemeral-group-p (setq group (symbol-name group))) ...)) gnus-newsrc-hashtb) Could you tell me a right way to get all group names? -- TSUCHIYA Masatoshi