Article View: news.software.readers
Article #195625Re: [slrn]How to...?
From: Troy Piggins
Date: Thu, 15 Feb 2007 02:50
Date: Thu, 15 Feb 2007 02:50
67 lines
3742 bytes
3742 bytes
* 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?
Try calling the one in muttview.sl view_my_saves2 while testing?
> Results:
>
> view_my_posts does nothing
view_my_saves
> evalfile("mutthook.sl") does nothing
evalfile("muttview.sl")
We gotta be getting close now...
--
Troy Piggins ,-O (o- O All your sigs are belong to us.
http://piggo.com/~troy O ) //\ O
RLU#415538 `-O V_/_ OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Technical Details
Message-ID:
<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!newshub.sdsu.edu!newsfeed.news2me.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!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>Show Full Headers
Complete Article Headers
Message-ID: <20070215124508@usenet.piggo.com> Subject: Re: [slrn]How to...? Date: Thu, 15 Feb 2007 12:50:53 +1000 From: Troy Piggins <usenet-0702@piggo.com> 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> 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!newshub.sdsu.edu!newsfeed.news2me.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: news.software.readers Reply-To: usenet-0702@piggo.com X-NNTP-Proxy: Leafnode v2 (http://leafnode.sourceforge.net/) User-Agent: slrn/0.9.8.1pl1/rt (Linux) Lines: 67 NNTP-Posting-Host: 203.206.121.193 X-Trace: 1171508154 per-qv1-newsreader-01.iinet.net.au 24709 203.206.121.193