Archive of UserLand's first discussion group, started October 5, 1998.

Re: Jumping to the topic message

Author:Seth Dillingham
Posted:5/12/1999; 10:46:49 AM
Topic:Discussion group interface troubles
Msg #:6109 (In response to 6080)
Prev/Next:6108 / 6110

OK, I've just added a feature, there's a new header for each non-top-level message, called "Topic".

It links to the top-level topic in the thread. So if you're deeply nested, you're always one click away from the topmost message.

I added this to my dg this morning, too. I'd like to know how close we came, in implementation. Care to share? :-)

Here's what I added to (my #tools version of) readMessage:

bundle { // topic
   local ( adrTopic = adrItem );
   if ( adrItem^.inResponseTo != 0 ) { // current message is not a top-level topic
      while ( adrTopic^.inResponseTo != 0 ) {
         adrTopic = @parentof( adrTopic^ )^.[ string.padWithZeros( adrTopic^.inResponseTo, 7 ) ]};
      tr( "Topic: ", "" + adrTopic^.subject + "" )}}



There are responses to this message:


This page was archived on 6/13/2001; 4:50:05 PM.

© Copyright 1998-2001 UserLand Software, Inc.