🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Michael Stillwell Thu, 15 Feb 1996 00:00
minor irritations with slrn
#19212
Author: Michael Stillwell
Date: Thu, 15 Feb 1996 00:00
35 lines
1988 bytes
- could '!' be made to jump to the next unread high score?  Quite
  frequently I use '!' to jump to the next high score, then decide
  that I want to read the post that elicited the reply.  So I do a
  M-p to get the parent, and for some reason slrn performs a sort
  with the effect that these two articles are moved up the newsgroup
  list, beyond articles I've already read.  So therefore the next
  time I push '!' to get the next high score it jumps to an article
  I've already read.

- can M-u be made to mark a thread undeleted, analogous to M-d.
  Sometimes when I find an interesting post do a M-1 M-p to get the
  whole thread, but then I always try and use 'n' to get to the next
  article, which gets the next unread article.  This is actually
  particularly bad when there are no more unread articles in the
  newsgroup, because slrn will ask you if you want to jump to the
  next newsgroup.  If you try and do a C-g to cancel, it goes to the
  newsgroup selection screen, rather than going back to the article
  selection screen (which I think it should do).  hmm ... maybe all
  requests to read a previous article should mark that article
  unread?

(umm ... could anyone follow this??!  Actually, it's not that
complicated in actual use ...)

Michael

-- 
.. ABSOLUT .SIG. ..
.. Michael Stillwell ..
.. mist@yoyo.cc.monash.edu.au ..
.. http://yoyo.cc.monash.edu.au/~mist/ ..


Re: minor irritations with slrn
#19213
Author: da... John E. Davis
Date: Thu, 15 Feb 1996 00:00
84 lines
3480 bytes
On 15 Feb 1996 01:04:30 GMT, Michael Stillwell <mi...@yoyo.cc.monash.edu.au>
wrote:
 : - could '!' be made to jump to the next unread high score?  Quite
 :   frequently I use '!' to jump to the next high score, then decide
 :   that I want to read the post that elicited the reply.  So I do a
 :   M-p to get the parent, and for some reason slrn performs a sort
 :   with the effect that these two articles are moved up the newsgroup
 :   list, beyond articles I've already read.  So therefore the next
 :   time I push '!' to get the next high score it jumps to an article
 :   I've already read.
 
It depends on your sorting mode.  If you turn on sorting threads by
alphabetical order, the change in position should not be too great.
I use:

    set sorting_method 3
    
 : - can M-u be made to mark a thread undeleted, analogous to M-d.
 :   Sometimes when I find an interesting post do a M-1 M-p to get the
 :   whole thread, but then I always try and use 'n' to get to the next
 :   article, which gets the next unread article.  This is actually
 
    The easiest way to achieve this is to do:
    
        ESC t u
	
This will collapse the thread and undelete it.

I realize that my suggestions are probably not what you are looking for.
However, in 0.8.7, you will be able to define your own functions and bind
them, e.g.,

   define my_undelete_thread ()
   {
      set_mark ();
      collapse_thread ();
      undelete ();
      goto_mark ();
   }
   
   setkey ("article", "my_undelete_thread", "u");

Part of the problem with slrn is that almost everyone using it is familiar
with another newsreader and that newsreader has some feature that slrn does
not have.  This is fine except that sometimes these features conflict with
one another.  For this reason I intend to embed the slang interpreter.  Then
you will be able to solve your first problem via a custom function, e.g,

    define my_goto_high_score ()
    {
        loop (2)
	  {
            forever
	     {
	      if (0 == goto_next_high_score ())
	        break;
	      if (header_unread ())
	        return;
	     }
	    % Not found, goto top and try again
	    goto_top ();
	  }
        error ("No next high score.");
     }

   setkey ("article", "my_goto_high_score", "!");

You will put such ``macros'' in some file, e.g., "~/lib/slrn/macros".  Then in
your .slrnrc file you would have a line:

    evalfile "~/lib/slrn/macros.sl"

Note also that the names of the intrinsic functions such as `goto_top' will
probably not be the same when all of this becomes a reality.  Rather, the
names will most likely resemble the names that the jed editor uses for its
intrinsics.  A good example of this is already provided with slrn: it is
slrn/score.sl which is a mode for editing slrn score files.

--John   
   
     

Re: minor irritations with slrn
#19216
Author: wal... Art Walker
Date: Thu, 15 Feb 1996 00:00
15 lines
1439 bytes
John E. Davis (da...@space.mit.edu) wrote:
: Part of the problem with slrn is that almost everyone using it is familiar
: with another newsreader and that newsreader has some feature that slrn does
: not have.  This is fine except that sometimes these features conflict with
: one another.  For this reason I intend to embed the slang interpreter.  Then
: you will be able to solve your first problem via a custom function, e.g,

Will there be a slang hook for custom score/kill functions (I want the ability
to kill articles if the subject line contains more uppercase letters than
lowercase ones)?
-- 
Art Walker, Recovering Iowan            |              Art....@mnscorp.com
"The Internet is a telephone system that's gotten uppity."  -- Clifford Stoll
Re: minor irritations with slrn
#19222
Author: hc... Hung T. Chau
Date: Thu, 15 Feb 1996 00:00
10 lines
969 bytes
On 15 Feb 1996 04:38:42 GMT, John E. Davis wrote:
For this reason I intend to embed the slang interpreter.

YESSSSSSSSSSS! :) By the way I love slrn.  I don't know what you did but
slrn is really, really fast.  I wish you could do the the same for our
electronic structure code :(
                                           Hung Chau

Re: minor irritations with slrn
#19254
Author: da... John E. Davis
Date: Fri, 16 Feb 1996 00:00
50 lines
1953 bytes
On 15 Feb 1996 23:59:17 GMT, Art Walker <wal...@mnscorp.com>
wrote:
 : Will there be a slang hook for custom score/kill functions (I want the ability
 : to kill articles if the subject line contains more uppercase letters than
 : lowercase ones)?

Although this would not be a priority, it should be possible.  For example,
consider the following score:

[sci.*]
    Score:: -9999
	     Xref: astrology
	  Subject: \<money\>
	  Subject: \<cash\>

This kills all articles in sci.* that are posted to an astrology newsgroup,
or whose subject contains a reference to money or cash.  Now, each of the 3
tests return a boolean value (yes or no) that the score is based on. Perhaps
I could extend the syntax of the score file so that a function could be
called, e.g.,

[sci.*]
    Score:: -9999
	     Xref: astrology
	  Subject: \<money\>
	  Subject: \<cash\>
	 @Subject: my_upper_lower_test
	 
where the last line would mean to call the S-Lang function
`my_upper_lower_test' with the subject line as its argument.  This function
would return a zero or non-zero value, e.g.,

    define my_upper_lower_test (subject)
    {
           .
           .
	 if (...) return 0;
	   .
	   .
	 return 1;
     }
     
--John       

   

   

Re: minor irritations with slrn
#19378
Author: J.B. Nicholson-Owens
Date: Mon, 19 Feb 1996 00:00
31 lines
1857 bytes
On 15 Feb 1996 01:04:30 GMT, Michael Stillwell <mist@yoyo.cc.monash.edu.au> wrote:
> - can M-u be made to mark a thread undeleted, analogous to M-d.

This could be changed by changing the keymap.

>   Sometimes when I find an interesting post do a M-1 M-p to get the
>   whole thread, but then I always try and use 'n' to get to the next
>   article, which gets the next unread article.

Try using the down arrow to move the cursor to the article you want to read
followed by spacebar or enter.

>   This is actually
>   particularly bad when there are no more unread articles in the
>   newsgroup, because slrn will ask you if you want to jump to the
>   next newsgroup.  If you try and do a C-g to cancel, it goes to the
>   newsgroup selection screen, rather than going back to the article
>   selection screen (which I think it should do).

I agree -- I think C-g in this case should cancel the question, not the
question *and* quit to group mode.

>   hmm ... maybe all
>   requests to read a previous article should mark that article
>   unread?

I don't think so, I'd rather it work as-is and let the user use the arrow
keys to go back to re-read articles marked read.


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