Article View: news.software.readers
Article #261384Re: [slrn] default group list
From: Kara M'bola
Date: Fri, 16 Dec 2016 23:50
Date: Fri, 16 Dec 2016 23:50
57 lines
2987 bytes
2987 bytes
Fri, 16 Dec 2016 17:14:02 -0500, dale 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
>
You're welcome.
--
:q!
Technical Details
Message-ID:
<slrno58vg7.jn6.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-mailReferences:
<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: <slrno58vg7.jn6.maxupixu@pisces.my-domain> Subject: Re: [slrn] default group list Date: Fri, 16 Dec 2016 23:50:11 +0000 From: Kara M'bola <maxupixu@in.val.it> 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: 58 Injection-Date: Fri, 16 Dec 2016 23:50:11 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="e33d6df73feaf4d932e18b4abfe61bd0"; logging-data="9150"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fT2sdP65ZgrHXbZjVpX+o" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:S4/VHxYuMcPLy44WB3lEGg+oq2I= X-Received-Body-CRC: 1854588373 X-Received-Bytes: 3014