🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #56555

Re: slrn 's' command, slight misfeature?

#56555
From: blue... Dawn Owens-Nicholson
Date: Sat, 08 Jan 2000 00:00
32 lines
1786 bytes
Thomas Schultz wrote:
> In particular, I do not like the way the re-sorting of the
> articles is done - finding out the sorting_method, ungetkey()ing it
> and calling "toggle_sort" does work, but seems somewhat awkward.

How about storing the sorting_method and resetting it with
set_integer_variable("sorting_method", ...)?

>    while(header_up(1));

call("header_bob") will scale better on large groups (also virtual groups
might come which means still larger groups).

>    if ((mode == 'b') or (mode == 'B'))

A few alternatives:

  * orelse (which is slightly faster).
  * covert mode to lower (or upper case) then do one compare against
    that case.
  * a little bit twiddling (if I remember my ASCII chart, I think lower
    and upper character values differ by 32 (base 10)?).

>    uncollapse_threads ();
> [...]
>    collapse_threads();

I guess I should release a macro set to record and reset the collapse status
of the display.  Call it a peeve, but I prefer macros that don't alter the
layout of the display unless they absolutely have to.
Technical Details
Message-ID: <slrn87d8vd.1lc.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
References: <slrn876gun.tul.cgreen@shell.x-1.net> <slrn87aebn.1un.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn87d8vd.1lc.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: slrn 's' command, slight misfeature?
Date: Sat, 08 Jan 2000 00:00:00 +0000
From: blue...@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn876gun.tul.cgreen@shell.x-1.net> <slrn87aebn.1un.tststs@starflower.tststs.ddns.org>
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: 569823002
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.6.2 (HP-UX)
Newsgroups: news.software.readers,alt.lang.s-lang