Article View: news.software.readers
Article #261382Re: [slrn] default group list
From: Kara M'bola
Date: Fri, 16 Dec 2016 20:58
Date: Fri, 16 Dec 2016 20:58
49 lines
2670 bytes
2670 bytes
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.
--
:q!
Technical Details
Message-ID:
<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-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>Show Full Headers
Complete Article Headers
Message-ID: <slrno58lde.j86.maxupixu@pisces.my-domain> Subject: Re: [slrn] default group list Date: Fri, 16 Dec 2016 20:58:02 +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> 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: 50 Injection-Date: Fri, 16 Dec 2016 20:58:02 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="88049c9f0cd45c5996aca5e83253c50d"; logging-data="1958"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19h9IqM5f5MkhQXinwm0M+P" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:7csfZEq0sJy1yisteKOHNouUrQo= X-Received-Bytes: 2705 X-Received-Body-CRC: 934235102