Article View: news.software.readers
Article #195622Re: [slrn]How to...?
From: Troy Piggins
Date: Thu, 15 Feb 2007 01:36
Date: Thu, 15 Feb 2007 01:36
70 lines
4211 bytes
4211 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
>> * Blinky the Shark is quoted & my replies are inline below :
>>> Troy Piggins wrote:
>>>> * Blinky the Shark is quoted & my replies are inline below :
>>>>> Troy Piggins wrote:
>>>>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>>>>
>>>>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>>>>> I have done the exact same thing with the exception of the name of the
>>>>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>>>>> I left off the shift and Voila.
>>>>>>>
>>>>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>>>>
>>>>>> Bugger - thought we'd found it.
>>>>>
>>>>> Why would upper/lower matter, as long as I used the binding assigned?
>>>>
>>>> I was thinking that if, e.g., you had bound ^O but were keying
>>>> ctrl-shift-o it may not be working. No matter.
>>>>
>>>> Another thought - can you invoke mutt by invoking the
>>>> interpretter (ctrl-x esc) and typing the command:
>>>>
>>>> system ("mutt")
>>>
>>> And this works, too, doing what the macro is supposed to do:
>>>
>>> system ("mutt -f ~/News/slrn/saves")
>
> First, here is my customization of your macro:
>
> define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves); }
^^^^
That second error you posted seems to tell the story. You are missing a
closing " after 'saves'.
> definekey ("view_my_saves", "^o", "article");
> definekey ("view_my_saves", "^o", "group");
>
> I have it both in my_hooks.sl and in the new muttview.sl
>
> I tried it in my_hooks.sl because there was one definition in there that
> had almost the same format as yours, so I figured perhaps that's where
> it is supposed to go. I also tried, as you know, making a new .sl for
> it.
>
>> Next step, try this at the interpreter:
>>
>> view_my_posts
>
> 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 :)
--
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:
<20070215113351@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!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>Show Full Headers
Complete Article Headers
Message-ID: <20070215113351@usenet.piggo.com> Subject: Re: [slrn]How to...? Date: Thu, 15 Feb 2007 11:36:14 +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> 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!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: 70 NNTP-Posting-Host: 203.206.121.193 X-Trace: 1171503451 per-qv1-newsreader-01.iinet.net.au 24728 203.206.121.193