🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80156

Re: [slrn] macro question

#80156
From: Thomas Schultz
Date: Sun, 10 Jun 2001 17:58
17 lines
1724 bytes
* Phil Boutros [2001-06-10 13:57] :
[...]
> My question is (and I'm sure it's a real simple one I missed
> somewhere in the docs)...is there a way to set
> set_article_window_size automatically without even hitting a key?

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.
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2001-06-06] slrn 0.9.7.1 released
 -> [2001-04-19] Full documentation online
 -> [2001-03-28] slrn 0.9.7.0 released
Technical Details
Message-ID: <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-was.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
References: <slrn9i6v6n.1nu.philb@wolf14.nols.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9i7da5.ek.tststs@starflower.tststs.ddns.org>
Subject: Re: [slrn] macro question
Date: Sun, 10 Jun 2001 17:58:29 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <slrn9i6v6n.1nu.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-was.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 16
NNTP-Posting-Host: 149.225.119.159
NNTP-Posting-Date: 10 Jun 2001 18:04:45 GMT
X-Complaints-To: abuse@cityweb.de
X-Server-Date: 10 Jun 2001 18:02:04 GMT
User-Agent: slrn/0.9.7.1 (Linux)