Article View: news.software.readers
Article #39216Re: slrn: Bug/feature with "important" (*) articles
From: Ian T Zimmerman
Date: Sat, 28 Feb 1998 00:00
Date: Sat, 28 Feb 1998 00:00
52 lines
1988 bytes
1988 bytes
In article <slrn6fehsq.hfc.rhh@elmer.ct.picker.com>,
Randall Hopper <rhh@ct.picker.com> writes:
> If I mark an article as (*) important (i.e. catchup prevents
> marking it deleted), and then I read it, it's marked deleted. Ok,
> but if I then try to undelete it won't remove the D flag until I
> remove the important flag first (then undelete it, then re-mark it
> as important).
> This seems inconsistent. For consistency, IMO either slrn
> shouldn't mark it deleted when I read it, or it should allow me to
> undelete it without removing the important flag.
This is trivial to fix with a macro:
define undelete_and_tag_header()
{
variable header_flags;
variable prefix_arg = get_prefix_arg();
if (-1 == prefix_arg) {
prefix_arg = 1;
}
while (prefix_arg, prefix_arg--) {
header_flags = get_header_flags();
header_flags = (header_flags & ~(HEADER_READ)) | HEADER_TAGGED;
set_header_flags(header_flags);
header_down(1);
update();
}
}
define delete_and_untag_header()
{
variable header_flags;
variable prefix_arg = get_prefix_arg();
if (-1 == prefix_arg) {
prefix_arg = 1;
}
while (prefix_arg, prefix_arg--) {
header_flags = get_header_flags();
header_flags = (header_flags & ~(HEADER_TAGGED)) | HEADER_READ;
set_header_flags(header_flags);
header_down(1);
}
update();
}
Technical Details
Message-ID:
<slrn6fgesg.i2.itz@kronstadt.rahul.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn6fehsq.hfc.rhh@elmer.ct.picker.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn6fgesg.i2.itz@kronstadt.rahul.net> Subject: Re: slrn: Bug/feature with "important" (*) articles Date: Sat, 28 Feb 1998 00:00:00 +0000 From: itz@kronstadt.boxmail.com (Ian T Zimmerman) References: <slrn6fehsq.hfc.rhh@elmer.ct.picker.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 329475604 Organization: a2i network Newsgroups: news.software.readers