Article View: news.software.readers
Article #37852Re: SLRN macro
From: Bjoern Frantzen
Date: Fri, 02 Jan 1998 00:00
Date: Fri, 02 Jan 1998 00:00
24 lines
1290 bytes
1290 bytes
On 2 Jan 1998 11:49:18 GMT, Gossamer <gossamer+usenet@tertius.net.au> wrote:
> One of the things I need is a macro I can bind to lowercase q
> in article mode - if there's an article currently being shown
> then it should just hide article and stay in article mode,
> if there's no article being shown, it should -then- revert
> back to group mode.
I think this does what you want;
define my_q_cmd () {
if (is_article_visible())
call ("hide_article");
else
call ("quit");
}
definekey ("my_q_cmd", "q", "article");
--
Bj�rn Frantzen bjoff@bgnett.no
Technical Details
Message-ID:
<slrn6aq1ls.sm.bjoff@bgnett.no>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!not-for-mailReferences:
<slrn6apl6f.43t.gossamer+usenet@penguin.glasswings.com.au>Show Full Headers
Complete Article Headers
Message-ID: <slrn6aq1ls.sm.bjoff@bgnett.no> Subject: Re: SLRN macro Date: Fri, 02 Jan 1998 00:00:00 +0000 From: bjoff@bgnett.no (Bjoern Frantzen) References: <slrn6apl6f.43t.gossamer+usenet@penguin.glasswings.com.au> 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!not-for-mail X-Deja-AN: 312237849 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Organization: None whatsoever Mime-Version: 1.0 Newsgroups: news.software.readers