🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261383

Re: [slrn] default group list

#261383
From: dale
Date: Fri, 16 Dec 2016 22:14
53 lines
2741 bytes
On 12/16/2016 3:58 PM, Kara M'bola wrote:
> Fri, 16 Dec 2016 15:02:50 -0500, dale wrote:
>> On 12/15/2016 11:51 PM, dale wrote:
>>> On 12/15/2016 10:55 PM, J.B. Nicholson wrote:
>>>> dale <dale@dalekelly.org> wrote:
>>>>> how can I config so that when I enter slrn shows all subscribed groups,
>>>>> read/unread empty/full ,... and hides all unsubscribed ones
>>>>
>>>> A macro can do this. Append
>>>>
>>>>     interpret "/path/to/homedir/.slrn/my_show_all_subscribed_groups.sl"
>>>>
>>>> to your .slrnrc file, then put the following in a file (such as
>>>> ~/.slrn/my_show_all_subscribed_groups.sl)
>>>>
>>>> #v+
>>>> define my_show_all_subscribed_groups ()
>>>> {
>>>>      call ("toggle_hidden");
>>>> }
>>>> () = register_hook ("group_mode_startup_hook",
>>>>                       "my_show_all_subscribed_groups");
>>>> #v-
>>>>
>>>> Then restart slrn. You should see all of your subscribed groups,
>>>> including the groups with 0 unread articles.
>>>>
>>>
>>> thanks much for the quick and rigorous reply, first slrn macro for me,
>>> be back in a day or two with results
>>>
>>
>> I get the following
>>
>>
>> Loading /home/dale/.slrn/my_show_all_subscribed_groups.sl
>> /home/dale/.slrn/my_show_all_subscribed_groups.sl:1: Expecting a
>> PRIMARY: found '#'
>> /home/dale/.slrn/my_show_all_subscribed_groups.sl:1:<top-level>:Syntax Error
>> slrn fatal error:
>> /home/dale/.slrnrc: Error encountered processing line 546
>> interpret "/home/dale/.slrn/my_show_all_subscribed_groups.sl"
>>
>> tried removing "#" same error with different character
> 
> Remove the two lines that contain #v+ and #v-. They're not part of the
> macro.
> 

thanks much, works now

-- 
dale | http://www.dalekelly.org
Technical Details
Message-ID: <9uuegc.5ee.19.1@news.alt.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <9us5i1.2dd.17.1@news.alt.net> <slrno56pdt.lkv.jbn@forestfield.org> <9ushdi.7rf.17.1@news.alt.net> <9uu6qb.nuk.19.1@news.alt.net> <slrno58lde.j86.maxupixu@pisces.my-domain>

Show Full Headers
Complete Article Headers
Message-ID: <9uuegc.5ee.19.1@news.alt.net>
Subject: Re: [slrn] default group list
Date: Fri, 16 Dec 2016 17:14:02 -0500
From: dale <dale@dalekelly.org>
References: <9us5i1.2dd.17.1@news.alt.net> <slrno56pdt.lkv.jbn@forestfield.org> <9ushdi.7rf.17.1@news.alt.net> <9uu6qb.nuk.19.1@news.alt.net> <slrno58lde.j86.maxupixu@pisces.my-domain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Lines: 53
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.0a2
In-Reply-To: <slrno58lde.j86.maxupixu@pisces.my-domain>
Content-Language: en-US
X-Received-Bytes: 2624
X-Received-Body-CRC: 523990844