Re: [slrn]How to...?
- From: Blinky the Shark <no.spam@xxxxxxxxxxx>
- Date: 15 Feb 2007 03:29:55 GMT
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
.
- Follow-Ups:
- Re: [slrn]How to...?
- From: Troy Piggins
- Re: [slrn]How to...?
- From: SINNER
- Re: [slrn]How to...?
- References:
- [slrn]How to...?
- From: Chris Game
- Re: [slrn]How to...?
- From: Whiskers
- Re: [slrn]How to...?
- From: Chris Game
- Re: [slrn]How to...?
- From: Troy Piggins
- Re: [slrn]How to...?
- From: Blinky the Shark
- Re: [slrn]How to...?
- From: Troy Piggins
- Re: [slrn]How to...?
- From: Blinky the Shark
- Re: [slrn]How to...?
- From: SINNER
- Re: [slrn]How to...?
- From: Blinky the Shark
- Re: [slrn]How to...?
- From: Troy Piggins
- Re: [slrn]How to...?
- From: Blinky the Shark
- Re: [slrn]How to...?
- From: Troy Piggins
- Re: [slrn]How to...?
- From: Blinky the Shark
- Re: [slrn]How to...?
- From: Troy Piggins
- Re: [slrn]How to...?
- From: Blinky the Shark
- Re: [slrn]How to...?
- From: Troy Piggins
- Re: [slrn]How to...?
- From: Blinky the Shark
- Re: [slrn]How to...?
- From: Troy Piggins
- [slrn]How to...?
- Prev by Date: Re: [slrn]How to...?
- Next by Date: Re: [slrn]How to...?
- Previous by thread: Re: [slrn]How to...?
- Next by thread: Re: [slrn]How to...?
- Index(es):