Article View: news.software.readers
Article #242386Re: [slrn] Cleanthreads v.2
From: ernobe
Date: Thu, 26 Aug 2010 16:54
Date: Thu, 26 Aug 2010 16:54
23 lines
2460 bytes
2460 bytes
> > I misinterpreted the slrn documentation that says that the hooks are called > in the order they were registered to mean that the above setup would call > my_groups before make_clean_threads. Actually, the my_groups routine should be made into an article_mode_hook instead of an article_mode_startup_hook, and the 'collapse_threads ();' call removed from the groups macro by deleting it from the Icon program source code. I tried it and it works, sorting occurs after the article_mode_hook and before the article_mode_startup_hook, so articles within a thread do not get deleted, because the sorting arranges them in threads. Concerning this it should be noted that the new_subject_breaks_threads configuration variable should be left at its default value of zero, because the cleaner macro deletes threads that begin with articles that have a references line, and any other setting for this variable will probably result in the deletion of articles not meant to be deleted. Concerning other settings required for offline mode see my previous thread entitled 'Logging of retrieved articles?'. -- "The world of existence is an emanation of the merciful attribute of God." Abdu'l-Baha http://www.costarricense.cr/pagina/ernobe
Technical Details
Message-ID:
<i5668i$acr$1@news.eternal-september.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mailReferences:
<i537gb$kmd$1@news.eternal-september.org> <i543mh$21i$1@news.eternal-september.org>Show Full Headers
Complete Article Headers
Message-ID: <i5668i$acr$1@news.eternal-september.org> Subject: Re: [slrn] Cleanthreads v.2 Date: Thu, 26 Aug 2010 16:54:44 +0000 From: ernobe <ernobe@yahoo.com> References: <i537gb$kmd$1@news.eternal-september.org> <i543mh$21i$1@news.eternal-september.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: Baha'i Faith Lines: 23 Injection-Date: Thu, 26 Aug 2010 16:54:44 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="JELnH+BdEro/urHfghrQkg"; logging-data="10651"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vKV+bD/rBwO5u6L2W9s4xnkAJk1MwRU8=" User-Agent: slrn/pre1.0.0-18 (Linux) Cancel-Lock: sha1:tySKipxaFCjudyBWraYLij29/bo= X-Original-Bytes: 2194