🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80114

Re: [slrn] Slang Macros question

#80114
From: J.B. Nicholson-Owens
Date: Sat, 09 Jun 2001 22:28
21 lines
2004 bytes
Thomas Schultz wrote:
> This might cause surprising effects - should we simply restrict
> group_up_n / group_down_n / group_search to group mode in 0.9.7.2 or
> are there legitimate uses for them in article mode?

Off hand, I can't think of any application where I've wanted to move the
group mode cursor in article mode.  I've wanted to search the group list
from article mode (which I can do with get_group_order() now).
group_search() is a slightly tricky one -- on one hand, I want to search by
group description from article mode.  On the other, I understand the desire
to not let macro authors inadvertantly mess up things by moving the group
mode cursor.  But if I have to choose between them, I'd pick making
group_up_n(), group_down_n() and group_search() only work in group mode to
avoid the problem the original poster had.

> Additionally, group_unread () may return an incorrect result when you
> marked any articles as read / unread since you entered the group; with
> the above restriction, it would be easier to change this.

Sounds okay to me.
Technical Details
Message-ID: <slrn9i58lh.716.jbn@forestfield.org>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrn9hn3p7.sq4.pete@cornfed.alien.bt.co.uk> <slrn9hojhe.85.jbn@forestfield.org> <slrn9i4des.2p1.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9i58lh.716.jbn@forestfield.org>
Subject: Re: [slrn] Slang Macros question
Date: Sat, 09 Jun 2001 22:28:29 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <slrn9hn3p7.sq4.pete@cornfed.alien.bt.co.uk> <slrn9hojhe.85.jbn@forestfield.org> <slrn9i4des.2p1.tststs@starflower.tststs.ddns.org>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 20
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 992125709 6484668 208.216.67.173 (16 [35848])
User-Agent: slrn/0.9.7.1 (Unix)