Thread View: news.software.readers
4 messages
4 total messages
Started by Alexander Anderson
Sat, 29 Jul 2000 00:00
[slrn] function to select article from header window
Author: Alexander Anderson
Date: Sat, 29 Jul 2000 00:00
Date: Sat, 29 Jul 2000 00:00
8 lines
1093 bytes
1093 bytes
I was looking for an internal SLRN function to select the article when you are in the header display mode, but the article itself is not showing. This is what Enter key is mapped to, but there does not seem to exist a function to do this operation. I only found "hide_article" (which does the opposite of what I want), "select_group" (which is what i want but for group selection mode).
Re: [slrn] function to select article from header window
Author: J.B. Nicholson-Owens
Date: Sat, 29 Jul 2000 00:00
Date: Sat, 29 Jul 2000 00:00
9 lines
1045 bytes
1045 bytes
Alexander Anderson wrote: > I only found "hide_article" (which does the opposite of what I want)... Actually hide_article is a toggle to hide or unhide articles. It is what you are looking for. You might also be interested in _is_article_visible() documented in doc/slrnfuns.txt in slrn's distribution and on a variety of online copies.
Re: [slrn] function to select article from header window
Author: Arjan Drieman
Date: Sat, 29 Jul 2000 00:00
Date: Sat, 29 Jul 2000 00:00
38 lines
2384 bytes
2384 bytes
On Sat, 29 Jul 2000 18:54:50 GMT, Alexander Anderson <cactoss@yahoo.com> wrote:
>On Sat, 29 Jul 2000 18:48:16 GMT, Alexander Anderson <cactoss@yahoo.com> wrote:
>> I was looking for an internal SLRN function to select the article when you
>> are in the header display mode, but the article itself is not showing. This
>> is what Enter key is mapped to, but there does not seem to exist a function
>> to do this operation.
>> I only found "hide_article" (which does the opposite of what I want),
>> "select_group" (which is what i want but for group selection mode).
>
>okay, i got it. this is really done by "hide_article". after experimenting
>with it, it turned out that it's not simply "hide" but toggle b/n hide and
>show. sorry for this post, but slrn internal functions are not documented
>that well..
If the article window is visible but not corresponding to the selected
article, you'll have to call hide_article twice because the first one
will hide the article window ;-)
I'm using art_bob rather than hide_article. Officially it's to "goto
the beginning of the article" but it does just what I want.
It opens the selected message in the article window, regardless of its
visibility.
Might want something like:
#v+
if (is_article_visible() != 3) call("hide_article")
#v-
Arjan
--
begin LOVE-LETTER-FOR-YOU.TXT.vbs
I'm a signature virus. Please copy me to help me spread!
end
Re: [slrn] function to select article from header window
Author: Alexander Anderson
Date: Sat, 29 Jul 2000 00:00
Date: Sat, 29 Jul 2000 00:00
14 lines
1485 bytes
1485 bytes
On Sat, 29 Jul 2000 18:48:16 GMT, Alexander Anderson <cactoss@yahoo.com> wrote: > I was looking for an internal SLRN function to select the article when you > are in the header display mode, but the article itself is not showing. This > is what Enter key is mapped to, but there does not seem to exist a function > to do this operation. > I only found "hide_article" (which does the opposite of what I want), > "select_group" (which is what i want but for group selection mode). okay, i got it. this is really done by "hide_article". after experimenting with it, it turned out that it's not simply "hide" but toggle b/n hide and show. sorry for this post, but slrn internal functions are not documented that well..
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