Thread View: news.software.readers
4 messages
4 total messages
Started by Decklin Foster
Sat, 13 Feb 1999 00:00
Slrn: how to untag articles in s-lang?
Author: Decklin Foster
Date: Sat, 13 Feb 1999 00:00
Date: Sat, 13 Feb 1999 00:00
12 lines
1257 bytes
1257 bytes
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? -- Please read: <URL:http://www.gnu.org/philosophy/> The Web is to graphic design as the fax machine is to literature.
Re: Slrn: how to untag articles in s-lang?
Author: Christian Kurz
Date: Sat, 13 Feb 1999 00:00
Date: Sat, 13 Feb 1999 00:00
18 lines
1421 bytes
1421 bytes
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.
Ciao
Christian
--
/* http://www.rhein-neckar.de/~jupiter/ Christian Kurz */
Re: Slrn: how to untag articles in s-lang?
Author: Thomas Schultz
Date: Sat, 13 Feb 1999 00:00
Date: Sat, 13 Feb 1999 00:00
13 lines
1129 bytes
1129 bytes
On Sat, 13 Feb 1999, 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 #'.
call("untag_headers");
should do the trick.
--
Kind regards,
Thomas Schultz
Re: Slrn: how to untag articles in s-lang?
Author: 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/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads