Article View: news.software.readers
Article #48578Re: view complete threads in slrn, how?
From: John E. Davis
Date: Thu, 13 May 1999 00:00
Date: Thu, 13 May 1999 00:00
34 lines
2779 bytes
2779 bytes
On 12 May 1999 22:23:33 GMT, Thomas Schultz <tststs@gmx.de>
wrote:
>On 12 May 1999, John E. Davis <davis@space.mit.edu> wrote:
>
>> () = locate_header_by_msgid (msgid, 0);
>
>By the way - every time I try to use this function the way it is
>described in the manual (and shown here), I get a stack underflow. The
>error goes away if I leave out the "() = "-assignment. Is it possible
>that locate_header_by_msgid isn't actually returning a value or is it
>just me making some kind of stupid mistake?
That function was introduced in 0.9.5.5. Unfortunately, I improperly
interfaced it to the interpreter. It is one of the reasons that I am
going to release 0.9.5.6 this weekend. Here is the patch:
--- ../../release/slrn/src/interp.c Sun Apr 25 16:41:45 1999
+++ interp.c Fri Apr 30 00:02:05 1999
@@ -991,7 +991,7 @@
MAKE_INTRINSIC_IS("set_header_display_format", set_header_display_format, SLANG_VOID_TYPE),
MAKE_INTRINSIC_0("get_prefix_arg", get_prefix_arg, SLANG_INT_TYPE),
MAKE_INTRINSIC_0("reset_prefix_arg", reset_prefix_arg, SLANG_VOID_TYPE),
- MAKE_INTRINSIC_SI("locate_header_by_msgid", locate_header_by_msgid, SLANG_VOID_TYPE),
+ MAKE_INTRINSIC_SI("locate_header_by_msgid", locate_header_by_msgid, SLANG_INT_TYPE),
MAKE_INTRINSIC_0("article_as_string", article_as_string, SLANG_STRING_TYPE),
MAKE_INTRINSIC_S("call", slrn_call_command, SLANG_VOID_TYPE),
MAKE_INTRINSIC_0("collapse_thread", collapse_thread, SLANG_VOID_TYPE),
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis Cambridge, MA 02139-4307
Technical Details
Message-ID:
<slrn7jkkdm.ndp.davis@aluche.mit.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:
<slrn7jgna2.ctn.rvdberg@jupiter.strijp.Ehv.nl> <slrn7jgoem.i6v.davis@aluche.mit.edu> <37394CBE.A3D81DF1@ehv.sc.philips.com> <slrn7jit78.lba.davis@aluche.mit.edu> <3739988E.EED44497@ehv.sc.philips.com> <slrn7jjn6g.m02.davis@aluche.mit.edu> <slrn7jjvr5.1nf.tststs@starflower.tststs.ddns.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn7jkkdm.ndp.davis@aluche.mit.edu> Subject: Re: view complete threads in slrn, how? Date: Thu, 13 May 1999 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn7jgna2.ctn.rvdberg@jupiter.strijp.Ehv.nl> <slrn7jgoem.i6v.davis@aluche.mit.edu> <37394CBE.A3D81DF1@ehv.sc.philips.com> <slrn7jit78.lba.davis@aluche.mit.edu> <3739988E.EED44497@ehv.sc.philips.com> <slrn7jjn6g.m02.davis@aluche.mit.edu> <slrn7jjvr5.1nf.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!not-for-mail X-Deja-AN: 477284294 X-Complaints-To: usenet@eecs-usenet-02.mit.edu X-Trace: eecs-usenet-02.mit.edu 926568888 4707 18.75.2.45 (13 May 1999 04:14:48 GMT) Organization: Center for Space Research User-Agent: slrn/0.9.5.5 (UNIX) Reply-To: davis@space.mit.edu NNTP-Posting-Date: 13 May 1999 04:14:48 GMT Newsgroups: news.software.readers