🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261386

Re: [slrn] default group list

#261386
From: GEO
Date: Sun, 18 Dec 2016 03:50
55 lines
3127 bytes
On Fri, 16 Dec 2016 17:14:02 -0500, dale <dale@dalekelly.org> wrote:

>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

That will be another $45. Who says you can't get rich with open source
software! ;-)
Technical Details
Message-ID: <kr1c5cdodaupftob5hifv97vlp1spr0spv@4ax.com>
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> <9uuegc.5ee.19.1@news.alt.net>

Show Full Headers
Complete Article Headers
Message-ID: <kr1c5cdodaupftob5hifv97vlp1spr0spv@4ax.com>
Subject: Re: [slrn] default group list
Date: Sat, 17 Dec 2016 19:50:59 -0800
From: GEO <ghandle75.x@gmail.com-SPAM>
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> <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
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 55
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: mx02.eternal-september.org; posting-host="7cc74a6278cc81cb0f1277b1896fc0a2";
 logging-data="27961"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6pOKidXCLjXKcXuFQam5SoReZ2R5+eKU="
User-Agent: ForteAgent/7.20.32.1218
Cancel-Lock: sha1:XTroE8zkYarymsUQBOo41aLEQBA=
X-Received-Body-CRC: 3558193449
X-Received-Bytes: 3140