Article View: news.software.readers
Article #46537Re: Slrn: how to untag articles in s-lang?
From: Jan Hlavacek
Date: Mon, 15 Feb 1999 00:00
Date: Mon, 15 Feb 1999 00:00
28 lines
2237 bytes
2237 bytes
On 13 Feb 1999 22:43:17 +0100, Christian Kurz
<shorty@jupiter.rhein-neckar.de> wrote:
> Decklin Foster <decklin@home.com> wrote:
> > I'm writing some s-lang scripts for slrn. One of the things I want to
> > do from an s-lang function is untag all the previously marked
> > articles, as if the user pressed `ESC #'. I've looked through the
> > documentation (there is a list of seemingly every other function), but
> > I can't find the name of this function in s-lang. I can't even remap
> > it to another keystroke, actually. How do I accomplish this?
>
> According to my information you can't untag articles with a s-lang
> script. It's only a internal function, which you can remap to a other
> key than 'ESC #'. The function is called 'untag_headers', IIRC.
You can use any internal function from a s-lang macro by "calling" it:
call("untag_headers");
You can even set a prefix argument:
set_prefix_argument (1);
call("select_group");
in group mode will do the same as pressing <ESC>1<SPACE>.
--
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu> (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/
Technical Details
Message-ID:
<slrn7cf5i1.q4o.lahvak@math.mps.ohio-state.edu>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:
<slrn7cb4nc.57u.decklin@c26469-a.clnvl1.ct.home.com> <7a4rll$ok$1@jupiter.rhein-neckar.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn7cf5i1.q4o.lahvak@math.mps.ohio-state.edu> Subject: Re: Slrn: how to untag articles in s-lang? Date: Mon, 15 Feb 1999 00:00:00 +0000 From: lahvak@math.mps.ohio-state.edu (Jan Hlavacek) References: <slrn7cb4nc.57u.decklin@c26469-a.clnvl1.ct.home.com> <7a4rll$ok$1@jupiter.rhein-neckar.de> 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: 444451017 X-Complaints-To: usenet@math.ohio-state.edu X-Trace: mathserv.mps.ohio-state.edu 919049786 21981 128.146.111.30 (15 Feb 1999 03:36:26 GMT) Organization: Department of Mathematics, The Ohio State University User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: lahvak@math.mps.ohio-state.edu NNTP-Posting-Date: 15 Feb 1999 03:36:26 GMT Newsgroups: news.software.readers