Gnus development mailing list
 help / color / mirror / Atom feed
* Bug in topic
@ 2003-09-24  5:14 Katsumi Yamaoka
  2003-09-29  2:27 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2003-09-24  5:14 UTC (permalink / raw)
  Cc: semi-gnus-ja

Hi,

Someone reported in the Semi-gnus list that setting the
`gnus-topic-display-empty-topics' variable to nil is quite
dangerous.

Assume that there are two topics.  One is named "keep", the
other is for spam articles named "junk", and the topic parameter
for the "junk" topic contains `(total-expire . t)'.  The groups
will be displayed in the Group buffer as follows when a user
types the `L' key:

[ Gnus -- 5 ]
  [ keep -- 5 ]
         5: nnml:foo
  [ junk -- 0 ]
         0: nnml:spam

However, the "junk" topic is not displayed in the Group buffer
normally since `gnus-topic-display-empty-topics' is nil and there
is no unread article.  Then, if a user types `j nnml:spam RET',
the "spam" group will appear in the Group buffer as follows:

[ Gnus -- 5 ]
  [ keep -- 5 ]
  [ junk -- 0 ]
         0: nnml:spam
         5: nnml:foo

The reason why it is dangerous is that the articles contained in
the nnml:foo group will be expired immediately after reading
them.  Persons well informed in gnus-topic.el can solve this
problem easily, can't you? ;-)
-- 
Katsumi Yamaoka <yamaoka@jpl.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug in topic
  2003-09-24  5:14 Bug in topic Katsumi Yamaoka
@ 2003-09-29  2:27 ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2003-09-29  2:27 UTC (permalink / raw)
  Cc: semi-gnus-ja

Hi,

I've fixed it in CVS.

>>>>> In <b9yisnilqdb.fsf@jpl.org> Katsumi Yamaoka wrote:

> Hi,

> Someone reported in the Semi-gnus list that setting the
> `gnus-topic-display-empty-topics' variable to nil is quite
> dangerous.

> Assume that there are two topics.  One is named "keep", the
> other is for spam articles named "junk", and the topic parameter
> for the "junk" topic contains `(total-expire . t)'.  The groups
> will be displayed in the Group buffer as follows when a user
> types the `L' key:

> [ Gnus -- 5 ]
>   [ keep -- 5 ]
>          5: nnml:foo
>   [ junk -- 0 ]
>          0: nnml:spam

> However, the "junk" topic is not displayed in the Group buffer
> normally since `gnus-topic-display-empty-topics' is nil and there
> is no unread article.  Then, if a user types `j nnml:spam RET',
> the "spam" group will appear in the Group buffer as follows:

> [ Gnus -- 5 ]
>   [ keep -- 5 ]
>   [ junk -- 0 ]
>          0: nnml:spam
>          5: nnml:foo

> The reason why it is dangerous is that the articles contained in
> the nnml:foo group will be expired immediately after reading
> them.  Persons well informed in gnus-topic.el can solve this
> problem easily, can't you? ;-)
> -- 
> Katsumi Yamaoka <yamaoka@jpl.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-29  2:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24  5:14 Bug in topic Katsumi Yamaoka
2003-09-29  2:27 ` Katsumi Yamaoka

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