Gnus development mailing list
 help / color / mirror / Atom feed
From: TSUCHIYA Masatoshi <tsuchiya@namazu.org>
Subject: Re: gnus-namazu.el
Date: Thu, 11 Sep 2003 10:31:14 +0900	[thread overview]
Message-ID: <mpawucgnmal.fsf@moss.lang-private.kuee.kyoto-u.ac.jp> (raw)
In-Reply-To: <ugllsweu06.fsf@horse03.daimi.au.dk> (Niels Olof Bouvin's message of "Wed, 10 Sep 2003 13:57:13 +0200")

>> 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



  parent reply	other threads:[~2003-09-11  1:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-24 14:29 Fledgling project nnsearch.el Kai Großjohann
2003-08-24 14:57 ` Kai Großjohann
2003-08-24 16:57   ` Kai Großjohann
2003-08-24 17:22     ` Kai Großjohann
2003-08-24 20:54     ` Juha Autero
2003-08-25 19:49       ` Kai Großjohann
2003-08-24 20:53 ` Christoph Conrad
2003-08-25 19:55   ` Kai Großjohann
2003-08-25 20:25     ` Kai Großjohann
2003-08-26  9:44       ` Christoph Conrad
2003-08-25  1:33 ` gnus-namazu.el (was: Fledgling project nnsearch.el) TSUCHIYA Masatoshi
     [not found]   ` <odbruc1ez6.fsf@horse08.daimi.au.dk>
2003-09-10  2:38     ` gnus-namazu.el TSUCHIYA Masatoshi
     [not found]       ` <ugllsweu06.fsf@horse03.daimi.au.dk>
2003-09-11  1:31         ` TSUCHIYA Masatoshi [this message]
2004-05-01  2:43   ` gnus-namazu.el in gnus/contrib? TSUCHIYA Masatoshi
2004-05-01 19:39     ` Kai Grossjohann
2004-05-03 10:24     ` Stefan Reichör
2004-05-11  6:17     ` TSUCHIYA Masatoshi
2004-05-11  8:51       ` Reiner Steib
2004-05-11  9:07         ` TSUCHIYA Masatoshi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mpawucgnmal.fsf@moss.lang-private.kuee.kyoto-u.ac.jp \
    --to=tsuchiya@namazu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).