🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80160

Re: [slrn] macro question

#80160
From: Phil Boutros
Date: Sun, 10 Jun 2001 18:57
25 lines
1765 bytes
On 10 Jun 2001 17:58:29 GMT, Thomas Schultz <tststs@gmx.de> wrote:
> 
> That's exactly what hooks are for - they provide a way to have S-Lang
> code interpreted automatically on certain events.  For example, if you
> define a macro named "article_mode_hook", it gets executed whenever
> article mode is entered.  Thus, putting the set_article_window_size
> line into it will make the setting automatically for you.

	Thanks a lot.  The solution provided by Chiefy demonstrated
that point perfectly.

	I really know nothing at all about S-Lang, I just wrote my
stupid little macro by checking out a few other macros I had laying
around, and finding the variable I wanted to change by reading the
docs.  Basically, I just winged it!

	Obviously, I came close, but no cigar.  Thanks again, 


Phil
-- 
AH#61  Wolf#14  bs#89  bus#1           philb@total.net
http://www.total.net/~philb        http://eddiekieger.com 
"Power To The People" - BPP     EKIII will ride with me again.
Technical Details
Message-ID: <slrn9i7gn5.jf.philb@wolf14.nols.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.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news2
References: <slrn9i6v6n.1nu.philb@wolf14.nols.com> <slrn9i7da5.ek.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9i7gn5.jf.philb@wolf14.nols.com>
Subject: Re: [slrn] macro question
Date: Sun, 10 Jun 2001 18:57:18 +0000
From: philb@total.net (Phil Boutros)
References: <slrn9i6v6n.1nu.philb@wolf14.nols.com> <slrn9i7da5.ek.tststs@starflower.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news2
Newsgroups: news.software.readers
Organization: Total lack of...
Lines: 24
NNTP-Posting-Host: p-941.newsdawg.com
User-Agent: slrn/0.9.7.1 (Linux)