Article View: news.software.readers
Article #195626Re: [slrn]How to...?
From: Blinky the Shark
Date: Thu, 15 Feb 2007 03:29
Date: Thu, 15 Feb 2007 03:29
78 lines
4007 bytes
4007 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>> [---=| Quote block shrinked by t-prot: 54 lines snipped |=---]
>>>> S-Lang Error: Undefined Name: view_my_saves is undefined
>>>>
>>>>> And try:
>>>>>
>>>>> evalfile("mutthook.sl")
>>>>
>>>> S-Lang Error: Syntax Error: Expecting quote-character: found '??',
>>>> line 1, file: /usr/share/slrn/macros/muttview.sl
>>>
>>> Hope that's it :)
>>
>> Added the doublequotes to each file
>>
>> my_hook.sl
>> ----------_
>>
>> % This macro will bind slrn help to <F1>.
>>
>> define view_manual ()
>> {
>> system ("zless /usr/share/doc/slrn/manual.txt.gz");
>> }
>> definekey ("view_manual", "<F1>", "article");
>> definekey ("view_manual", "<F1>", "group");
>>
>> % Allows reading slrn-saved posts with Mutt - within slrn
>> % DOESN'T WORK
>>
>> define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves)"; }
>
> define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves"); }
> ^^^
>
>> definekey ("view_my_saves", "^o", "article");
>> definekey ("view_my_saves", "^o", "group");
>>
>> muttview.sl
>> -----------
>>
>> define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves"); }
>> definekey ("view_my_saves", "^o", "article");
>> definekey ("view_my_saves", "^o", "group");
>
> Maybe calling up twice causes drama? or did you comment out the
> one in my_hook.sl when using muttview.sl?
Commented out.
No change. Neither command does anything but flash the display a bit.
> Try calling the one in muttview.sl view_my_saves2 while testing?
>
>> Results:
>>
>> view_my_posts does nothing
>
> view_my_saves
Yes -- I just typoed that, there. I was entering view_my_saves
>> evalfile("mutthook.sl") does nothing
Again, I typoed here, but ran the correct command.
> evalfile("muttview.sl")
>
> We gotta be getting close now...
Nothing's changing.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID:
<slrnet7krt.1q6.no.spam@thurston.blinkynet.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrnet33lg.a2u.chrisgame@URANUS.example.net> <20070213121650.59D7.0.NOFFLE@ID-107770.user.individual.net> <slrnet40d1.5p6.chrisgame@URANUS.example.net> <20070214074207@usenet.piggo.com> <slrnet57cl.alo.no.spam@thurston.blinkynet.net> <20070214154555@usenet.piggo.com> <slrnet5e59.c93.no.spam@thurston.blinkynet.net> <ilfba4xieo.ln2@news.gates-of-hell.com> <slrnet6u72.rls.no.spam@thurston.blinkynet.net> <20070215071824@usenet.piggo.com> <slrnet70p9.rls.no.spam@thurston.blinkynet.net> <20070215081555@usenet.piggo.com> <slrnet792p.rls.no.spam@thurston.blinkynet.net> <20070215103124@usenet.piggo.com> <slrnet7cek.rls.no.spam@thurston.blinkynet.net> <20070215113351@usenet.piggo.com> <slrnet7gak.hn.no.spam@thurston.blinkynet.net> <20070215124508@usenet.piggo.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnet7krt.1q6.no.spam@thurston.blinkynet.net> Subject: Re: [slrn]How to...? Date: Thu, 15 Feb 2007 03:29:55 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <slrnet33lg.a2u.chrisgame@URANUS.example.net> <20070213121650.59D7.0.NOFFLE@ID-107770.user.individual.net> <slrnet40d1.5p6.chrisgame@URANUS.example.net> <20070214074207@usenet.piggo.com> <slrnet57cl.alo.no.spam@thurston.blinkynet.net> <20070214154555@usenet.piggo.com> <slrnet5e59.c93.no.spam@thurston.blinkynet.net> <ilfba4xieo.ln2@news.gates-of-hell.com> <slrnet6u72.rls.no.spam@thurston.blinkynet.net> <20070215071824@usenet.piggo.com> <slrnet70p9.rls.no.spam@thurston.blinkynet.net> <20070215081555@usenet.piggo.com> <slrnet792p.rls.no.spam@thurston.blinkynet.net> <20070215103124@usenet.piggo.com> <slrnet7cek.rls.no.spam@thurston.blinkynet.net> <20070215113351@usenet.piggo.com> <slrnet7gak.hn.no.spam@thurston.blinkynet.net> <20070215124508@usenet.piggo.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 78 X-Trace: individual.net DplNt16Vtq3tZ+MVVxXZaw03S8/f2vby8h+ZoWCDngYdOqgDl6 X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1 (Linux)