Article View: news.software.readers
Article #48053Re: Slrn: marking article/thread read without moving to next unread?
From: c92... Peppe
Date: Fri, 16 Apr 1999 00:00
Date: Fri, 16 Apr 1999 00:00
35 lines
2283 bytes
2283 bytes
Thus wrote Dawn Owens-Nicholson <blue...@ux6.cso.uiuc.edu>
> Peppe wrote:
> > This should be "if(is_thread_collapsed())" instead. [...]
> I don't know if you knew this but if you want to mark collapsed threads read
> or unread, the delete (or delete_thread) and undelete intrinsics work
> quickly.
Yep, I know these. The question was for a solution that did not use
the internal "delete", though. On my way, I was unforunately relying
on the erroneous use of set_header_flags().
Where I to use "delete", the function might be
define delete_thread_stay_put ()
{
collapse_thread ();
if (header_down (1))
{
header_up (1);
call ("delete")
header_up (1);
}
else
call ("delete")
}
Peppe
--
Preben Guldberg __/-\__ Q. How many Microsoft engineers does
c92...@student.dtu.dk (o o) it take to change a light bulb?
----------------------oOOo (_) oOOo A. None. They just change the
http://www.student.dtu.dk/~c928400/ standard to darkness.
Technical Details
Message-ID:
<slrn7hf9ek.ae.c928400@urdybet.pbk.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mailReferences:
<slrn7h3o65.jcd.hezu@tuuri.ling.helsinki.fi> <slrn7h472c.6d.c928400@urdybet.pbk.dk> <slrn7h4883.or7.davis@aluche.mit.edu> <slrn7h62fn.s3k.hezu@tuuri.ling.helsinki.fi> <slrn7h6vl6.103.c928400@urdybet.pbk.dk> <slrn7h8g72.8s3.hezu@tuuri.ling.helsinki.fi> <slrn7hac9a.upb.sas@hpprobe.div111.bell-labs.com> <slrn7hbepo.2nb.c928400@urdybet.pbk.dk> <slrn7hf4jr.a1k.bluemoon@ux6.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn7hf9ek.ae.c928400@urdybet.pbk.dk> Subject: Re: Slrn: marking article/thread read without moving to next unread? Date: Fri, 16 Apr 1999 00:00:00 +0000 From: c92...@student.dtu.dk (Peppe) References: <slrn7h3o65.jcd.hezu@tuuri.ling.helsinki.fi> <slrn7h472c.6d.c928400@urdybet.pbk.dk> <slrn7h4883.or7.davis@aluche.mit.edu> <slrn7h62fn.s3k.hezu@tuuri.ling.helsinki.fi> <slrn7h6vl6.103.c928400@urdybet.pbk.dk> <slrn7h8g72.8s3.hezu@tuuri.ling.helsinki.fi> <slrn7hac9a.upb.sas@hpprobe.div111.bell-labs.com> <slrn7hbepo.2nb.c928400@urdybet.pbk.dk> <slrn7hf4jr.a1k.bluemoon@ux6.cso.uiuc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail X-Deja-AN: 467282561 X-Complaints-To: use...@news.net.uni-c.dk X-Trace: news.net.uni-c.dk 924296533 20518 130.225.71.226 (16 Apr 1999 21:02:13 GMT) Organization: Home of Peppe User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: c92...@student.dtu.dk NNTP-Posting-Date: 16 Apr 1999 21:02:13 GMT Newsgroups: news.software.readers,alt.lang.s-lang