Thread View: news.software.readers
11 messages
11 total messages
Started by Thomas Schultz
Thu, 15 Jul 1999 00:00
[slrn] Patch: read/unread status of threads
Author: Thomas Schultz
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
57 lines
2467 bytes
2467 bytes
Hi,
At the moment, a collapsed thread in slrn may look like this:
1! D 200 10:[Joe User ] 3 slrn is cool
This line only tells you that the message by "Joe User" is marked as
read -- we know that there are two replies, but we know nothing of
their read/unread status.
This behaviour is changed by the patch below -- it will use 'D' only
if every message in a collapsed thread is marked as read and '-' only
if all messages are marked as unread. In case some are read and some
are not, it will use the new indicator 'd'.
This new feature was suggested some time ago in news.software.readers;
if others also think that it is helpful, I would be glad to see it in
the next release of slrn.
<patch starts here>
diff -ur slrn-0.9.5.6.orig/src/art.c slrn-0.9.5.6/src/art.c
--- slrn-0.9.5.6.orig/src/art.c Mon May 17 07:27:02 1999
+++ slrn-0.9.5.6/src/art.c Wed Jul 14 23:50:42 1999
@@ -7856,6 +7856,8 @@
static void disp_write_flags (Slrn_Header_Type *h, int row)
{
unsigned int flags = h->flags;
+ int read = (flags & HEADER_READ);
+ char read_char = read ? 'D' : '-';
/* Do not write header numbers if we are displaying at bottom of the
* screen in the display area. When this happens, the header window is
@@ -7898,7 +7900,17 @@
}
}
slrn_set_color (0);
- SLsmg_write_char ((flags & HEADER_READ) ? 'D': '-');
+
+ while (((h = h->next) != NULL)
+ && (h->flags & HEADER_HIDDEN))
+ {
+ if ((h->flags & HEADER_READ) != read)
+ {
+ read_char='d';
+ break;
+ }
+ }
+ SLsmg_write_char (read_char);
}
#if SLRN_HAS_GROUPLENS
<patch ends here>
--
Kind regards,
Thomas Schultz
Re: [slrn] Patch: read/unread status of threads
Author: John E. Davis
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
19 lines
1362 bytes
1362 bytes
On 15 Jul 1999 00:52:21 GMT, Thomas Schultz <tststs@gmx.de>
wrote:
>This new feature was suggested some time ago in news.software.readers;
>if others also think that it is helpful, I would be glad to see it in
>the next release of slrn.
From slrn/changes.txt:
Changes since 0.9.5.5
.
.
6. If a thread has some unread headers, then it is marked with a `%'
instead of a `D'. (Andrzej Radecki <radecki@posejdon.wpk.p.lodz.pl>).
This works for me. Doesn't it work for you?
Thanks,
--John
Re: [slrn] Patch: read/unread status of threads
Author: Thorfinn
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
32 lines
2161 bytes
2161 bytes
In news.software.readers, on 15 Jul 1999 03:16:40 GMT
John E. Davis <davis@space.mit.edu> wrote:
> From slrn/changes.txt:
> Changes since 0.9.5.5
> .
> .
> 6. If a thread has some unread headers, then it is marked with a `%'
> instead of a `D'. (Andrzej Radecki <radecki@posejdon.wpk.p.lodz.pl>).
Hrm.
> This works for me. Doesn't it work for you?
Doesn't work for me... but then, my copy of the 0.9.5.6 source tree
doesn't appear to have that entry in changes.txt.
Really, if you're going to change the source and upload it again,
*please* upload it as a new version? I know it might be a hassle
sometimes... but it can be *very* confusing, when you think you have
the latest version, because the version numbers are the same... but
you don't.
Later,
Thorf
--
<a href = "http://www.netizen.com.au/"> thorfinn@netizen.com.au </a>
To err is human, to moo bovine.
-- BSD fortune file
Re: [slrn] Patch: read/unread status of threads
Author: Gerfried Fuchs
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
21 lines
1328 bytes
1328 bytes
On 15 Jul 1999, John E. Davis <davis@space.mit.edu> wrote:
> From slrn/changes.txt:
>
> Changes since 0.9.5.5
> .
> .
> 6. If a thread has some unread headers, then it is marked with a `%'
> instead of a `D'. (Andrzej Radecki <radecki@posejdon.wpk.p.lodz.pl>).
>
> This works for me. Doesn't it work for you?
It seems to me that there must be at least 2 different versions of 0.9.5.6
around for my 0.9.5.6 doesn't have this feature?!? *puzzled*
So long!
Alfie
--
"The identical is equal to itself, since it is different."
-- Franco Spisani
Re: [slrn] Patch: read/unread status of threads
Author: John E. Davis
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
50 lines
3063 bytes
3063 bytes
On 15 Jul 1999 06:20:52 GMT, Thorfinn <thorfinn@netizen.com.au>
wrote:
>Really, if you're going to change the source and upload it again,
>*please* upload it as a new version? I know it might be a hassle
>sometimes... but it can be *very* confusing, when you think you have
>the latest version, because the version numbers are the same... but
>you don't.
I have not idea how it happened but I released a development version
of 0.9.5.6 instead of what I wanted to release. For this reason, I
just released 0.9.5.7 with following changes:
--- slrn-0.9.5.6/changes.txt Mon May 17 01:26:53 1999
+++ slrn-0.9.5.7/changes.txt Thu Jul 15 03:27:18 1999
@@ -1,3 +1,15 @@
+Changes since 0.9.5.6
+1. Fixed calculation of article window size in non-zoomed mode.
+2. Fixed a bug in parsing of realnames that contain no alphabetical
+ characters.
+3. spool.c will check the .minmax file if no articles are present in a
+ spool directory.
+4. New intrinsic added: replace_article. This allows a macro to
+ replace the contents of an article with a specified string.
+5. slrnpull `--debug FILENAME' command line option added.
+6. Some modifications to nntp.c to call the connection-lost-hook as
+ early as possible.
+
Changes since 0.9.5.5
1. Misc bug-fixes:
a. Intrinsic function `locate_header_by_msgid' improperly
@@ -19,6 +31,12 @@
5. When replying, slrn adds References headers and also takes into
account the To and Cc lines. This enables the newsreader to
better support mailing lists.
+
+6. If a thread has some unread headers, then it is marked with a `%'
+ instead of a `D'. (Andrzej Radecki <radecki@posejdon.wpk.p.lodz.pl>).
+
+7. When asking for a password/username, a newline character will be
+ written first (Philipp Grau <phgrau@cis.fu-berlin.de>).
Changes since 0.9.5.4
0. Online documentation for slrn intrinsic functions
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis Cambridge, MA 02139-4307
Re: [slrn] Patch: read/unread status of threads
Author: Thorfinn
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
67 lines
3384 bytes
3384 bytes
In news.software.readers, on 15 Jul 1999 06:20:52 GMT
Thorfinn <thorfinn@netizen.com.au> wrote:
> In news.software.readers, on 15 Jul 1999 03:16:40 GMT
> John E. Davis <davis@space.mit.edu> wrote:
> > From slrn/changes.txt:
> > Changes since 0.9.5.5
> > .
> > .
> > 6. If a thread has some unread headers, then it is marked with a `%'
> > instead of a `D'. (Andrzej Radecki <radecki@posejdon.wpk.p.lodz.pl>).
> Hrm.
Even odder....
> > This works for me. Doesn't it work for you?
> Doesn't work for me... but then, my copy of the 0.9.5.6 source tree
> doesn't appear to have that entry in changes.txt.
I just grabbed the source again, from:
ftp://space.mit.edu/pub/davis/slrn/slrn-0.9.5.6.tar.gz
And that does *not* have that change...
So, I dunno what happened, but obviously an incomplete release is
sitting there somehow.
It's got this in changes.txt:
Changes since 0.9.5.5
1. Misc bug-fixes:
a. Intrinsic function `locate_header_by_msgid' improperly
interfaced to the interpreter.
b. `make install' was trying to install some old, obsolete, and
non-existent documentation files.
c. Tiny bug fixed in new get_hostname function that manifests itself
when the name server times-out.
2. With slrnpull it is now possible to specify an alternate log file
via the `--logfile FILE' command line option.
3. Philipp Grau <phgrau@zedat.fu-berlin.de> suggested using ` in the
ascii thread tree instead of \.
4. Add patch from Thomas Schultz <tststs@gmx.de> to mime-encode the
real name when posting. The original patch was due to Joachim
Wieland <joe@mcknight.swin.de>.
5. When replying, slrn adds References headers and also takes into
account the To and Cc lines. This enables the newsreader to
better support mailing lists.
Changes since 0.9.5.4
[snippage]
That's all. No item 6.
Later,
Thorf
--
<a href = "http://www.netizen.com.au/"> thorfinn@netizen.com.au </a>
What is mind? No matter.
What is matter? Never mind.
-- Thomas Hewitt Key, 1799-1875
Re: [slrn] Patch: read/unread status of threads
Author: Thorfinn
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
23 lines
1887 bytes
1887 bytes
In news.software.readers, on 15 Jul 1999 07:41:01 GMT
John E. Davis <davis@space.mit.edu> wrote:
> I have not idea how it happened but I released a development version
> of 0.9.5.6 instead of what I wanted to release.
Wups. :)
> For this reason, I
> just released 0.9.5.7 with following changes:
Just grabbed it. :) Looks fine.
Thanks,
Thorf
--
<a href = "http://www.netizen.com.au/"> thorfinn@netizen.com.au </a>
Y is for Yuri, wore an amulet for sleepers
Z is for Zora, ticked off a shopkeeper
-- Doug Atkinson <douga@io.com> in rec.games.roguelike.nethack
Re: [slrn] Patch: read/unread status of threads
Author: Marc Langer
Date: Fri, 16 Jul 1999 00:00
Date: Fri, 16 Jul 1999 00:00
13 lines
1369 bytes
1369 bytes
Am 15 Jul 1999 07:41:01 GMT schrieb John E. Davis: >+1. Fixed calculation of article window size in non-zoomed mode. slrn 0.9.5.7 does not scroll down a complete page, so I have to read one line twice (the last line of page 1 is also the first line of page 2). Is this intended by the function quoted above or is it a bug in 0.9.5.7? I prefer the handling of previous versions (scrolling down a complete page without repeating one line). Marc
Re: [slrn] Patch: read/unread status of threads
Author: John E. Davis
Date: Sun, 18 Jul 1999 00:00
Date: Sun, 18 Jul 1999 00:00
12 lines
1447 bytes
1447 bytes
On 18 Jul 1999 17:50:14 GMT, Felix Schueller <fschueller@netcologne.de> wrote: >Why is there no response if someone sends you a patch? Neither a simple Usually I do. I apologise for not responding about your patches but I have not had the time to look at them carefully yet. They add several new features that will have to wait for the 0.9.5.x series. Lately, I have had very little time to do anything but bug fixes. --John
Re: [slrn] Patch: read/unread status of threads
Author: Felix Schueller
Date: Sun, 18 Jul 1999 00:00
Date: Sun, 18 Jul 1999 00:00
23 lines
1686 bytes
1686 bytes
Am 18 Jul 1999 19:22:06 GMT sendete John E. Davis folgende Botschaft: >>Why is there no response if someone sends you a patch? Neither a simple >Usually I do. Ok, but two other people told me about the same problem, thats the reasone i post it. >I apologise for not responding about your patches but I >have not had the time to look at them carefully yet. They add several >new features that will have to wait for the 0.9.5.x series. Lately, I >have had very little time to do anything but bug fixes. All I mean is a simple mail with this text. btw: I think I put the patch on a website that everybody who needs this features can get it. CU Felix
Re: [slrn] Patch: read/unread status of threads
Author: Felix Schueller
Date: Sun, 18 Jul 1999 00:00
Date: Sun, 18 Jul 1999 00:00
21 lines
1687 bytes
1687 bytes
Am 15 Jul 1999 07:41:01 GMT sendete John E. Davis folgende Botschaft: >>Really, if you're going to change the source and upload it again, >>*please* upload it as a new version? I know it might be a hassle >>sometimes... but it can be *very* confusing, when you think you have >>the latest version, because the version numbers are the same... but >>you don't. >I have not idea how it happened but I released a development version >of 0.9.5.6 instead of what I wanted to release. For this reason, I >just released 0.9.5.7 with following changes: Btw: another Question: Why is there no response if someone sends you a patch? Neither a simple ACK nor NACK. Thats looks IMHO like a transmission to /dev/null for the writer of the patch. CU Felix
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads